Add128_JPEG

Level shift from signed 16s to unsigned 8u

Supported Technologies

SSE2

Synopsis

FwStatus   fwiAdd128_JPEG_16s8u_C1R ( const Fw16s * pSrcint srcStepFw8u * pDstint dstStepFwiSize roiSize );

Parameters

dstStep   Destination buffer step size (width of the buffer in bytes).
pDst   Pointer to a location in a destination buffer.
pSrc   Pointer to a location in a source buffer.
roiSize   Specifies the height and width of an ROI.
srcStep   Source buffer step size (width of the buffer in bytes).

Description

This function steps through a block of signed 16-bit data with values in the range [-128, 127] in a source buffer, converts the source data to 8-bit unsigned values in the range [0, 255], and writes the converted data to a destination buffer.