ReconstructPredRow_JPEG

Reconstructs samples from the decoded differences between input samples and predictor for all lines but the first.

Syntax

IppStatus ippiReconstructPredRow_JPEG_16s_C1(const Ipp16s* pSrc, const Ipp16s* pPrevRow, Ipp16s* pDst, int width, int predictor);

Parameters

pSrc

Pointer to the row of decoded differences.

pPrevRow

Pointer to the adjacent row of reconstructed samples just above the current row.

pDst

Pointer to the row of reconstructed samples.

width

Row width in elements (has always the same value for all rows).

predictor

Selected predictor, should be in the range [1, 7].

Description

The function ippiReconstructPredRow_JPEG is declared in the ippj.h file. This function operates on all rows of decoded differences pSrc except first rows at the start of the scan and restart interval. It reconstructs output samples pDst adding decoded differences modulo 216 to the predictions specified by the predictor parameters. The first sample of the row use the reconstructed sample from the row pPrevRow above as a predictor.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsSizeErr

Indicates an error condition if the width parameter has a negative value.

ippStsBadArgrErr

Indicates an error condition if predictor has an illegal value.

Submit feedback on this help topic

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