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 36 of file vqcdec.c.
◆ vqc_init_static_data()
| static av_cold void vqc_init_static_data |
( |
void | | ) |
|
|
static |
◆ vqc_decode_init()
◆ seed_pow1()
| static int seed_pow1 |
( |
int | x | ) |
|
|
static |
◆ seed_pow2()
| static int seed_pow2 |
( |
int | x | ) |
|
|
static |
◆ bias()
| static int bias |
( |
int | x, |
|
|
int | c ) |
|
static |
Definition at line 115 of file vqcdec.c.
Referenced by adpcm_ms_compress_sample(), apply_lpc(), block_sse(), categorize(), compress_alpha(), copyadd_block(), dct_quantize_c(), dct_quantize_trellis_c(), decfloat(), decode_tile(), dnxhd_10bit_dct_quantize_444(), dot_dsp(), dss_sp_sf_synthesis(), dv_set_class_number_hd(), dv_set_class_number_sd(), ff_convert_matrix(), ff_filter_3x3_sse4(), 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(), nmr_solve_group(), 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()
| static void seed_codebooks |
( |
VqcContext * | s, |
|
|
const int * | seed ) |
|
static |
◆ decode_vectors()
| static int decode_vectors |
( |
VqcContext * | s, |
|
|
const uint8_t * | buf, |
|
|
int | size, |
|
|
int | width, |
|
|
int | height ) |
|
static |
◆ 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()
| static void decode_frame |
( |
VqcContext * | s, |
|
|
int | width, |
|
|
int | height ) |
|
static |
◆ 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 31 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:= {
.p.name = "vqc",
}
static av_cold void close(AVCodecParserContext *s)
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
static int vqc_decode_frame(AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt)
static av_cold int vqc_decode_init(AVCodecContext *avctx)
static av_cold int vqc_decode_end(AVCodecContext *avctx)
Definition at line 433 of file vqcdec.c.