FFmpeg
|
VP5 and VP6 compatible video decoder (common features) More...
#include "avcodec.h"
#include "get_bits.h"
#include "hpeldsp.h"
#include "bytestream.h"
#include "h264chroma.h"
#include "videodsp.h"
#include "vp3dsp.h"
#include "vp56dsp.h"
Go to the source code of this file.
Data Structures | |
struct | VP56Tree |
struct | VP56mv |
struct | VP56RangeCoder |
struct | VP56RefDc |
struct | VP56Macroblock |
struct | VP56Model |
struct | VP56Context |
Macros | |
#define | VP56_SIZE_CHANGE 1 |
#define | vp56_rac_get_prob vp56_rac_get_prob |
Typedefs | |
typedef void(* | VP56ParseVectorAdjustment )(VP56Context *s, VP56mv *vect) |
typedef void(* | VP56Filter )(VP56Context *s, uint8_t *dst, uint8_t *src, int offset1, int offset2, ptrdiff_t stride, VP56mv mv, int mask, int select, int luma) |
typedef int(* | VP56ParseCoeff )(VP56Context *s) |
typedef void(* | VP56DefaultModelsInit )(VP56Context *s) |
typedef void(* | VP56ParseVectorModels )(VP56Context *s) |
typedef int(* | VP56ParseCoeffModels )(VP56Context *s) |
typedef int(* | VP56ParseHeader )(VP56Context *s, const uint8_t *buf, int buf_size) |
Enumerations | |
enum | VP56Frame { VP56_FRAME_NONE =-1, VP56_FRAME_CURRENT = 0, VP56_FRAME_PREVIOUS = 1, VP56_FRAME_GOLDEN = 2, VP56_FRAME_GOLDEN2 = 3 } |
enum | VP56mb { VP56_MB_INTER_NOVEC_PF = 0, VP56_MB_INTRA = 1, VP56_MB_INTER_DELTA_PF = 2, VP56_MB_INTER_V1_PF = 3, VP56_MB_INTER_V2_PF = 4, VP56_MB_INTER_NOVEC_GF = 5, VP56_MB_INTER_DELTA_GF = 6, VP56_MB_INTER_4V = 7, VP56_MB_INTER_V1_GF = 8, VP56_MB_INTER_V2_GF = 9 } |
Variables | |
const uint8_t | ff_vp56_norm_shift [256] |
vp56 specific range coder implementation More... | |
VP5 and VP6 compatible video decoder (common features)
Definition in file vp56.h.
#define VP56_SIZE_CHANGE 1 |
Definition at line 71 of file vp56.h.
Referenced by ff_vp56_decode_frame(), vp5_parse_header(), and vp6_parse_header().
#define vp56_rac_get_prob vp56_rac_get_prob |
Definition at line 254 of file vp56.h.
Referenced by decode_block_coeffs_internal(), decode_coeffs_b_generic(), decode_mb_mode(), decode_mode(), decode_splitmvs(), read_mv_component(), vp5_parse_coeff(), vp5_parse_vector_adjustment(), vp6_parse_coeff(), vp6_parse_vector_adjustment(), vp8_rac_get(), vp8_rac_get_coeff(), and vp8_rac_get_tree().
enum VP56Frame |
enum VP56mb |
int ff_vp56_init | ( | AVCodecContext * | avctx, |
int | flip, | ||
int | has_alpha | ||
) |
Definition at line 752 of file vp56.c.
Referenced by vp5_decode_init(), and vp6_decode_init().
int ff_vp56_init_context | ( | AVCodecContext * | avctx, |
VP56Context * | s, | ||
int | flip, | ||
int | has_alpha | ||
) |
Definition at line 758 of file vp56.c.
Referenced by ff_vp56_init(), and vp6_decode_init().
int ff_vp56_free | ( | AVCodecContext * | avctx | ) |
Definition at line 811 of file vp56.c.
Referenced by ff_vp56_init_context(), and vp6_decode_free().
int ff_vp56_free_context | ( | VP56Context * | s | ) |
Definition at line 817 of file vp56.c.
Referenced by ff_vp56_free(), and vp6_decode_free().
Definition at line 34 of file vp56.c.
Referenced by vp5_parse_header(), and vp6_parse_header().
int ff_vp56_decode_frame | ( | AVCodecContext * | avctx, |
void * | data, | ||
int * | got_frame, | ||
AVPacket * | avpkt | ||
) |
int ff_vp56_init_range_decoder | ( | VP56RangeCoder * | c, |
const uint8_t * | buf, | ||
int | buf_size | ||
) |
Definition at line 40 of file vp56rac.c.
Referenced by decode_frame_header(), setup_partitions(), vp5_parse_header(), vp6_parse_header(), vp7_decode_frame_header(), vp8_decode_frame_header(), and vp9_decode_frame().
|
static |
Definition at line 230 of file vp56.h.
Referenced by vp56_rac_get(), vp56_rac_get_prob(), and vp56_rac_get_prob_branchy().
|
static |
|
static |
Definition at line 271 of file vp56.h.
Referenced by decode_block_coeffs(), decode_block_coeffs_internal(), decode_coeffs_b_generic(), decode_frame_header(), decode_mb_mode(), decode_mode(), decode_sb(), decode_splitmvs(), read_mv_component(), vp56_parse_mb_type(), vp56_parse_mb_type_models(), vp56_rac_get_tree(), vp5_parse_coeff(), vp5_parse_coeff_models(), vp5_parse_vector_adjustment(), vp5_parse_vector_models(), vp6_parse_coeff(), vp6_parse_coeff_models(), vp6_parse_vector_adjustment(), vp6_parse_vector_models(), vp78_update_pred16x16_pred8x8_mvc_probabilities(), vp78_update_probability_tables(), vp7_decode_mvs(), vp8_decode_mvs(), and vp9_decode_frame().
|
static |
Definition at line 289 of file vp56.h.
Referenced by vp56_parse_mb_type_models(), vp56_rac_gets(), vp5_parse_coeff(), vp5_parse_header(), vp6_parse_coeff(), vp6_parse_coeff_models(), and vp6_parse_header().
|
static |
Definition at line 308 of file vp56.h.
Referenced by decode_block_coeffs_internal(), decode_coeffs_b_generic(), decode_frame_header(), parse_segment_info(), update_lf_deltas(), update_prob(), update_refs(), vp78_update_pred16x16_pred8x8_mvc_probabilities(), vp7_decode_frame_header(), vp7_get_quants(), vp8_decode_frame_header(), vp8_rac_get_sint(), and vp8_rac_get_uint().
|
static |
Definition at line 313 of file vp56.h.
Referenced by vp56_decode_4mv(), vp56_parse_mb_type_models(), vp56_rac_gets_nn(), vp5_parse_header(), vp6_parse_coeff_models(), and vp6_parse_header().
|
static |
Definition at line 324 of file vp56.h.
Referenced by decode_frame_header(), parse_segment_info(), ref_to_update(), setup_partitions(), update_lf_deltas(), update_prob(), vp78_update_pred16x16_pred8x8_mvc_probabilities(), vp78_update_probability_tables(), vp7_decode_frame_header(), vp7_fade_frame(), vp7_get_quants(), vp8_decode_frame_header(), vp8_get_quants(), vp8_rac_get_nn(), and vp8_rac_get_sint().
|
static |
Definition at line 336 of file vp56.h.
Referenced by parse_segment_info(), and vp8_get_quants().
|
static |
Definition at line 352 of file vp56.h.
Referenced by vp5_parse_coeff_models(), vp5_parse_vector_models(), vp6_parse_coeff_models(), and vp6_parse_vector_models().
|
static |
Definition at line 358 of file vp56.h.
Referenced by vp78_update_pred16x16_pred8x8_mvc_probabilities().
|
static |
Definition at line 365 of file vp56.h.
Referenced by vp56_parse_mb_type(), vp56_parse_mb_type_models(), vp5_parse_coeff(), vp5_parse_vector_adjustment(), vp6_parse_coeff(), and vp6_parse_vector_adjustment().
|
static |
Definition at line 380 of file vp56.h.
Referenced by decode_intra4x4_modes(), decode_mb_mode(), decode_mode(), decode_sb(), ff_vp9_fill_mv(), and read_mv_component().
|
static |
Definition at line 393 of file vp56.h.
Referenced by decode_block_coeffs_internal().
const uint8_t ff_vp56_norm_shift[256] |
vp56 specific range coder implementation
Definition at line 25 of file vp56rac.c.
Referenced by vp56_rac_renorm().