FFmpeg
4.0
|
Go to the source code of this file.
Macros | |
#define | DCT_TEMPLATE(blk, step, SOP, shift) |
#define | SOP_ROW(a) (((a) * (1U << 16)) + 0x2000) |
#define | SOP_COL(a) (((a) + 32) * (1U << 16)) |
Functions | |
void | ff_mss34_gen_quant_mat (uint16_t *qmat, int quality, int luma) |
Generate quantisation matrix for given quality. More... | |
void | ff_mss34_dct_put (uint8_t *dst, ptrdiff_t stride, int *block) |
Transform and output DCT block. More... | |
Variables | |
static const uint8_t | luma_quant [64] |
static const uint8_t | chroma_quant [64] |
Definition at line 87 of file mss34dsp.c.
Referenced by ff_mss34_dct_put().
Definition at line 88 of file mss34dsp.c.
Referenced by ff_mss34_dct_put().
Generate quantisation matrix for given quality.
qmat | destination matrix |
quality | quality setting (1-100) |
luma | generate quantisation matrix for luma or chroma |
Definition at line 48 of file mss34dsp.c.
Referenced by mss4_decode_frame(), and reset_coders().
Transform and output DCT block.
dst | output plane |
stride | output plane stride |
block | block to transform and output |
Definition at line 90 of file mss34dsp.c.
Referenced by decode_dct_block(), and mss4_decode_dct_block().
|
static |
Definition at line 26 of file mss34dsp.c.
Referenced by ff_mss34_gen_quant_mat().
|
static |
Definition at line 37 of file mss34dsp.c.
Referenced by ff_mss34_gen_quant_mat().