FFmpeg
|
FF Video Codec 1 (a lossless codec) More...
#include "libavutil/avassert.h"
#include "libavutil/crc.h"
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/timer.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 256 |
#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 (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 (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.
#define MAX_PLANES 4 |
Definition at line 50 of file ffv1.h.
Referenced by encode_rgb_frame_TMPL(), ff_draw_init(), ff_ffv1_init_slice_contexts(), and ff_snow_common_end().
#define CONTEXT_SIZE 32 |
Definition at line 51 of file ffv1.h.
Referenced by decode_slice(), decode_slice_header(), encode_slice_header(), ff_ffv1_clear_slice_state(), ff_ffv1_init_slice_state(), read_extra_header(), read_header(), read_quant_table(), write_extradata(), write_header(), and write_quant_table().
#define MAX_QUANT_TABLES 8 |
Definition at line 53 of file ffv1.h.
Referenced by read_extra_header().
#define AC_GOLOMB_RICE 0 |
Definition at line 56 of file ffv1.h.
Referenced by decode_line_TMPL(), decode_slice(), encode_frame(), encode_init(), encode_line_TMPL(), encode_slice(), ff_ffv1_clear_slice_state(), and ff_ffv1_init_slice_state().
#define AC_RANGE_DEFAULT_TAB 1 |
Definition at line 57 of file ffv1.h.
Referenced by encode_init().
#define AC_RANGE_CUSTOM_TAB 2 |
Definition at line 58 of file ffv1.h.
Referenced by encode_frame(), encode_init(), ff_ffv1_init_slice_state(), read_extra_header(), read_header(), write_extradata(), and write_header().
#define AC_RANGE_DEFAULT_TAB_FORCE -2 |
Definition at line 59 of file ffv1.h.
Referenced by encode_init().
#define TYPE int16_t |
Definition at line 204 of file ffv1.h.
Referenced by decode_rgb_frame_TMPL(), encode_rgb_frame_TMPL(), ff_spatial_idwt_init_TMPL(), horizontal_compose_daub97i_TMPL(), horizontal_compose_dd137i_TMPL(), horizontal_compose_dd97i_TMPL(), horizontal_compose_dirac53i_TMPL(), horizontal_compose_fidelityi_TMPL(), horizontal_compose_haar0i_TMPL(), horizontal_compose_haar1i_TMPL(), vertical_compose53iL0_TMPL(), vertical_compose_daub97iH0_TMPL(), vertical_compose_daub97iH1_TMPL(), vertical_compose_daub97iL0_TMPL(), vertical_compose_daub97iL1_TMPL(), vertical_compose_dd137iL0_TMPL(), vertical_compose_dd97iH0_TMPL(), vertical_compose_dirac53iH0_TMPL(), vertical_compose_fidelityiH0_TMPL(), vertical_compose_fidelityiL0_TMPL(), and vertical_compose_haar_TMPL().
Definition at line 205 of file ffv1.h.
Referenced by compute_imdct(), decode_init_static(), decode_line_TMPL(), decode_rgb_frame_TMPL(), encode_line_TMPL(), encode_rgb_frame_TMPL(), ff_spatial_idwt_init_TMPL(), get_mix_any_func_TMPL(), horizontal_compose_dirac53i_TMPL(), horizontal_compose_fidelityi_TMPL(), horizontal_compose_haar0i_TMPL(), horizontal_compose_haar1i_TMPL(), horizontal_compose_haari_TMPL(), huffman_decode(), mp_decode_frame(), postProcess_TMPL(), rgb2rgb_init_TMPL(), sws_init_swscale_TMPL(), uyvytoyuv420_TMPL(), uyvytoyuv422_TMPL(), yuv422ptouyvy_TMPL(), yuv422ptoyuy2_TMPL(), yuyvtoyuv420_TMPL(), yuyvtoyuv422_TMPL(), yv12touyvy_TMPL(), and yv12toyuy2_TMPL().
int ff_ffv1_common_init | ( | AVCodecContext * | avctx | ) |
Definition at line 42 of file ffv1.c.
Referenced by decode_init(), and encode_init().
int ff_ffv1_init_slice_state | ( | FFV1Context * | f, |
FFV1Context * | fs | ||
) |
Definition at line 67 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 106 of file ffv1.c.
Referenced by encode_init().
int ff_ffv1_init_slice_contexts | ( | FFV1Context * | f | ) |
Definition at line 117 of file ffv1.c.
Referenced by decode_init(), and encode_init().
int ff_ffv1_allocate_initial_states | ( | FFV1Context * | f | ) |
Definition at line 167 of file ffv1.c.
Referenced by encode_init(), and read_extra_header().
void ff_ffv1_clear_slice_state | ( | FFV1Context * | f, |
FFV1Context * | fs | ||
) |
Definition at line 182 of file ffv1.c.
Referenced by decode_slice(), encode_slice(), and encode_slice_header().
int ff_ffv1_close | ( | AVCodecContext * | avctx | ) |
Definition at line 210 of file ffv1.c.
Referenced by encode_close().
|
static |
Definition at line 151 of file ffv1.h.
Referenced by encode_line_TMPL(), get_vlc_symbol(), and put_vlc_symbol().
Definition at line 164 of file ffv1.h.
Referenced by get_vlc_symbol(), and put_vlc_symbol().