92 for (j = 1; j < 256; j++) {
132 memcpy(fs, f,
sizeof(*fs));
int ffv1_allocate_initial_states(FFV1Context *f)
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
av_cold int ffv1_common_init(AVCodecContext *avctx)
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.
uint8_t(*[MAX_QUANT_TABLES] initial_states)[32]
av_cold int ffv1_init_slice_state(FFV1Context *f, FFV1Context *fs)
char * stats_out
pass1 encoding statistics output buffer
high precision timer, useful to profile code
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.
simple assert() macros that are a bit more flexible than ISO C assert().
Libavcodec external API header.
int ac
1=range coder <-> 0=golomb rice
uint8_t state_transition[256]
int width
picture width / height.
av_cold int ffv1_init_slice_contexts(FFV1Context *f)
int context_count[MAX_QUANT_TABLES]
main external API structure.
void ffv1_clear_slice_state(FFV1Context *f, FFV1Context *fs)
av_cold int ffv1_init_slices_state(FFV1Context *f)
common internal api header.
uint8_t(* state)[CONTEXT_SIZE]
PlaneContext plane[MAX_PLANES]
av_cold int ffv1_close(AVCodecContext *avctx)
struct FFV1Context * slice_context[MAX_SLICES]
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 ...