<?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>i.MX ProcessorsのトピックRe: PXP PS Scaling</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912270#M137453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The PXP, including the PXP_PS_SCALE register, is part of the iMX6UL, &lt;/P&gt;&lt;P&gt;iMX6ULL, iMX6Solo/DualLite.  It's not found in the iMX6D/Q which have an &lt;/P&gt;&lt;P&gt;IPU instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jun 2019 20:45:48 GMT</pubDate>
    <dc:creator>steveschefterti</dc:creator>
    <dc:date>2019-06-25T20:45:48Z</dc:date>
    <item>
      <title>PXP PS Scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912268#M137451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone clarify the setting of the PS Scale Factor Register (PXP_PS_SCALE) in the Pixel Pipeline?&lt;/P&gt;&lt;P&gt;The description in the iMX6 RMs is a tad confusing/incomplete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The manual says that each X/Y scale is "two bit integer and 12 bit fractional representation" (total 14 bits) but shows the scales occupying 15 bits each (plus a single reserved bit to make up one 16 bit half-word).&amp;nbsp; Am I correct to assume they are really 14 bits each (bits 29-16, 13-0) plus two reserved bits?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, the manual says "The reciprocal of the scale factor should be loaded into this register", but it is not clear how to make a "reciprocal" out of the above bit fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following up scaling examples are provided:&lt;BR /&gt;00.0100_0000_0000&amp;nbsp;&amp;nbsp;&amp;nbsp; scale up by 4&lt;BR /&gt;00.0010_0000_0000&amp;nbsp;&amp;nbsp;&amp;nbsp; scale up by 2&lt;BR /&gt;00.1010_0000_0000&amp;nbsp;&amp;nbsp;&amp;nbsp; scale up by 8/5&lt;/P&gt;&lt;P&gt;Especially with the last one I don't see where they are getting the register settings.&lt;BR /&gt;&lt;BR /&gt;The 2x and 4x examples might make sense to me, except that I wonder why the most significant nibble is being set.&amp;nbsp; And how, in that case, would you represent a scaling factor of 0x20 for example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 01:05:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912268#M137451</guid>
      <dc:creator>steveschefterti</dc:creator>
      <dc:date>2019-06-12T01:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: PXP PS Scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912269#M137452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;I find no reference to a PXP register PS_SCALE in any MX6 documentation.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this issue really about the MX6? If not, what device is being used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 20:32:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912269#M137452</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2019-06-25T20:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: PXP PS Scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912270#M137453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The PXP, including the PXP_PS_SCALE register, is part of the iMX6UL, &lt;/P&gt;&lt;P&gt;iMX6ULL, iMX6Solo/DualLite.  It's not found in the iMX6D/Q which have an &lt;/P&gt;&lt;P&gt;IPU instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 20:45:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912270#M137453</guid>
      <dc:creator>steveschefterti</dc:creator>
      <dc:date>2019-06-25T20:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: PXP PS Scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912271#M137454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;The manual says that each X/Y scale is "two bit integer and 12 bit fractional representation" (total 14 bits) but shows the scales occupying 15 bits each (plus a single reserved bit to make up one 16 bit half-word).&amp;nbsp; Am I correct to assume they are really 14 bits each (bits 29-16, 13-0) plus two reserved bits?&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; Bits 30 and 14 are not usable per the note in the RM that states that "The maximum value programmed should be 2 since scaling down by a factor greater than 2 is not supported with the bilinear filter".&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next, the manual says "The reciprocal of the scale factor should be loaded into this register", but it is not clear how to make a "reciprocal" out of the above bit fields.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; The value to be programmed is 1/desired_scale_factor. The radix point is between bits 28-27 and 12-11 for each register. The two bits to the left of the radix point are the "integer" (valid values are 0 through 2) and the bits to the right are the fractional part. The examples given in the RM match &lt;A class="" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.geeksforgeeks.org%2Fconvert-binary-fraction-decimal%2F" rel="nofollow" target="_blank"&gt;the algorithm here&lt;/A&gt; for converting a binary fraction to decimal.&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;00.0100_0000_0000&amp;nbsp;&amp;nbsp;&amp;nbsp; scale up by 4&amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; scale = reciprocal of ( 1/2^2 ) = 1/ (1/4) = 4&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;00.0010_0000_0000&amp;nbsp;&amp;nbsp;&amp;nbsp; scale up by 2&amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt;&amp;nbsp;bit field here is incorrect, should be 00.1000_0000_0000, which is&amp;nbsp; 1/2, reciprocal is 2&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;00.1010_0000_0000&amp;nbsp;&amp;nbsp;&amp;nbsp; scale up by 8/5&amp;nbsp; &amp;nbsp;=&amp;gt; scale = reciprocal of ( 1/2 + 1/8 ) = 1 / (0.5 + 0.125) = 8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 14:54:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912271#M137454</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2019-06-27T14:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: PXP PS Scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912272#M137455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to have a further indication that it is just the figure showing the register bits is incorrect in the RM.&lt;/P&gt;&lt;P&gt;Thanks a lot for the link to the algorithm.&amp;nbsp; That's just what I was looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 19:34:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/PXP-PS-Scaling/m-p/912272#M137455</guid>
      <dc:creator>steveschefterti</dc:creator>
      <dc:date>2019-06-27T19:34:26Z</dc:date>
    </item>
  </channel>
</rss>

