<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi Chew,  in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiYCbCr420ToRGB-8u-P2C3R/m-p/939419#M17541</link>
    <description>Hi Chew, 

You may refer to IPPi manul page 208  to see the YCbCr420 2 plane format.  The width of Y and interlace UV is  same, so the step is same
Suppose your NV12 data are stored in to 2 plane . pYdata, and pUVData. 
const Ipp8u* pY = pYData; 
int pYStep = 640
pCbCr=pUVData
int CbCrStep=640

then as the &lt;A href="http://software.intel.com/en-us/forums/topic/333526" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/333526&lt;/A&gt;. do the conversion.  

And regarding the code sample, you can refer to ipp sample package, like in ipp image processing ippiDemo sample , ipp UMC sample, there are almost of kind of color conversion functions demo. 

Best Regards,
Ying 

Some code from &lt;A href="http://software.intel.com/en-us/forums/topic/333526" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/333526&lt;/A&gt; 

Const  Ipp8u* (pYUV[3]) = {0,0,0};
pYUV[0] = pData;
pYUV[1] = pYUV[0] + 1920*1080;

pYUV[2] = pYUV[1] + 1920*1080/4

int YUVStep[3] = {1920,960,960};

Int step;

IppiSize roi = {1920,1080};

Ipp8u* pBuf = ippiMalloc_8u_C3(1920,1080, &amp;amp;step);

ippiYUV420ToBGR_8u_P3C3R(pYUV, YUVStep, pBuf, step, roi};</description>
    <pubDate>Fri, 02 Nov 2012 06:58:12 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2012-11-02T06:58:12Z</dc:date>
    <item>
      <title>How to use ippiYCbCr420ToRGB_8u_P2C3R</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiYCbCr420ToRGB-8u-P2C3R/m-p/939418#M17540</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Based from this link (&lt;A href="http://software.intel.com/en-us/forums/topic/282021"&gt;http://software.intel.com/en-us/forums/topic/282021&lt;/A&gt;), I can use&amp;nbsp;ippiYCbCr420ToRGB_8u_P2C3R to convert NV12 to BGR but I can't find any sample code on how to use the API. Could someone give me a simple code snippet? Say a 640x480 NV12 frame to a BGR of the same size? I'm new to IPP (using 7.1 now). What I'm particularly unsure of are these:&amp;nbsp;const Ipp8u* pY, int pYStep, const Ipp8u* pCbCr, int CbCrStep parameters.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Chew&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2012 08:34:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiYCbCr420ToRGB-8u-P2C3R/m-p/939418#M17540</guid>
      <dc:creator>Chew_E_</dc:creator>
      <dc:date>2012-11-01T08:34:17Z</dc:date>
    </item>
    <item>
      <title>Hi Chew,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiYCbCr420ToRGB-8u-P2C3R/m-p/939419#M17541</link>
      <description>Hi Chew, 

You may refer to IPPi manul page 208  to see the YCbCr420 2 plane format.  The width of Y and interlace UV is  same, so the step is same
Suppose your NV12 data are stored in to 2 plane . pYdata, and pUVData. 
const Ipp8u* pY = pYData; 
int pYStep = 640
pCbCr=pUVData
int CbCrStep=640

then as the &lt;A href="http://software.intel.com/en-us/forums/topic/333526" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/333526&lt;/A&gt;. do the conversion.  

And regarding the code sample, you can refer to ipp sample package, like in ipp image processing ippiDemo sample , ipp UMC sample, there are almost of kind of color conversion functions demo. 

Best Regards,
Ying 

Some code from &lt;A href="http://software.intel.com/en-us/forums/topic/333526" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/333526&lt;/A&gt; 

Const  Ipp8u* (pYUV[3]) = {0,0,0};
pYUV[0] = pData;
pYUV[1] = pYUV[0] + 1920*1080;

pYUV[2] = pYUV[1] + 1920*1080/4

int YUVStep[3] = {1920,960,960};

Int step;

IppiSize roi = {1920,1080};

Ipp8u* pBuf = ippiMalloc_8u_C3(1920,1080, &amp;amp;step);

ippiYUV420ToBGR_8u_P3C3R(pYUV, YUVStep, pBuf, step, roi};</description>
      <pubDate>Fri, 02 Nov 2012 06:58:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiYCbCr420ToRGB-8u-P2C3R/m-p/939419#M17541</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2012-11-02T06:58:12Z</dc:date>
    </item>
    <item>
      <title>Hi Ying,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiYCbCr420ToRGB-8u-P2C3R/m-p/939420#M17542</link>
      <description>Hi Ying,

Thank you very much for you reply. Actually, I was expecting some sample codes from the evaluation download but the only sample in there was Life.zip which is kind of limited. I'm assuming now that these samples you mentioned are to be downloaded separately. I'll check that later.</description>
      <pubDate>Wed, 07 Nov 2012 09:27:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiYCbCr420ToRGB-8u-P2C3R/m-p/939420#M17542</guid>
      <dc:creator>Chew_E_</dc:creator>
      <dc:date>2012-11-07T09:27:26Z</dc:date>
    </item>
  </channel>
</rss>

