ReconstructPredFirstRow_JPEG

Reconstructs samples from the decoded differences between input samples and predictor for the first line.

Syntax

IppStatus ippiReconstructPredFirstRow_JPEG_16s_C1(const Ipp16s* pSrc, Ipp16s* pDst, int width, int P, int Pt);

Parameters

pSrc

Pointer to the row of decoded differences.

pDst

Pointer to the row of reconstructed samples.

width

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

P

Sample precision derived from JPEG frame header, varies from 2 to 16.

Pt

Point transformation parameter derived from JPEG scan header; its value should be 0 or a positive integer.

Description

The function ippiReconstructPredFirstRow_JPEG is declared in the ippj.h file. This function operates on the first row of decoded differences pSrc at the start of the scan and restart interval only. It reconstructs output samples pDst with the specified sample precision P adding decoded differences modulo 216 to the predictions. It also performs the point transformation with the specified parameter Pt.

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 P or Pt has an illegal value.

Submit feedback on this help topic

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