28 #include "libavutil/attributes.h"
29 #include "libavutil/avassert.h"
30 #include "libavutil/crc.h"
31 #include "libavutil/opt.h"
32 #include "libavutil/imgutils.h"
33 #include "libavutil/pixdesc.h"
93 for (j = 1; j < 256; j++) {
133 memcpy(fs, f,
sizeof(*fs));
int ffv1_allocate_initial_states(FFV1Context *f)
av_cold void ff_dsputil_init(DSPContext *c, AVCodecContext *avctx)
av_cold int ffv1_common_init(AVCodecContext *avctx)
AVFrame * avcodec_alloc_frame(void)
Allocate an AVFrame and set its fields to default values.
uint64_t(*[MAX_QUANT_TABLES] rc_stat2)[32][2]
FF Video Codec 1 (a lossless codec)
void av_freep(void *ptr)
Free a memory block which has been allocated with av_malloc(z)() or av_realloc() and set the pointer ...
uint8_t(*[MAX_QUANT_TABLES] initial_states)[32]
av_cold int ffv1_init_slice_state(FFV1Context *f, FFV1Context *fs)
high precision timer, useful to profile code
AVFrame * av_frame_alloc(void)
Allocate an AVFrame and set its fields to default values.
void av_frame_free(AVFrame **frame)
Free the frame and any dynamically allocated objects in it, e.g.
void ff_thread_release_buffer(AVCodecContext *avctx, ThreadFrame *f)
Wrapper around release_buffer() frame-for multithreaded codecs.
Libavcodec external API header.
int ac
1=range coder <-> 0=golomb rice
uint8_t state_transition[256]
int width
picture width / height.
void * av_malloc(size_t size) av_malloc_attrib 1(1)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
char * stats_out
pass1 encoding statistics output buffer
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]
#define AVERROR_INVALIDDATA
av_cold int ffv1_close(AVCodecContext *avctx)
struct FFV1Context * slice_context[MAX_SLICES]
uint8_t interlace_bit_state[2]
#define av_assert0(cond)
assert() equivalent, that is always enabled.
void * av_mallocz(size_t size) av_malloc_attrib 1(1)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...