TextureDecodeBlockToRG

Decodes texture BC5 blocks to two-channel image.

Syntax

IppStatus ippiTextureDecodeBlockToRG_BC5_8u_C1C2R(const Ipp8u* pSrc, Ipp8u* pDst, Ipp32u dstStep, IppiSize roiSize);

Parameters

pSrc

Pointer to the BC5 encoded source data.

pDst

Pointer to the destination image.

dstStep

Distance in bytes between starts of consecutive lines in the destination image.

roiSize

Size of the destination ROI in pixels.

Description

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

This function decodes BC5 texture blocks pSrc to the two-channel image and stores result in pDst.

Return Values

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.

Submit feedback on this help topic

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