|
FFmpeg
|
Go to the source code of this file.
Functions | |
| static av_always_inline unsigned int | apv_read_vlc (GetBitContext *restrict gbc, int k_param, const APVVLCLUT *restrict lut) |
| void | ff_apv_entropy_build_decode_lut (APVVLCLUT *decode_lut) |
| Build the decoder VLC look-up tables. | |
| static av_always_inline int | apv_decode_long_run (GetBitContext *restrict gbc, uint32_t next_bits, int k_run, APVEntropyState *restrict state) |
| static av_always_inline int | apv_decode_long_level (GetBitContext *restrict gbc, uint32_t next_bits, int k_level, int *abs_level_out, int scan_pos, APVEntropyState *restrict state) |
| static av_always_inline int | apv_apply_multi_entry (int16_t *restrict coeff, GetBitContext *restrict gbc, const APVMultiVLCLUTEntry *ent, const uint8_t *zigzag, int *scan_pos_ptr, int type) |
| static av_always_inline int | apv_entropy_decode_block_internal (int16_t *restrict coeff, GetBitContext *restrict gbc, APVEntropyState *restrict state) |
| int | ff_apv_entropy_decode_block (int16_t *restrict coeff, GetBitContext *restrict gbc, APVEntropyState *restrict state) |
| Entropy decode a single 8x8 block to coefficients. | |
|
static |
Definition at line 26 of file apv_entropy.c.
Referenced by apv_entropy_decode_block(), apv_entropy_decode_block_internal(), ff_apv_entropy_build_decode_lut(), and test_apv_read_vlc().
| void ff_apv_entropy_build_decode_lut | ( | APVVLCLUT * | decode_lut | ) |
Build the decoder VLC look-up tables.
Definition at line 62 of file apv_entropy.c.
Referenced by apv_entropy_build_decode_lut(), test_apv_entropy_decode_block(), and test_apv_read_vlc().
|
static |
Definition at line 197 of file apv_entropy.c.
Referenced by apv_entropy_decode_block_internal().
|
static |
Definition at line 232 of file apv_entropy.c.
Referenced by apv_entropy_decode_block_internal().
|
static |
Definition at line 278 of file apv_entropy.c.
Referenced by apv_entropy_decode_block_internal().
|
static |
Definition at line 322 of file apv_entropy.c.
Referenced by ff_apv_entropy_decode_block().
| int ff_apv_entropy_decode_block | ( | int16_t *restrict | coeff, |
| GetBitContext *restrict | gbc, | ||
| APVEntropyState *restrict | state ) |
Entropy decode a single 8x8 block to coefficients.
Outputs nonzero coefficients only to the block row-major order (dezigzag is applied within the function). The first 64 elements of the output block must have been filled with zeroes before calling this function, and there must be space for APV_ENTROPY_COEFF_SIZE elements in total.
Definition at line 501 of file apv_entropy.c.
Referenced by apv_decode_block(), and test_apv_entropy_decode_block().