<?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: Color conversion from YUV422 to RGB565 in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874487#M9336</link>
    <description>&lt;P&gt;Thanks for updating. What oter parts (if any) of media sample you want to use in your application? How do you find IPP media sample functionality and performance?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Thu, 29 Mar 2007 22:45:29 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2007-03-29T22:45:29Z</dc:date>
    <item>
      <title>Color conversion from YUV422 to RGB565</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874485#M9334</link>
      <description>&lt;P class="MsoNormal"&gt;Hello,&lt;/P&gt;

&lt;P class="MsoNormal"&gt;Im new to IPP and Im using evaluation version to see if it
will be suitable for our purpose. From what I have heard and readied it will easily
fit needs of my company. Right now I want to test most important thing at
current stage which is color space conversion. I need to convert YUV422 data to
RGB565 in order to deinterlace it and display it on the screen. To do this Im
using UMC::ColorSpaceConverter from media samples. Unfortunately Im getting
strange result. Image is not correctly transform: image seams to be squeezed by
half vertical size and lower part of it seams to be some sort of ghost or artefact
from main image. Can someone point me what am I doing wrong here? Here is my
sample of conversion:&lt;/P&gt;













































































&lt;P class="MsoNormal"&gt;void InitConversion()&lt;BR /&gt;{&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;ippStaticInit();&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionInfo.FormatSource
= UMC::YUV422;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionInfo.FormatDest
= UMC::RGB565;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionInfo.SizeSource.width
= XDIM;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionInfo.SizeSource.height
= YDIM;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionInfo.SizeDest.width
= XDIM;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionInfo.SizeDest.height
= YDIM;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionInfo.lFlags
= UMC::FLAG_CCNV_CONVERT;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionInfo.lDeinterlace
= 0;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionInfo.lInterpolation
= 1;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;ippResult =
colorConverter.Init( colorConversionInfo );&lt;BR /&gt;   &lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;planeY =
new unsigned char [XDIM * YDIM];&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;planeU =
new unsigned char [XDIM / 2 * YDIM];&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;planeV =
new unsigned char [XDIM / 2 * YDIM];&lt;BR /&gt;}&lt;P&gt; &lt;/P&gt;&lt;BR /&gt;void DrawImage()&lt;BR /&gt;{&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;         &lt;BR /&gt;&lt;SPAN style=""&gt;&amp;amp;n
bsp; &lt;/SPAN&gt;colorConversionParams.lpSource0
= planeY;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.lpSource1
= planeV;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.lpSource2
= planeU;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.PitchSource0
= XDIM * 2;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.PitchSource1
= XDIM/2;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.PitchSource2
= XDIM/2;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.lpDest0
= testBuf;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.lpDest1
= 0;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.lpDest2
= 0;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.PitchDest0
= XDIM * 2;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.PitchDest1
= 0;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.PitchDest2
= 0;&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;colorConversionParams.ConversionInit
= colorConversionInfo;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style=""&gt;&amp;amp;nb
sp; &lt;/SPAN&gt;UMC::Status
ippStatus = colorConverter.ConvertFrame( &amp;amp;colorConversionParams );&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;if(
ippStatus == UMC::UMC_OK )&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;{&lt;/P&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;//
draw image&lt;BR /&gt;&lt;SPAN style=""&gt; &lt;/SPAN&gt;&lt;BR /&gt;         }&lt;BR /&gt;         &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;















&lt;P class="MsoNormal"&gt;}&lt;/P&gt;I have also attached image sample from conversion.&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;



&lt;P class="MsoNormal"&gt;Regards,&lt;BR /&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2007 18:15:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874485#M9334</guid>
      <dc:creator>phoenixpl</dc:creator>
      <dc:date>2007-03-27T18:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Color conversion from YUV422 to RGB565</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874486#M9335</link>
      <description>&lt;P&gt;I've found a solution. Unfortunately I've made a type and source0 pitch was multiplited by 2 instead of living original image width. Sorry about that.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2007 10:32:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874486#M9335</guid>
      <dc:creator>phoenixpl</dc:creator>
      <dc:date>2007-03-28T10:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Color conversion from YUV422 to RGB565</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874487#M9336</link>
      <description>&lt;P&gt;Thanks for updating. What oter parts (if any) of media sample you want to use in your application? How do you find IPP media sample functionality and performance?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2007 22:45:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874487#M9336</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-03-29T22:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Color conversion from YUV422 to RGB565</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874488#M9337</link>
      <description>&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;Hello Vladimir,&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;Media sample is quite interesting, but I can see that it is not fully finished. I like what you have done with color space conversion and image resizing, but as I browsed through sources I see that a lot of functions are missing (especially for RGB24). Also I like your encoder/decoder samples. They help a lot in estimating how to use IPP. Performance is quite good, but it would be good if you would add some sort of default settings for encoder. Right now I had to put every single option manually and for people that dont know how to set it up its enormous and sometimes impossible job. Overall its a good sample that can be easily converted and used by users.&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;Regards,&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2007 07:13:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874488#M9337</guid>
      <dc:creator>phoenixpl</dc:creator>
      <dc:date>2007-04-03T07:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Color conversion from YUV422 to RGB565</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874489#M9338</link>
      <description>&lt;P&gt;Hi, Peter, &lt;/P&gt;
&lt;P&gt;Thanks for the valuable feedback. For the RGB24 format, could you specify what kind of functions you want to add? We can put it in our product requirement system, so our engineering will consider it in our future release. &lt;/P&gt;
&lt;P&gt;Regards, &lt;BR /&gt;Chao Y.&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2007 06:41:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Color-conversion-from-YUV422-to-RGB565/m-p/874489#M9338</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2007-04-04T06:41:45Z</dc:date>
    </item>
  </channel>
</rss>

