FFmpeg
|
#include "libavutil/crc.h"
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
#include "mathops.h"
#include "put_bits.h"
#include "rangecoder.h"
#include "thread.h"
#include "ffv1_template.c"
Go to the source code of this file.
Data Structures | |
struct | VlcState |
struct | PlaneContext |
struct | FFV1Context |
Macros | |
#define | MAX_PLANES 4 |
#define | CONTEXT_SIZE 32 |
#define | MAX_QUANT_TABLES 8 |
#define | MAX_CONTEXT_INPUTS 5 |
#define | AC_GOLOMB_RICE 0 |
#define | AC_RANGE_DEFAULT_TAB 1 |
#define | AC_RANGE_CUSTOM_TAB 2 |
#define | AC_RANGE_DEFAULT_TAB_FORCE -2 |
#define | MAX_SLICES 1024 |
#define | TYPE int16_t |
#define | RENAME(name) name |
#define | TYPE int32_t |
#define | RENAME(name) name ## 32 |
Functions | |
int | ff_ffv1_common_init (AVCodecContext *avctx) |
int | ff_ffv1_init_slice_state (const FFV1Context *f, FFV1Context *fs) |
int | ff_ffv1_init_slices_state (FFV1Context *f) |
int | ff_ffv1_init_slice_contexts (FFV1Context *f) |
int | ff_ffv1_allocate_initial_states (FFV1Context *f) |
void | ff_ffv1_clear_slice_state (const FFV1Context *f, FFV1Context *fs) |
int | ff_ffv1_close (AVCodecContext *avctx) |
static av_always_inline int | fold (int diff, int bits) |
static void | update_vlc_state (VlcState *const state, const int v) |
FF Video Codec 1 (a lossless codec)
Definition in file ffv1.h.
int ff_ffv1_common_init | ( | AVCodecContext * | avctx | ) |
Definition at line 41 of file ffv1.c.
Referenced by decode_init(), and encode_init().
int ff_ffv1_init_slice_state | ( | const FFV1Context * | f, |
FFV1Context * | fs | ||
) |
Definition at line 66 of file ffv1.c.
Referenced by decode_slice(), and ff_ffv1_init_slices_state().
int ff_ffv1_init_slices_state | ( | FFV1Context * | f | ) |
Definition at line 105 of file ffv1.c.
Referenced by encode_init().
int ff_ffv1_init_slice_contexts | ( | FFV1Context * | f | ) |
Definition at line 116 of file ffv1.c.
Referenced by decode_init(), and encode_init().
int ff_ffv1_allocate_initial_states | ( | FFV1Context * | f | ) |
Definition at line 158 of file ffv1.c.
Referenced by encode_init(), and read_extra_header().
void ff_ffv1_clear_slice_state | ( | const FFV1Context * | f, |
FFV1Context * | fs | ||
) |
Definition at line 173 of file ffv1.c.
Referenced by decode_slice(), encode_slice(), and encode_slice_header().
int ff_ffv1_close | ( | AVCodecContext * | avctx | ) |
Definition at line 201 of file ffv1.c.
Referenced by encode_close().
|
static |
Definition at line 149 of file ffv1.h.
Referenced by encode_line_TMPL(), get_vlc_symbol(), and put_vlc_symbol().
Definition at line 160 of file ffv1.h.
Referenced by get_vlc_symbol(), and put_vlc_symbol().