|
FFmpeg
|
#include <assert.h>#include <stdint.h>#include <stdatomic.h>#include "apv.h"#include "apv_dsp.h"#include "cbs_apv.h"#include "cbs.h"#include "get_bits.h"#include "libavutil/frame.h"Go to the source code of this file.
Data Structures | |
| struct | APVSingleVLCLUTEntry |
| struct | APVMultiVLCLUTEntry |
| struct | APVVLCLUT |
| struct | APVEntropyState |
| struct | APVDerivedTileInfo |
| struct | APVDecodeContext |
Macros | |
| #define | APV_VLC_LUT_BITS 9 |
| #define | APV_VLC_LUT_SIZE (1 << APV_VLC_LUT_BITS) |
| #define | APV_TABLE_INDEX(type, k_run, k_level) |
| #define | APV_ENTROPY_COEFF_SIZE 65 |
Enumerations | |
| enum | { APV_ENTROPY_RUN_FIRST = 0 , APV_ENTROPY_LEVEL_FIRST = 1 } |
Functions | |
| void | ff_apv_entropy_build_decode_lut (APVVLCLUT *decode_lut) |
| Build the decoder VLC look-up tables. | |
| int | ff_apv_entropy_decode_block (int16_t *restrict coeff, GetBitContext *restrict gbc, APVEntropyState *restrict state) |
| Entropy decode a single 8x8 block to coefficients. | |
Variables | |
| APVVLCLUT | ff_apv_decode_lut |
| #define APV_VLC_LUT_BITS 9 |
Definition at line 38 of file apv_decode.h.
Referenced by apv_entropy_decode_block_internal(), apv_read_vlc(), and ff_apv_entropy_build_decode_lut().
| #define APV_VLC_LUT_SIZE (1 << APV_VLC_LUT_BITS) |
Definition at line 39 of file apv_decode.h.
Referenced by apv_entropy_decode_block_internal(), and ff_apv_entropy_build_decode_lut().
| #define APV_TABLE_INDEX | ( | type, | |
| k_run, | |||
| k_level ) |
Definition at line 89 of file apv_decode.h.
Referenced by apv_entropy_decode_block_internal(), and ff_apv_entropy_build_decode_lut().
| #define APV_ENTROPY_COEFF_SIZE 65 |
Definition at line 110 of file apv_decode.h.
Referenced by apv_decode_block(), and test_apv_entropy_decode_block().
| anonymous enum |
| Enumerator | |
|---|---|
| APV_ENTROPY_RUN_FIRST | |
| APV_ENTROPY_LEVEL_FIRST | |
Definition at line 81 of file apv_decode.h.
| 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().
| 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().
|
extern |
Definition at line 48 of file apv_decode.c.
Referenced by apv_decode_tile_component(), and apv_entropy_build_decode_lut().