Chinese AVS video (AVS1-P2, JiZhun profile) decoder. More...
Go to the source code of this file.
Functions | |
static void | store_mvs (AVSContext *h) |
static void | mv_pred_direct (AVSContext *h, cavs_vector *pmv_fw, cavs_vector *col_mv) |
static void | mv_pred_sym (AVSContext *h, cavs_vector *src, enum cavs_block size) |
static int | get_ue_code (GetBitContext *gb, int order) |
kth-order exponential golomb code | |
static int | decode_residual_block (AVSContext *h, GetBitContext *gb, const struct dec_2dvlc *r, int esc_golomb_order, int qp, uint8_t *dst, int stride) |
decode coefficients from one 8x8 block, dequantize, inverse transform and add them to sample block | |
static void | decode_residual_chroma (AVSContext *h) |
static int | decode_residual_inter (AVSContext *h) |
static int | decode_mb_i (AVSContext *h, int cbp_code) |
static void | decode_mb_p (AVSContext *h, enum cavs_mb mb_type) |
static void | decode_mb_b (AVSContext *h, enum cavs_mb mb_type) |
static int | decode_slice_header (AVSContext *h, GetBitContext *gb) |
static int | check_for_slice (AVSContext *h) |
static int | decode_pic (AVSContext *h) |
static int | decode_seq_header (AVSContext *h) |
static void | cavs_flush (AVCodecContext *avctx) |
static int | cavs_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
Variables | |
static const uint8_t | mv_scan [4] |
static const uint8_t | cbp_tab [64][2] |
AVCodec | ff_cavs_decoder |
Chinese AVS video (AVS1-P2, JiZhun profile) decoder.
Definition in file cavsdec.c.
|
static |
|
static |
|
inlinestatic |
Definition at line 438 of file cavsdec.c.
Referenced by decode_pic().
|
static |
Definition at line 303 of file cavsdec.c.
Referenced by decode_pic().
|
static |
Definition at line 192 of file cavsdec.c.
Referenced by decode_pic().
|
static |
Definition at line 259 of file cavsdec.c.
Referenced by decode_pic().
|
static |
Definition at line 465 of file cavsdec.c.
Referenced by cavs_decode_frame().
|
static |
decode coefficients from one 8x8 block, dequantize, inverse transform and add them to sample block
r | pointer to 2D VLC table |
esc_golomb_order | escape codes are k-golomb with this order k |
qp | quantizer |
dst | location of sample block |
stride | line stride in frame buffer |
Definition at line 115 of file cavsdec.c.
Referenced by decode_mb_i(), decode_residual_chroma(), and decode_residual_inter().
|
inlinestatic |
Definition at line 154 of file cavsdec.c.
Referenced by decode_mb_i(), and decode_residual_inter().
|
inlinestatic |
Definition at line 163 of file cavsdec.c.
Referenced by decode_mb_b(), and decode_mb_p().
|
static |
Definition at line 613 of file cavsdec.c.
Referenced by cavs_decode_frame().
|
inlinestatic |
Definition at line 417 of file cavsdec.c.
Referenced by cavs_decode_frame(), and check_for_slice().
|
inlinestatic |
kth-order exponential golomb code
Definition at line 98 of file cavsdec.c.
Referenced by decode_residual_block().
|
inlinestatic |
Definition at line 62 of file cavsdec.c.
Referenced by decode_mb_b().
|
inlinestatic |
Definition at line 80 of file cavsdec.c.
Referenced by decode_mb_b().
|
inlinestatic |
Definition at line 55 of file cavsdec.c.
Referenced by decode_mb_p().
|
static |
Definition at line 38 of file cavsdec.c.
Referenced by decode_mb_i(), and decode_residual_inter().
AVCodec ff_cavs_decoder |