Decodes compressed RGB texture images.
IppStatus ippiTextureDecodeBlockToRGB_BC6_16u_C1C3R(const Ipp8u* pSrc, Ipp16u* pDst, Ipp32u dstStep, IppiSize roiSize);
IppStatus ippiTextureDecodeBlockToRGB_BC6_16s_C1C3R(const Ipp8u* pSrc, Ipp16s* pDst, Ipp32u dstStep, IppiSize roiSize);
pSrc |
Pointer to the source array of the encoded blocks. |
pDst |
Pointer to the destination image ROI. |
dstStep |
Distance in bytes between starts of consecutive lines in the destonation image. |
roiSize |
Size of the destination image ROI in pixels. |
The function ippiTextureDecodeBlockToRGB is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function decodes the source data pSrc and restores the RGB texture image pDst. Source data are the encoded blocks in BC6 format. You must ensure that the pSrc buffer contains enough compressed data. For the BC6 format (compression ratio 6:1) the size of one compressed block is 16 bytes.
Negative step values are not supported.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.