96 for (j = 1; j < 256; j++) {
122 for (i = 0; i < max_slice_count;) {
135 memcpy(fs, f,
sizeof(*fs));
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
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.
#define fs(width, name, subs,...)
av_cold int ff_ffv1_common_init(AVCodecContext *avctx)
uint8_t(*[MAX_QUANT_TABLES] initial_states)[32]
Public header for CRC hash function implementation.
av_cold int ff_ffv1_close(AVCodecContext *avctx)
char * stats_out
pass1 encoding statistics output buffer
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.
int32_t * sample_buffer32
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]
uint8_t interlace_bit_state[2]
#define av_malloc_array(a, b)
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later.That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another.Frame references ownership and permissions
void * av_mallocz_array(size_t nmemb, size_t size)