TextureDecodeBlock

Decodes texture BC4 blocks to the one-channel image.

Syntax

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

Parameters

pSrc

Pointer to the BC4 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 ippiTextureDecodeBlock is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).

This function decodes BC4 texture blocks pSrc to the one-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.