<?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: g2d_surface clarification in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/g2d-surface-clarification/m-p/752135#M117055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RICH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should be disp_width -1&amp;nbsp; and disp_ height -1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I strongly suggest to migrate your code to latest BSP,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jan 2018 17:14:45 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2018-01-02T17:14:45Z</dc:date>
    <item>
      <title>g2d_surface clarification</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/g2d-surface-clarification/m-p/752134#M117054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the i.mx_6_Graphics_User's_Guide:&lt;/P&gt;&lt;P&gt;Document Number: IMX6GRAPHICUG&lt;/P&gt;&lt;P&gt;Rev. L3.14.28_1.0.0-ga, 04/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The g2d_surface components are described on page 7:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;left Int Left offset in blit rectangle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;top Int Top offset in blit rectangle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;right Int Right offset in blit rectangle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;bottom Int Left offset in blit rectangle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then on page 13 they are used in an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;dst.left = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;dst.top = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;dst.right = disp_width;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;dst.bottom = disp_height;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The description on page 7 leads one to believe that the right and bottom offsets are the index of the rightmost and bottommost pixel in the rectangle of interest. &amp;nbsp;If this is the case should the example on page 13 be setting these to (disp_width - 1) and (disp_height - 1)? &amp;nbsp;Otherwise the example as written implies a rectangle that is 1 pixel wider and 1 pixel taller than the disp/screen&amp;nbsp;size. &amp;nbsp;Can someone from NXP clarify this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 21:43:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/g2d-surface-clarification/m-p/752134#M117054</guid>
      <dc:creator>richogrady</dc:creator>
      <dc:date>2017-12-28T21:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: g2d_surface clarification</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/g2d-surface-clarification/m-p/752135#M117055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RICH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should be disp_width -1&amp;nbsp; and disp_ height -1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I strongly suggest to migrate your code to latest BSP,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 17:14:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/g2d-surface-clarification/m-p/752135#M117055</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2018-01-02T17:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: g2d_surface clarification</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/g2d-surface-clarification/m-p/752136#M117056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You. &amp;nbsp;Which BSP is the latest?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 17:22:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/g2d-surface-clarification/m-p/752136#M117056</guid>
      <dc:creator>richogrady</dc:creator>
      <dc:date>2018-02-16T17:22:06Z</dc:date>
    </item>
  </channel>
</rss>

