Inverse inter frame quantization (MPEG-2)
SSE2
FwStatus | fwiQuantInv_MPEG2_16s_C1I | ( | Fw16s * pSrcDst, int QP, Fw16s * pQPMatrix ); |
QP | Quantizer scale factor read from the bitstream. | |
pQPMatrix | Pointer to a standard or user-defined weighting matrix. | |
pSrcDst | Pointer to the start of the block. |
This function performs inverse quantization of inter frames in accordance with the MPEG-2 standard.
The 8x8 matrix of DCT coefficients in pSrcDst are first multiplied by Qp, the quantizing scale factor, and then by the corresponding elements of the 8x8 pQPMatrix. The function also performs saturation and mismatch control in accordance with the MPEG-2 standard.