Encodes a texture image to the BC4 format.
IppStatus ippiTextureEncodeBlock_BC4_8u_C1R(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 ippiTextureEncodeBlock is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function encodes a one-channel texture image ROI pSrc to BC4 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.