<?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: gray-scale decoding in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/gray-scale-decoding/m-p/863881#M8108</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/404334"&gt;martin&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Since all video codecs are in YUV/YCbCr format and the Y luminance is in separate macroblocks and has its own motion vectors, wouldn't it be simple to just ignore the CbCr chrominance at the decoder level, and output only the Y plane? If grayscale output was requested, the decoder could treat the video as being encoded with a single component in the first place. This would be much faster than decoding YCbCr, converting to RGB then back to grayscale. &lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Good idea! Yes, to onlyoutput the Y plane should be faster, simplerand more straightforward.It may need some works to modify decoder codeto decode Y plane only. If consideringaddthe grayscale support in color_space_converterproject, it is not necessary to convert to RGB then back to grayscale.Just copy the Y component to required output shoud be ok.&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Ying</description>
    <pubDate>Wed, 15 Apr 2009 02:36:39 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2009-04-15T02:36:39Z</dc:date>
    <item>
      <title>gray-scale decoding</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/gray-scale-decoding/m-p/863878#M8105</link>
      <description>&lt;P&gt;hi everybody...&lt;BR /&gt;i'm in programming a video decoder. input are coded video-files and output should be single decoded image-files. so far it works well, butnow i would like to havethe output files in gray-scale format. &lt;BR /&gt;&lt;BR /&gt;i created a FWVideoRender-Object and set colorformat to GRAY:&lt;BR /&gt;&lt;BR /&gt;---&amp;gt; params.out_data_template.Init(video_info-&amp;gt;clip_info.width, video_info-&amp;gt;clip_info.height, GRAY);&lt;BR /&gt;&lt;BR /&gt;when i init the VideoRender i geta UMC_ERR_NOT_IMPLEMENTED - error.&lt;BR /&gt;&lt;BR /&gt;so is there any other possibility to do this?&lt;BR /&gt;&lt;BR /&gt;bye...&lt;BR /&gt;michael&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2009 11:18:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/gray-scale-decoding/m-p/863878#M8105</guid>
      <dc:creator>mikl_la</dc:creator>
      <dc:date>2009-04-08T11:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: gray-scale decoding</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/gray-scale-decoding/m-p/863879#M8106</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Hello&lt;/DIV&gt;
&lt;BR /&gt;Are youlooking at UMC:simple_playersample, right? &lt;BR /&gt;See fromthe readme.htm file of simple_player sample, it only supports the following foramt,&lt;BR /&gt;&lt;BR /&gt;-f&lt;YV12&gt; select video render color format &lt;BR /&gt;&lt;BR /&gt;So the color format gray is not implemented. But it is possible to add such implementation.The project color_space_converter provideallcolor conversion support in simple_player. So you may addthe conversion fromYUV to GRAY there, bycall IPP color conversionfunction listed in ippiman.pdf, such as ippiYCbCr420ToBGR_8u_P3C3R, then ippiRGBToGrayGray(). &lt;BR /&gt;&lt;BR /&gt;Here is oneUMC KB artile &amp;lt;&lt;A href="http://software.intel.com/en-us/articles/getting-started-with-intel-ipp-unified-media-classes-sample/"&gt;http://software.intel.com/en-us/articles/getting-started-with-intel-ipp-unified-media-classes-sample/&lt;/A&gt;&amp;gt;. It provides several simple source code for your reference.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ying&lt;/YV12&gt;</description>
      <pubDate>Thu, 09 Apr 2009 05:43:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/gray-scale-decoding/m-p/863879#M8106</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-04-09T05:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: gray-scale decoding</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/gray-scale-decoding/m-p/863880#M8107</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
Since all video codecs are in YUV/YCbCr format and the Y luminance is in separate macroblocks and has its own motion vectors, wouldn't it be simple to just ignore the CbCr chrominance at the decoder level, and output only the Y plane? If grayscale output was requested, the decoder could treat the video as being encoded with a single component in the first place. This would be much faster than decoding YCbCr, converting to RGB then back to grayscale. &lt;BR /&gt;</description>
      <pubDate>Thu, 09 Apr 2009 18:16:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/gray-scale-decoding/m-p/863880#M8107</guid>
      <dc:creator>Martin_B_4</dc:creator>
      <dc:date>2009-04-09T18:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: gray-scale decoding</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/gray-scale-decoding/m-p/863881#M8108</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/404334"&gt;martin&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Since all video codecs are in YUV/YCbCr format and the Y luminance is in separate macroblocks and has its own motion vectors, wouldn't it be simple to just ignore the CbCr chrominance at the decoder level, and output only the Y plane? If grayscale output was requested, the decoder could treat the video as being encoded with a single component in the first place. This would be much faster than decoding YCbCr, converting to RGB then back to grayscale. &lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Good idea! Yes, to onlyoutput the Y plane should be faster, simplerand more straightforward.It may need some works to modify decoder codeto decode Y plane only. If consideringaddthe grayscale support in color_space_converterproject, it is not necessary to convert to RGB then back to grayscale.Just copy the Y component to required output shoud be ok.&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Ying</description>
      <pubDate>Wed, 15 Apr 2009 02:36:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/gray-scale-decoding/m-p/863881#M8108</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-04-15T02:36:39Z</dc:date>
    </item>
  </channel>
</rss>

