YCbCrToBGR_JPEG

Converts an YCbCr image to the BGR color model.

Syntax

IppStatus ippiYCbCrToBGR_JPEG_8u_P3C3R(const Ipp8u* pSrc[3], int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize);

IppStatus ippiYCbCrToBGR_JPEG_8u_P3C4R(const Ipp8u* pSrc[3], int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize);

Parameters

pSrc

Array of pointers to the ROI in each plane of the source image.

srcStep

Distance in bytes between starts of consecutive lines in planes of the source image.

pDst

Pointer to the destination image ROI.

dstStep

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

roiSize

Size of the source and destination ROI in pixels.

aval

Constant value to create the fourth channel.

Description

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

This function converts an YCbCr image to the BGR image using the same formulas as the ippiYCbCrToRGB_JPEG function for computing B, G, and R component values.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if any of the specified pointers is NULL.

ippStsSizeErr

Indicates an error condition if roiSize has a field with zero or negative value.

ippStsStepErr

Indicates an error condition if srcStep or dstStep has a zero or negative value.

Submit feedback on this help topic

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