98 for (j = 1; j < 256; j++) {
138 memcpy(fs, f,
sizeof(*fs));
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
uint64_t(*[MAX_QUANT_TABLES] rc_stat2)[32][2]
FF Video Codec 1 (a lossless codec)
Macro definitions for various function/variable attributes.
#define av_assert0(cond)
assert() equivalent, that is always enabled.
AVFrame * av_frame_alloc(void)
Allocate an AVFrame and set its fields to default values.
av_cold int ff_ffv1_common_init(AVCodecContext *avctx)
uint8_t(*[MAX_QUANT_TABLES] initial_states)[32]
av_cold int ff_ffv1_close(AVCodecContext *avctx)
char * stats_out
pass1 encoding statistics output buffer
high precision timer, useful to profile code
av_cold int ff_ffv1_init_slices_state(FFV1Context *f)
void ff_thread_release_buffer(AVCodecContext *avctx, ThreadFrame *f)
Wrapper around release_buffer() frame-for multithreaded codecs.
void av_frame_free(AVFrame **frame)
Free the frame and any dynamically allocated objects in it, e.g.
int flags
AV_CODEC_FLAG_*.
simple assert() macros that are a bit more flexible than ISO C assert().
int ff_ffv1_allocate_initial_states(FFV1Context *f)
int ac
1=range coder <-> 0=golomb rice
#define AC_RANGE_CUSTOM_TAB
uint8_t state_transition[256]
int width
picture width / height.
av_cold int ff_ffv1_init_slice_contexts(FFV1Context *f)
av_cold int ff_ffv1_init_slice_state(FFV1Context *f, FFV1Context *fs)
int context_count[MAX_QUANT_TABLES]
Libavcodec external API header.
main external API structure.
common internal api header.
void ff_ffv1_clear_slice_state(FFV1Context *f, FFV1Context *fs)
uint8_t(* state)[CONTEXT_SIZE]
PlaneContext plane[MAX_PLANES]
struct FFV1Context * slice_context[MAX_SLICES]
static void * av_mallocz_array(size_t nmemb, size_t size)
uint8_t interlace_bit_state[2]
#define av_malloc_array(a, b)
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...