YCrCb420ToYCbCr422_5MBDV, YCrCb420ToYCbCr422_ZoomOut2_5MBDV, YCrCb420ToYCbCr422_ZoomOut4_5MBDV, YCrCb420ToYCbCr422_ZoomOut8_5MBDV

Convert five YCrCb420 macroblocks into YCrCb422 macroblocks.

Syntax

IppStatus ippiYCrCb420ToYCbCr422_5MBDV_16s8u_P3C2R(const Ipp16s* pSrc[5], Ipp8u* pDst[5], int dstStep);

IppStatus ippiYCrCb420ToYCbCr422_ZoomOut2_5MBDV_16s8u_P3C2R(const Ipp16s* pSrc[5], Ipp8u* pDst[5], int dstStep);

IppStatus ippiYCrCb420ToYCbCr422_ZoomOut4_5MBDV_16s8u_P3C2R(const Ipp16s* pSrc[5], Ipp8u* pDst[5], int dstStep);

IppStatus ippiYCrCb420ToYCbCr422_ZoomOut8_5MBDV_16s8u_P3C2R(const Ipp16s* pSrc[5], Ipp8u* pDst[5], int dstStep);

Parameters

pSrc

Array of pointers to the five source macroblocks.

pDst

Array of pointers to the five destination macroblocks.

dstStep

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

Description

These functions are declared in the ippvc.h header file. The functions convert YCrCb420 macroblocks to YCbCr422 macroblocks, that is, they transfer the five macroblocks of uncompressed DV data after IDCT processing from the internal format YUV420 (PAL format) to the destination buffer in YUY2 format with saturation.

The function ippiYCrCb420ToYCbCr422_ZoomOut2_5MBDV_16s8u_P3C2R also reduces the size of the destination image by 2 times, ippiYCrCb420ToYCbCr422_ZoomOut4_5MBDV_16s8u_P3C2R - by 4 times, and ippiYCrCb420ToYCbCr422_ZoomOut8_5MBDV_16s8u_P3C2R - by 8 times.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when at least one of the pointers is NULL.


Submit feedback on this help topic

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