CbYCr422ToYCbCr

Convert from CbYCr 4:2:2 to YCbCr 4:2:0

Supported Technologies

MT, SSE2, Family10h

Synopsis

FwStatus   fwiCbYCr422ToYCbCr420_8u_C2P3R ( const Fw8u * pSrcint srcStepFw8u * pDst[3]int dstStep[3]FwiSize roiSize );

Parameters

dstStep[3]   Destination three-channel planar buffer step size (array values define width of each plane in bytes).
pDst[3]   Pointer to a location in a three-channel planar destination buffer (array values point to a location in each plane).
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 an ROI in a source buffer, converts a 2-channel CbYCr color image with 4:2:2 chroma subsampling to a 2-channel YCbCr color image with 4:2:0 chroma subsampling, and writes the converted data to a destination buffer.