<?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: v4l2jpegdec C example in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951664#M142268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you use imx8x or imx8qm board? if imx8x, pls tell me your test steps and gstreamer commands, let me test on my imx8x board&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2019 04:56:35 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2019-08-08T04:56:35Z</dc:date>
    <item>
      <title>v4l2jpegdec C example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951661#M142265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide a C example of how to use the v4l2jpegdec element in gstreamer.&lt;/P&gt;&lt;P&gt;The jpeg image should be an "appsrc" - I have the jpeg image in memory and need to pass this into the v4l2jpegdec decoder.&lt;/P&gt;&lt;P&gt;The decoded image should be sent to an "appsink" element so I get the decoded image in memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for any help,&lt;/P&gt;&lt;P&gt;Jonners.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 14:44:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951661#M142265</guid>
      <dc:creator>jonners_guttman</dc:creator>
      <dc:date>2019-08-05T14:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2jpegdec C example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951662#M142266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;v4l2jpegdec should be used in the imx8QM&amp;nbsp; which is under preproduction, so I couldn't checked for you, if you have already have this, I suggest that you use "gst-inspect-1.0 v4l2jpegdec " to check the source code path, then you can find the source code, I think it should be included in the gst plugins &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 04:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951662#M142266</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2019-08-07T04:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2jpegdec C example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951663#M142267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v4l2jpegdec is on my system ☺&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to achieve is to have a jpeg image in a buffer in my application (appsrc) and use the hardware decoder on the iMX8X to decode the jpeg into RGB raw data returned in a buffer to my application (appsink.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this working using the “jpegdec” element – however, this is a software decoder and very slow (5 frames per second for a 1080p JPEG). If I replace the “jpegdec” element with “v4l2jpegdec” then I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Elements created.&lt;/P&gt;&lt;P&gt;    firmware version is 1.3.1&lt;/P&gt;&lt;P&gt;Error received from element mySrc: Internal data stream error.[VPU Decoder]      error: don't find buffer when wait_rst_done is true, ctx-&amp;gt;firmware_stopped=0fin=0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging information: ../../../../git/libs/gst/base/gstbasesrc[VPU Decoder]     error: don't find buffer when wait_rst_done is true, ctx-&amp;gt;firmware_stopped=0fin=0&lt;/P&gt;&lt;P&gt;.c(3055): gst_base_src_loop (): /GstPipeline:myPipeline/GstAppSrc[VPU Decoder]   error: don't find buffer when wait_rst_done is true, ctx-&amp;gt;firmware_stopped=0fin=0&lt;/P&gt;&lt;P&gt;:mySrc:&lt;/P&gt;&lt;P&gt;streaming stopped, reason not-negotiated (-4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is positive as the VPU decoder has been initialise. I think my problem is that the jpeg image is not in the correct memory for the hardware decoder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this something you might be able to help with?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a copy of my test application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonners.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 08:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951663#M142267</guid>
      <dc:creator>jonners_guttman</dc:creator>
      <dc:date>2019-08-07T08:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2jpegdec C example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951664#M142268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you use imx8x or imx8qm board? if imx8x, pls tell me your test steps and gstreamer commands, let me test on my imx8x board&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 04:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951664#M142268</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2019-08-08T04:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2jpegdec C example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951665#M142269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this in an iMX8X board. I have attached my test application source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonners.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 06:38:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951665#M142269</guid>
      <dc:creator>jonners_guttman</dc:creator>
      <dc:date>2019-08-08T06:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2jpegdec C example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951666#M142270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer to the release note of 4.14.98:&lt;/P&gt;&lt;P&gt;i.MX 8QuadMax and 8QuadXPlus Decoder: HEVC, H.264, MPEG4, MPEG2&lt;/P&gt;&lt;P&gt;it seems that imx8qxp doesn't support jpeg decoder on VPU(hardware)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 03:22:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2jpegdec-C-example/m-p/951666#M142270</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2019-08-09T03:22:38Z</dc:date>
    </item>
  </channel>
</rss>

