Performs forward JPEG-XR core transform.
IppStatus ippiPCTFwd_JPEGXR_16s_C1IR(Ipp16s* pSrcDst, Ipp32u srcDstStep, IppiSize roiSize);
IppStatus ippiPCTFwd16x16_JPEGXR_16s_C1IR(Ipp16s* pSrcDst, Ipp32u srcDstStep);
IppStatus ippiPCTFwd8x16_JPEGXR_16s_C1IR(Ipp16s* pSrcDst, Ipp32u srcDstStep);
IppStatus ippiPCTFwd8x8_JPEGXR_16s_C1IR(Ipp16s* pSrcDst, Ipp32u srcDstStep);
IppStatus ippiPCTFwd_JPEGXR_32s_C1IR(Ipp32s* pSrcDst, Ipp32u srcDstStep, IppiSize roiSize);
IppStatus ippiPCTFwd16x16_JPEGXR_32s_C1IR(Ipp32s* pSrcDst, Ipp32u srcDstStep);
IppStatus ippiPCTFwd8x16_JPEGXR_32s_C1IR(Ipp32s* pSrcDst, Ipp32u srcDstStep);
IppStatus ippiPCTFwd8x8_JPEGXR_32s_C1IR(Ipp32s* pSrcDst, Ipp32u srcDstStep);
IppStatus ippiPCTFwd_JPEGXR_32f_C1IR(Ipp32f* pSrcDst, Ipp32u srcDstStep, IppiSize roiSize);
IppStatus ippiPCTFwd16x16_JPEGXR_32f_C1IR(Ipp32f* pSrcDst, Ipp32u srcDstStep);
IppStatus ippiPCTFwd8x16_JPEGXR_32f_C1IR(Ipp32f* pSrcDst, Ipp32u srcDstStep);
IppStatus ippiPCTFwd8x8_JPEGXR_32f_C1IR(Ipp32f* pSrcDst, Ipp32u srcDstStep);
pSrcDst |
Pointer to the source and destination image ROI. |
srcDstStep |
Distance in bytes between starts of consecutive lines in the source image. |
roiSize |
Size of the source and destination image ROI in pixels. |
The functions ippiPCTFwd are declared in the ippj.h file. They operates with ROI (see Regions of Interest in Intel IPP).
The function ippiPCTFwd performs the forward core transform of integer data over all 4x4 blocks of pixels within the given ROI in the source image.
The function flavors ippiPCTFwd16x16_JPEGXR, ippiPCTFwd8x16_JPEGXR and ippiPCTFwd8x8_JPEGXR operate on the 16x16, 8x16, and 8x8 macroblocks respectively. Their result is equivalent to the results of the function ippiPCTFwd_JPEGXR with roiSize equal to {16,16} , {8,16} and {8,8} respectively.
For the function flavors with the arbitrary ROI the value of srcDstStep must be at least sizeof(dataType) *roiSize.width.
JPEG-XR forward core transform consists of cascade of three elementary 2x2 transform operations: Hadamard transform, 1D rotation, and 2D rotation.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if pSrcDst pointer is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with zero or negative value, or if it is not a multiple of 4. |
ippStsStepErr |
Indicates an error if srcDstStep is less than sizeof(dataType) *roiSize.width for the function flavors with the arbitrary ROI. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.