DCTQuantFwd8x8_JPEG

Performs forward DCT and quantization of an 8x8 block.

Syntax

IppStatus ippiDCTQuantFwd8x8_JPEG_16s_C1(const Ipp16s* pSrc, Ipp16s* pDst, const Ipp16u* pQuantFwdTable);

IppStatus ippiDCTQuantFwd8x8_JPEG_16s_C1I(Ipp16s* pSrcDst, const Ipp16u* pQuantFwdTable);

Parameters

pSrc

Pointer to the 8x8 block in the source image.

pDst

Pointer to the destination 8x8 block of the quantized DCT coefficients.

pSrcDst

Pointer to the source and destination 8x8 block for in-place operation.

pQuantFwdTable

Pointer to the quantization table for the encoder.

Description

The function ippiDCTQuantFwd8x8_JPEG is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).

This function performs a forward DCT and quantization of DCT coefficients.

The function uses a quantization table suitable for fast encoding. This table must be prepared using the function ippiQuantFwdTableInit_JPEG.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if any of the specified pointers is NULL.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.