Go to the source code of this file.
|
static av_cold void | vqc_init_static_data (void) |
|
static av_cold int | vqc_decode_init (AVCodecContext *avctx) |
|
static int | seed_pow1 (int x) |
|
static int | seed_pow2 (int x) |
|
static int | bias (int x, int c) |
|
static void | seed_codebooks (VqcContext *s, const int *seed) |
|
static int | decode_vectors (VqcContext *s, const uint8_t *buf, int size, int width, int height) |
|
static void | load_coeffs (VqcContext *s, const uint8_t *v, int width, int coeff_width) |
|
static void | transform1 (const int16_t *a, const int16_t *b, int16_t *dst, int width) |
|
static uint8_t | clip (int x) |
|
static void | transform2 (const int16_t *a, const int16_t *b, uint8_t *dst, int width) |
|
static void | decode_strip (VqcContext *s, uint8_t *dst, int stride, int width) |
|
static void | decode_frame (VqcContext *s, int width, int height) |
|
static int | vqc_decode_frame (AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | vqc_decode_end (AVCodecContext *avctx) |
|
◆ VECTOR_VLC_BITS
#define VECTOR_VLC_BITS 6 |
◆ anonymous enum
Enumerator |
---|
SKIP_3 | |
SKIP_4 | |
SKIP_5 | |
SKIP_6 | |
STOP_RUN | |
SIGNED_8BIT | |
SIGNED_6BIT | |
Definition at line 35 of file vqcdec.c.
◆ vqc_init_static_data()
static av_cold void vqc_init_static_data |
( |
void |
| ) |
|
|
static |
◆ vqc_decode_init()
◆ seed_pow1()
◆ seed_pow2()
◆ bias()
Definition at line 113 of file vqcdec.c.
Referenced by adpcm_ms_compress_sample(), apply_lpc(), block_sse(), categorize(), compress_alpha(), copyadd_block(), dct_quantize_TMPL(), dct_quantize_trellis_c(), decfloat(), decode_tile(), dnxhd_10bit_dct_quantize_444(), dot_dsp(), dss_sp_sf_synthesis(), dv_set_class_number_sd(), ff_convert_matrix(), ff_dct_quantize_c(), filter16_3x3(), filter16_5x5(), filter16_7x7(), filter16_column(), filter16_row(), filter_3x3(), filter_5x5(), filter_7x7(), filter_column(), filter_frame(), filter_row(), filter_slice(), hardthresh_c(), hexfloat(), init_thres2(), quantize(), seed_codebooks(), softthresh_c(), squared_diff_macroblock(), tile_do_block(), unpack_14(), yuv2rgb_full_1_template_lasx(), and yuv2rgb_full_1_template_lsx().
◆ seed_codebooks()
◆ decode_vectors()
◆ load_coeffs()
static void load_coeffs |
( |
VqcContext * |
s, |
|
|
const uint8_t * |
v, |
|
|
int |
width, |
|
|
int |
coeff_width |
|
) |
| |
|
static |
◆ transform1()
static void transform1 |
( |
const int16_t * |
a, |
|
|
const int16_t * |
b, |
|
|
int16_t * |
dst, |
|
|
int |
width |
|
) |
| |
|
static |
◆ clip()
static uint8_t clip |
( |
int |
x | ) |
|
|
static |
◆ transform2()
static void transform2 |
( |
const int16_t * |
a, |
|
|
const int16_t * |
b, |
|
|
uint8_t * |
dst, |
|
|
int |
width |
|
) |
| |
|
static |
◆ decode_strip()
static void decode_strip |
( |
VqcContext * |
s, |
|
|
uint8_t * |
dst, |
|
|
int |
stride, |
|
|
int |
width |
|
) |
| |
|
static |
◆ decode_frame()
◆ vqc_decode_frame()
◆ vqc_decode_end()
◆ vector_nbits
const uint8_t vector_nbits[] |
|
static |
Initial value:= {
2, 4, 4, 4, 4, 2, 4, 4,
6, 6, 6, 6, 6, 6, 6, 6
}
Definition at line 30 of file vqcdec.c.
Referenced by vqc_init_static_data().
◆ vector_symbols
const int8_t vector_symbols[] |
|
static |
◆ vector_vlc
◆ ff_vqc_decoder
Initial value:
Definition at line 428 of file vqcdec.c.