FFmpeg
|
#include <stdint.h>
#include "libavutil/common.h"
#include "mss34dsp.h"
#include "jpegquanttables.h"
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... | |
Definition at line 43 of file mss34dsp.c.
Definition at line 66 of file mss34dsp.c.
Definition at line 67 of file mss34dsp.c.
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 27 of file mss34dsp.c.
Referenced by mss4_decode_frame(), and reset_coders().
void ff_mss34_dct_put | ( | uint8_t * | dst, |
ptrdiff_t | stride, | ||
int * | block | ||
) |
Transform and output DCT block.
dst | output plane |
stride | output plane stride |
block | block to transform and output |
Definition at line 69 of file mss34dsp.c.
Referenced by decode_dct_block(), and mss4_decode_dct_block().