<?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: How to resize v4l2 buffer using g2d</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-v4l2-buffer-using-g2d/m-p/1154579#M161979</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have found the raw html page :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://linux-kernel-labs.github.io/refs/heads/master/labs/memory_mapping.html" target="_self"&gt;https://linux-kernel-labs.github.io/refs/heads/master/labs/memory_mapping.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Zhiming&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 07:07:16 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2020-09-17T07:07:16Z</dc:date>
    <item>
      <title>How to resize v4l2 buffer using g2d</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-v4l2-buffer-using-g2d/m-p/1154480#M161967</link>
      <description>&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;I’m trying to resize an image using g2d.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;However, you need a physical address to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using V4L2 to get a frame of camera footage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have confirmed that the acquired frame can be drawn using mmap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;I don't know how to find the physical address from the virtual address I got with mmap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Also, I don't even know if this method is correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to convert a virtual address to a physical address using the following source code as a sample, but it fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/2440385/how-to-find-the-physical-address-of-a-variable-from-user-space-in-linux/28987409#28987409" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/2440385/how-to-find-the-physical-address-of-a-variable-from-user-space-in-linux/28987409#28987409&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;When I looked it up, I found the following question useful, but I couldn't find the URL for the answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Redirecting-Captured-Video-Frames-to-IPU/m-p/785976" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/Redirecting-Captured-Video-Frames-to-IPU/m-p/785976#M121823&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;It may be difficult to read because it is a sentence created by Google Translate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 05:11:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-v4l2-buffer-using-g2d/m-p/1154480#M161967</guid>
      <dc:creator>tt_0912</dc:creator>
      <dc:date>2020-09-17T05:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to resize v4l2 buffer using g2d</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-v4l2-buffer-using-g2d/m-p/1154579#M161979</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have found the raw html page :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://linux-kernel-labs.github.io/refs/heads/master/labs/memory_mapping.html" target="_self"&gt;https://linux-kernel-labs.github.io/refs/heads/master/labs/memory_mapping.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 07:07:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-resize-v4l2-buffer-using-g2d/m-p/1154579#M161979</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2020-09-17T07:07:16Z</dc:date>
    </item>
  </channel>
</rss>

