FFmpeg
Functions
mss34dsp.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

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...
 

Function Documentation

◆ ff_mss34_gen_quant_mat()

void ff_mss34_gen_quant_mat ( uint16_t *  qmat,
int  quality,
int  luma 
)

Generate quantisation matrix for given quality.

Parameters
qmatdestination matrix
qualityquality setting (1-100)
lumagenerate quantisation matrix for luma or chroma

Definition at line 48 of file mss34dsp.c.

Referenced by mss4_decode_frame(), and reset_coders().

◆ ff_mss34_dct_put()

void ff_mss34_dct_put ( uint8_t *  dst,
ptrdiff_t  stride,
int block 
)

Transform and output DCT block.

Parameters
dstoutput plane
strideoutput plane stride
blockblock to transform and output

Definition at line 90 of file mss34dsp.c.

Referenced by decode_dct_block(), and mss4_decode_dct_block().