<?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: i.MX6 alpha blending usage in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-alpha-blending-usage/m-p/369579#M52715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Hi torus1000,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 14pt;"&gt;This option is configurable on the DP Common Configuration Sync Flow Register (Section 37 of the i.MX 6Dual/6Quad Applications Processor Reference Manual) on bit 11. You can actually change from using the full 0-255 range or using the 16-235 standard as you may see fit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Each &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;IPU can combine 40Mpixel/second so we have 80Mpixels/second tops when combining using both IPUs. Vivante GPU 2D engine can handle up to 117Mpixels/second. Also supports conversions in YUV to RGB Conversion:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;YUV data can be converted into 8-bit per component RGB format at the output of the cache only. Once converted, there is no way back to YUV format. GPU supports BT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;601 and BT. 709 YUV to RGB color conversion standards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;In BT. 601, the YUV to RGB conversion is done using the following approximation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;16 ≤ Y ≤ 235&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;16 ≤ U ≤ 240&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;16 ≤ V ≤ 240&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;A = Y – 16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; font-family: book antiqua,palatino;"&gt;B = U – 128&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino; font-size: 14pt;"&gt;C = V – 128&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino; font-size: 14pt;"&gt;R = clip(( 298*A + 410*C + 128) &amp;gt;&amp;gt; 8)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino; font-size: 14pt;"&gt;G = clip((298*A – 101*B – 209*C + 128) &amp;gt;&amp;gt; 8)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino; font-size: 14pt;"&gt;B = clip((298*A + 519*B + 128) &amp;gt;&amp;gt; 8)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; font-family: book antiqua,palatino;"&gt;The Y, U and V components are clamped prior to the conversion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino; font-size: 14pt;"&gt;Y is clamped between 16 and 235, inclusively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; font-family: book antiqua,palatino;"&gt;U and V are clamped between 16 and 240, inclusively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2015 19:04:49 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2015-02-16T19:04:49Z</dc:date>
    <item>
      <title>i.MX6 alpha blending usage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-alpha-blending-usage/m-p/369578#M52714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to use the IPU.IC for combining BG and FG. &lt;BR /&gt;We assume UYVY(BT.601) from BG and RGB565 from FG combined in the IC then output YUY2(BT.601).&lt;BR /&gt;The colorkey and global alpha value set to blend FG and BG but output looks corrupt. &lt;BR /&gt;We can see vertical stripe on screen and every odd(2nd) Y seemed always having wrong value.&lt;/P&gt;&lt;P&gt;For instance, in the data, we can see:&lt;BR /&gt;BG(UYVY):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80h 10h 80h 10h&lt;/P&gt;&lt;P&gt;FG(RGB565):&amp;nbsp;&amp;nbsp; 00h 00h 00h 00h&lt;BR /&gt;alpha is 0xff&lt;BR /&gt;result(YUY2): 10h 80h 00h 80h&amp;nbsp;&amp;nbsp; (our expectation is 0x10801080)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any ideas to fix this(2nd Y)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 06:29:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-alpha-blending-usage/m-p/369578#M52714</guid>
      <dc:creator>torus1000</dc:creator>
      <dc:date>2015-02-12T06:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 alpha blending usage</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-alpha-blending-usage/m-p/369579#M52715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Hi torus1000,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 14pt;"&gt;This option is configurable on the DP Common Configuration Sync Flow Register (Section 37 of the i.MX 6Dual/6Quad Applications Processor Reference Manual) on bit 11. You can actually change from using the full 0-255 range or using the 16-235 standard as you may see fit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Each &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;IPU can combine 40Mpixel/second so we have 80Mpixels/second tops when combining using both IPUs. Vivante GPU 2D engine can handle up to 117Mpixels/second. Also supports conversions in YUV to RGB Conversion:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;YUV data can be converted into 8-bit per component RGB format at the output of the cache only. Once converted, there is no way back to YUV format. GPU supports BT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;601 and BT. 709 YUV to RGB color conversion standards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;In BT. 601, the YUV to RGB conversion is done using the following approximation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;16 ≤ Y ≤ 235&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;16 ≤ U ≤ 240&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;16 ≤ V ≤ 240&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;A = Y – 16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; font-family: book antiqua,palatino;"&gt;B = U – 128&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino; font-size: 14pt;"&gt;C = V – 128&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino; font-size: 14pt;"&gt;R = clip(( 298*A + 410*C + 128) &amp;gt;&amp;gt; 8)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino; font-size: 14pt;"&gt;G = clip((298*A – 101*B – 209*C + 128) &amp;gt;&amp;gt; 8)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino; font-size: 14pt;"&gt;B = clip((298*A + 519*B + 128) &amp;gt;&amp;gt; 8)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; font-family: book antiqua,palatino;"&gt;The Y, U and V components are clamped prior to the conversion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino; font-size: 14pt;"&gt;Y is clamped between 16 and 235, inclusively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; font-family: book antiqua,palatino;"&gt;U and V are clamped between 16 and 240, inclusively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 19:04:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-alpha-blending-usage/m-p/369579#M52715</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2015-02-16T19:04:49Z</dc:date>
    </item>
  </channel>
</rss>

