<?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 Re: YUV 4:2:2 single-channel to multi-channel in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955477#M19031</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;take a look on these functions:&lt;/P&gt;
&lt;P&gt;/* ////////////////////////////////////////////////////////////////////////////&lt;BR /&gt;// Name: ippiJoin422_8u_P3C2R, ippiSplit422_8u_C2P3R&lt;BR /&gt;//&lt;BR /&gt;// Purpose: Convert form 422 plane image format to 2-channal pixel&lt;BR /&gt;// image format and vice versa.&lt;BR /&gt;//&lt;BR /&gt;// Return:&lt;BR /&gt;// ippStsNoErr Ok&lt;BR /&gt;// ippStsNullPtrErr One or more pointers are NULL&lt;BR /&gt;// ippStsStepErr One or more steps is less or equal zero&lt;BR /&gt;// ippStsSizeErr Width of first plain 422-image less then 2(4)&lt;BR /&gt;// or height equal zero&lt;BR /&gt;// ippStsStrideErr Step is less then width of image&lt;BR /&gt;//&lt;BR /&gt;// Arguments:&lt;BR /&gt;// pSrc[3] It is three pointers to source images&lt;BR /&gt;// srcStep[3] It is three steps for previous three images&lt;BR /&gt;// pDst[3] It is three pointers to destination images&lt;BR /&gt;// dstStep[3] It is three steps for previous three images&lt;BR /&gt;// pSrc The pointer to source image&lt;BR /&gt;// srcStep The step for source image&lt;BR /&gt;// pDst The pointer to destination image&lt;BR /&gt;// dstStep The step for destination image&lt;BR /&gt;// roiSize Size of ROI&lt;BR /&gt;*/&lt;BR /&gt;IPPAPI (IppStatus, ippiJoin422_8u_P3C2R, ( const Ipp8u* pSrc[3], int srcStep[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))&lt;BR /&gt;IPPAPI (IppStatus, ippiSplit422_8u_C2P3R, ( const Ipp8u* pSrc, int srcStep, Ipp8u* pDst[3], int dstStep[3], IppiSize roiSize))&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I think, it is what you are looking for&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 04 Jun 2004 21:47:42 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2004-06-04T21:47:42Z</dc:date>
    <item>
      <title>YUV 4:2:2 single-channel to multi-channel</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955476#M19030</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;I have a 4:2:2 YUV single plane image (YUYV....) and I want to convert itinto a 4:2:2 YUV separated planes(Y,U,V) image. &lt;/DIV&gt;
&lt;DIV&gt;How to do so? Using a masked copy?&lt;/DIV&gt;
&lt;DIV&gt;Thanks for your help,&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt;Andrea&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Jun 2004 21:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955476#M19030</guid>
      <dc:creator>a_avogadro</dc:creator>
      <dc:date>2004-06-04T21:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: YUV 4:2:2 single-channel to multi-channel</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955477#M19031</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;take a look on these functions:&lt;/P&gt;
&lt;P&gt;/* ////////////////////////////////////////////////////////////////////////////&lt;BR /&gt;// Name: ippiJoin422_8u_P3C2R, ippiSplit422_8u_C2P3R&lt;BR /&gt;//&lt;BR /&gt;// Purpose: Convert form 422 plane image format to 2-channal pixel&lt;BR /&gt;// image format and vice versa.&lt;BR /&gt;//&lt;BR /&gt;// Return:&lt;BR /&gt;// ippStsNoErr Ok&lt;BR /&gt;// ippStsNullPtrErr One or more pointers are NULL&lt;BR /&gt;// ippStsStepErr One or more steps is less or equal zero&lt;BR /&gt;// ippStsSizeErr Width of first plain 422-image less then 2(4)&lt;BR /&gt;// or height equal zero&lt;BR /&gt;// ippStsStrideErr Step is less then width of image&lt;BR /&gt;//&lt;BR /&gt;// Arguments:&lt;BR /&gt;// pSrc[3] It is three pointers to source images&lt;BR /&gt;// srcStep[3] It is three steps for previous three images&lt;BR /&gt;// pDst[3] It is three pointers to destination images&lt;BR /&gt;// dstStep[3] It is three steps for previous three images&lt;BR /&gt;// pSrc The pointer to source image&lt;BR /&gt;// srcStep The step for source image&lt;BR /&gt;// pDst The pointer to destination image&lt;BR /&gt;// dstStep The step for destination image&lt;BR /&gt;// roiSize Size of ROI&lt;BR /&gt;*/&lt;BR /&gt;IPPAPI (IppStatus, ippiJoin422_8u_P3C2R, ( const Ipp8u* pSrc[3], int srcStep[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))&lt;BR /&gt;IPPAPI (IppStatus, ippiSplit422_8u_C2P3R, ( const Ipp8u* pSrc, int srcStep, Ipp8u* pDst[3], int dstStep[3], IppiSize roiSize))&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I think, it is what you are looking for&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Jun 2004 21:47:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955477#M19031</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-06-04T21:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: YUV 4:2:2 single-channel to multi-channel</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955478#M19032</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Vladimir, I saw them: I'm using &lt;EM&gt;Split&lt;/EM&gt;() but I geta&lt;EM&gt;ippStsStrideErr&lt;/EM&gt; error.&lt;/P&gt;
&lt;P&gt;Ithink the reasonis thatmy U and V buffers have dimension of &lt;EM&gt;W/2&lt;/EM&gt; x &lt;EM&gt;H&lt;/EM&gt; (and so the "step" parameters is less than the width &lt;EM&gt;W&lt;/EM&gt;of the image).&lt;/P&gt;
&lt;P&gt;Do I have to change the dimensions to &lt;EM&gt;W&lt;/EM&gt; x &lt;EM&gt;H&lt;/EM&gt; for all the three planes?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Andrea&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2004 22:22:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955478#M19032</guid>
      <dc:creator>a_avogadro</dc:creator>
      <dc:date>2004-06-04T22:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: YUV 4:2:2 single-channel to multi-channel</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955479#M19033</link>
      <description>&lt;P&gt;There is piece of code to check the error conditions in this function&lt;/P&gt;
&lt;P&gt; /* test consistency */&lt;BR /&gt; IPP_BADARG_RET( ( roiSize.width &amp;gt; Step_Y), ippStsStrideErr);&lt;BR /&gt; IPP_BADARG_RET( ((roiSize.width &amp;gt;&amp;gt; 1) &amp;gt; Step_cB), ippStsStrideErr);&lt;BR /&gt; IPP_BADARG_RET( ((roiSize.width &amp;gt;&amp;gt; 1) &amp;gt; Step_cR), ippStsStrideErr);&lt;BR /&gt; IPP_BADARG_RET( ((roiSize.width &amp;lt;&amp;lt; 1) &amp;gt; srcStep), ippStsStrideErr);&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;So, you can see, ippStsStrideErr returned when roi.with is not in allowed range.&lt;/P&gt;
&lt;P&gt;Step is number of bytes between two adjacent raster lines. Note, source image here has twice more bytes than width (if you have no padding bytes).&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Jun 2004 22:47:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955479#M19033</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-06-04T22:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: YUV 4:2:2 single-channel to multi-channel</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955480#M19034</link>
      <description>&lt;P&gt;Hi Vladimir, I solved the problem: the &lt;EM&gt;srcstep &lt;/EM&gt;parameter has to be &lt;EM&gt;W * 2&lt;/EM&gt;, where &lt;EM&gt;W&lt;/EM&gt; is input image width.&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;Andrea&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Jun 2004 23:16:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955480#M19034</guid>
      <dc:creator>a_avogadro</dc:creator>
      <dc:date>2004-06-07T23:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: YUV 4:2:2 single-channel to multi-channel</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955481#M19035</link>
      <description>&lt;P&gt;Hi Andrea,&lt;/P&gt;
&lt;P&gt;Right, it is exactly what I was trying to say:)&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Jun 2004 23:38:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/YUV-4-2-2-single-channel-to-multi-channel/m-p/955481#M19035</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-06-07T23:38:24Z</dc:date>
    </item>
  </channel>
</rss>

