<?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: i.MX6Q: Can the VPU decode JPEG image?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287857#M34278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will need to play a life Moving JPEG stream from IP camera. It looks like VPU is not happy with MJPEG formate sent from the camera but I might be able to modify it to fit the VPU needs.&lt;/P&gt;&lt;P&gt;Is there any more details about the MJPEG formate that is supported by the VPU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2013 09:24:16 GMT</pubDate>
    <dc:creator>Tarek</dc:creator>
    <dc:date>2013-04-02T09:24:16Z</dc:date>
    <item>
      <title>i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287851#M34272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've tried the following Gst pipeline :&lt;/P&gt;&lt;P&gt;gst-launch filesrc location=sam_max.jpg typefind=true ! vpudec ! imagefreeze ! mfw_isink&lt;/P&gt;&lt;P&gt;The output is a corrupted display. Is there a way to make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Note:I know that software decoding is working but that's not what I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank,&lt;/P&gt;&lt;P&gt;Tarek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 17:29:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287851#M34272</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-03-07T17:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287852#M34273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="sam_max_bad.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119146i989C2ADA6E48C5C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="sam_max_bad.jpg" alt="sam_max_bad.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 11:18:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287852#M34273</guid>
      <dc:creator>tarekel-sherbin</dc:creator>
      <dc:date>2013-03-13T11:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287853#M34274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As I know, the VPU provide jpeg codec, but&amp;nbsp; do not provide image plugin based on it. You could refer to the mxc_vpu_test to see how&amp;nbsp; to decode it in code, otherwise you could find opensource image plugin to decode it by gstreamer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 02:28:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287853#M34274</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-03-21T02:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287854#M34275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run &lt;STRONG&gt;gst-inspect vpudec &lt;/STRONG&gt;command you will see that JPEG is supported in the current vpudec plug-in. I think we need someone to explain how to construct the pipeline for JPEG image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SINK template: 'sink'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Availability: Always&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Capabilities:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/mpeg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mpegversion: 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/x-h264&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/x-h263&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/mpeg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; systemstream: false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mpegversion: { 1, 2 }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/x-wmv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wmvversion: 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format: WVC1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/x-wmv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wmvversion: 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/x-xvid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; video/x-vp8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline; color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; image/jpeg&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 10:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287854#M34275</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-03-28T10:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287855#M34276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000; background-color: #ffffff;"&gt; image/jpeg&lt;/STRONG&gt; means the MJPEG decode, not support the jpeg decode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 10:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287855#M34276</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-03-29T10:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287856#M34277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used following pipeline to decode mjpeg stream from HD USB camera on SABRE lite board:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gst-launch -v v4l2src num-buffers=-1 ! 'image/jpeg,width=1280,height=720,framerate=30/1' ! queue ! vpudec ! queue ! mfw_v4lsink device=/dev/video16 sync=false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I was trying to decode MJPEG but with same results as Tarek - image was corrupt, only top part displayed and remaining part of the screen was green. I think something is wrong with MJPEG decoding in current BSP.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 16:29:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287856#M34277</guid>
      <dc:creator>kamillulko</dc:creator>
      <dc:date>2013-03-29T16:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287857#M34278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will need to play a life Moving JPEG stream from IP camera. It looks like VPU is not happy with MJPEG formate sent from the camera but I might be able to modify it to fit the VPU needs.&lt;/P&gt;&lt;P&gt;Is there any more details about the MJPEG formate that is supported by the VPU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tarek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 09:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287857#M34278</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-04-02T09:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287858#M34279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MJPEG must base on the following spec,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Baseline ISO/IEC 10918-1 JPEG compliance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; JFIF 1.02 input format with up to 3 components&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 8-bit samples for each component&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Support up to 4:4:4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 09:30:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287858#M34279</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-04-02T09:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287859#M34280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Please also try the following command line:&lt;/P&gt;&lt;P&gt;gst-launch filesrc location=./sample.jpg blocksize=file_size ! "image/jpeg" ! vpudec ! filesink location=temp.yuv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:46:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287859#M34280</guid>
      <dc:creator>lily_zhang</dc:creator>
      <dc:date>2013-06-17T11:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287860#M34281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try this comand, and I got the following:&lt;/P&gt;&lt;P&gt;Also, Is there a way to decode jpeg in c code? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/tmp # gst-launch filesrc location=./hd2.jpg blocksize=904339 ! "image/jpeg" ! vpudec ! filesink location=temp.yuv&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;[INFO] Product Info: i.MX6Q/D/S&lt;/P&gt;&lt;P&gt;vpudec versions :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp; plugin: 3.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp; wrapper: 1.0.28(VPUWRAPPER_ARM_LINUX Build on Sep&amp;nbsp; 9 2013 17:27:45)&lt;/P&gt;&lt;P&gt;&amp;nbsp; vpulib: 5.4.6&lt;/P&gt;&lt;P&gt;&amp;nbsp; firmware: 2.1.5.32515&lt;/P&gt;&lt;P&gt;Pipeline is PREROLLING ...&lt;/P&gt;&lt;P&gt;[INFO] bitstreamMode 1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;[ERR] JpegDecodeHeader failure&lt;/P&gt;&lt;P&gt;Pipeline is PREROLLED ...&lt;/P&gt;&lt;P&gt;Setting pipeline to PLAYING ...&lt;/P&gt;&lt;P&gt;New clock: GstSystemClock&lt;/P&gt;&lt;P&gt;Got EOS from element "pipeline0".&lt;/P&gt;&lt;P&gt;Execution ended after 554667 ns.&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;Setting pipeline to READY ...&lt;/P&gt;&lt;P&gt;Setting pipeline to NULL ...&lt;/P&gt;&lt;P&gt;Freeing pipeline ...&lt;/P&gt;&lt;P&gt;/tmp # &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 01:57:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287860#M34281</guid>
      <dc:creator>timf</dc:creator>
      <dc:date>2013-09-10T01:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287861#M34282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In fact, we don't suggest to decode jpeg with VPU,&amp;nbsp; VPU has capbility to handle the MJPEG stream,&amp;nbsp; but not fit fot jpeg decode. The customer commonly select the open source to handle this.&lt;/P&gt;&lt;P&gt;gst-launch filesrc location=JPEGFILE ! jpegdec ! freeze ! mfw_isink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 02:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287861#M34282</guid>
      <dc:creator>jack_mao</dc:creator>
      <dc:date>2013-09-10T02:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287862#M34283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In our particular video surveillance application, we need to decode dozens of JPEG per second. It is good to have VPU to help out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, with &lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;&lt;A href="https://community.nxp.com/people/xiaoli.zhang"&gt;xiaoli.zhang&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;'s example and&amp;nbsp; &lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;&lt;A href="https://community.nxp.com/people/jackmao"&gt;jackmao&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;previous reply. It turned out that vpudec &lt;STRONG&gt;CAN&lt;/STRONG&gt; decode single JPEG file, if the JPEG file is in JFIF format, not EXIF format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, for those who interested, most JPEG on web are in JFIF format. And those from digital cameras are in EXIF format. Open the file in hex mode, if it start with 0xFF 0xD8 0xFF 0xE0, it is in JFIF format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is working example:&lt;/P&gt;&lt;P&gt;( Please replace file_size with actual size)&lt;/P&gt;&lt;P&gt;Generate yuv file:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;&amp;nbsp; &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;&lt;STRONG&gt;gst-launch filesrc location=./sample.jpg blocksize=file_size ! "image/jpeg" ! vpudec ! filesink location=temp.yuv&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;Display on screen:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt; gst-launch filesrc location=./sample.jpg blocksize=file_size ! "image/jpeg" ! vpudec ! freeze ! mfw_v4lsink&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be good to have a gstreamer element that convert EXIF to JFIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you guys all for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 05:50:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287862#M34283</guid>
      <dc:creator>timf</dc:creator>
      <dc:date>2013-09-10T05:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287863#M34284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using i.MX6 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your suggestion with a JFIF file that starts with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;0xFF 0xD8 0xFF 0xE0&lt;/SPAN&gt; but it didn't display the image !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried more than one file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 17:19:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287863#M34284</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-11-13T17:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287864#M34285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;Yes, i am using iMX6, Sabrelite board.&lt;/P&gt;&lt;P&gt;I did test multiple JFIF images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember to replace file_size to the actual file size in the command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 02:30:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287864#M34285</guid>
      <dc:creator>timf</dc:creator>
      <dc:date>2014-01-06T02:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: Can the VPU decode JPEG image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287865#M34286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tim. You are right. I forgot to provide the correct file_size. now it's working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gst-launch filesrc location=jpeg420exif.jpg blocksize=770000 !&amp;nbsp; "image/jpeg" ! vpudec ! imagefreeze ! mfw_isink&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when running the pipeline the CPU load is 29% which is too much? In that case there is not much point from using HW acceleration if it's not saving any CPU horsepower!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you check the CPU load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 10:05:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-Can-the-VPU-decode-JPEG-image/m-p/287865#M34286</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2014-01-06T10:05:57Z</dc:date>
    </item>
  </channel>
</rss>

