Encodes a texture image to the BC5 format.
IppStatus ippiTextureEncodeBlockFromRG_BC5_8u_C2C1R(const Ipp8u* pSrc, Ipp32u srcStep, IppiSize roiSize, Ipp8u* pDst);
pSrc |
Pointer to the source image ROI. |
srcStep |
Distance in bytes between starts of consecutive lines in the source image. |
roiSize |
Size of the source and destination ROI in pixels. |
pDst |
Pointer to the destination image. |
The function ippiTextureEncodeBlockFromRG is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function encodes a two-channel texture image ROI pSrc to BC5 compression format and stores result in pDst.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if pSrc or pDst pointer is NULL. |
ippStsSizeErr |
Indicates an error condition if roiSize has a field with zero or negative value. |
ippStsStepErr |
Indicates an error condition if srcStep has a zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.