<?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のトピックimx8mp, DMA memory copy for gstreamer userspace</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-DMA-memory-copy-for-gstreamer-userspace/m-p/1285310#M174805</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Currently my video data is from 2 image sensor, line interleaved, and I have constructed a gstreamer plugin to deinterleave it using memcpy method, that costs cpu usage a lot, so I want to use DMA copy instead.&lt;/P&gt;&lt;P&gt;Is there exist a DMA memory copy for userspace usage?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jun 2021 09:37:00 GMT</pubDate>
    <dc:creator>chris_liuv</dc:creator>
    <dc:date>2021-06-01T09:37:00Z</dc:date>
    <item>
      <title>imx8mp, DMA memory copy for gstreamer userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-DMA-memory-copy-for-gstreamer-userspace/m-p/1285310#M174805</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Currently my video data is from 2 image sensor, line interleaved, and I have constructed a gstreamer plugin to deinterleave it using memcpy method, that costs cpu usage a lot, so I want to use DMA copy instead.&lt;/P&gt;&lt;P&gt;Is there exist a DMA memory copy for userspace usage?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 09:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-DMA-memory-copy-for-gstreamer-userspace/m-p/1285310#M174805</guid>
      <dc:creator>chris_liuv</dc:creator>
      <dc:date>2021-06-01T09:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp, DMA memory copy for gstreamer userspace</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-DMA-memory-copy-for-gstreamer-userspace/m-p/1288911#M175164</link>
      <description>&lt;P&gt;one can try the dmabuf to save cpu performance,&lt;/P&gt;
&lt;P&gt;The dmabuf uses buffers of a hardware DMA in order to perform a zero-copy pipeline, as shown below:&lt;BR /&gt;$ gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=300 io-mode=dmabuf ! \&lt;BR /&gt;'video/x-raw,format=(string)NV12,width=1920,height=1080,framerate=(fraction)30/1' ! \&lt;BR /&gt;queue ! v4l2h264enc output-io-mode=dmabuf-import ! avimux ! filesink location=test.avi&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;In this pipeline, the RAW format is stored by the io-mode property and then used further on the&lt;BR /&gt;H.264 format encode process.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 08:25:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-DMA-memory-copy-for-gstreamer-userspace/m-p/1288911#M175164</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-06-08T08:25:28Z</dc:date>
    </item>
  </channel>
</rss>

