Transform and quantize with level shift
SSE2
FwStatus | fwiDCTQuantFwd8x8LS_JPEG_8u16s_C1R | ( | const Fw8u * pSrc, int srcStep, Fw16s * pDst, const Fw16u * pQuantFwdTable ); |
pDst | Pointer to a location in a destination buffer. | |
pQuantFwdTable | Pointer to the forward quantization table (encoder). | |
pSrc | Pointer to a location in a source buffer. | |
srcStep | Source buffer step size (width of the buffer in bytes). |
This function reads an 8X8 data block of 8-bit unsigned data in a source buffer, level-shifts the unsigned values to signed values, performs forward DCT and quantization, then writes the output data block to a destination buffer.