<?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 use MJPEG hardware decoder in Android with IMX6Q</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239662#M19716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you go to Gallery and play a movie it will be accelerated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see Gallery source code, you can learn the media player class (I really do not remember, if it´s media_player, movie_player, movie_start... something like that)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you´re looking for implementing your own media player, you must use this "media player class", that should be hardware accelerated already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 17:48:25 GMT</pubDate>
    <dc:creator>daiane_angolini</dc:creator>
    <dc:date>2013-08-23T17:48:25Z</dc:date>
    <item>
      <title>How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239655#M19709</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; RT,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am a newbie in Android,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Someone know about how to use MJPEG hardware decoder in native code in android ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I hope i can use middle software to invoke indirectly the hardware decoder also like in linux platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I know about that i can use gstreamer or libvpu directly in Linux platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; also, i saw the configure file in /etc/media_codecs.xml, there is not "MJPEG" information, the MJPEG is not supported in "android_jb4.2.2_1.1.0-ga_image_6qsabresd" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 04:39:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239655#M19709</guid>
      <dc:creator>jojorong</dc:creator>
      <dc:date>2013-08-05T04:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239656#M19710</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;Use OpenMax IL, this is a thin layer wrapping all codecs in Android. I am not a Android expert but I would start grepping for openmax strings under Android source folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 15:59:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239656#M19710</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-05T15:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239657#M19711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks, i also research some ways to invoke the android codec, likes gstreamer project (sdk), it works on android without HW codec :smileysad:,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i check this method first, it's common in cross-platform, is it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 02:42:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239657#M19711</guid>
      <dc:creator>jojorong</dc:creator>
      <dc:date>2013-08-07T02:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239658#M19712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The gstreamer project can use "android media codec" aka "amc" to decode in native code.&lt;/P&gt;&lt;P&gt;BTW, Have you tested with "com.android.media.codec" in the IMX6Q for all HW codec ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 04:02:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239658#M19712</guid>
      <dc:creator>jojorong</dc:creator>
      <dc:date>2013-08-09T04:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239659#M19713</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; As you said i can use OpenMax IL, what's the component name of MJPEG HW decoder ?&lt;/P&gt;&lt;P&gt;i saw the source code of other chip like TI, it looks like bellow :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char *tComponentName[MAXCOMP][2] = {&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*video and image components */&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {"OMX.TI.JPEG.decoder", "image_decoder.jpeg" },&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;about IMX6Q-SDB, what's the component name of MJPEG HW decoder ?&lt;/P&gt;&lt;P class="p1"&gt;and which library i can use as the "libopenmax_il.so" in this board ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 15:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239659#M19713</guid>
      <dc:creator>jojorong</dc:creator>
      <dc:date>2013-08-22T15:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239660#M19714</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 do not much about the MM Framework on Android.&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ChucoChe"&gt;ChucoChe&lt;/A&gt;, are there any test units using OpenMax IL layer? Where is it on the source tree?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 16:10:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239660#M19714</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-22T16:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239661#M19715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know. Maybe &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/DaianeAngolini"&gt;DaianeAngolini&lt;/A&gt; Knows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;:smileyhappy:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 17:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239661#M19715</guid>
      <dc:creator>ChucoChe</dc:creator>
      <dc:date>2013-08-23T17:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239662#M19716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you go to Gallery and play a movie it will be accelerated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see Gallery source code, you can learn the media player class (I really do not remember, if it´s media_player, movie_player, movie_start... something like that)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you´re looking for implementing your own media player, you must use this "media player class", that should be hardware accelerated already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 17:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239662#M19716</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2013-08-23T17:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239663#M19717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daiane, I have a related question. JPEG capture image ends up in the in Android imx6 CameraHAL (ics 4.0) JpegEncoderSoftware.cpp. JPEG encoder is called from DoEncode() method as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return_val = jpeg_enc_init(obj_ptr);&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;return_val = jpeg_enc_encodeframe(obj_ptr, i_buff, y_buff, u_buff, v_buff);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From looking at Android.mk file in libcamera folder, it appears that the functions are in the following library: libfsl_jpeg_enc_arm11_elinux which is in the prebuilt folder device/fsl-proprietary/lib without the source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this api h/w accelerated?&amp;nbsp; Also, theses jpeg_... api's don't seem to be documented anywhere, can you point me for the documentation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A note: I'd expect that the api that should be used is from vpu library with vpu_... prefix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 18:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239663#M19717</guid>
      <dc:creator>DraganOstojic</dc:creator>
      <dc:date>2013-08-23T18:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239664#M19718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no source code of android platform,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I use the OpenMax IL directly, some error is reported when i do (disable the port):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;OMX_SendCommand (comp-&amp;gt;handle, OMX_CommandPortDisable,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; port-&amp;gt;index, NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (err != OMX_ErrorNone) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GST_ERROR_OBJECT (comp-&amp;gt;parent,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Failed to send enable/disable command to %s port %u: %s (0x%08x)",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; comp-&amp;gt;name, port-&amp;gt;index, gst_omx_error_to_string (err), err);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto done;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error is "OMX_ErrorNotReady", what's something wrong about for this error about for VPU ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 11:12:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239664#M19718</guid>
      <dc:creator>jojorong</dc:creator>
      <dc:date>2013-08-26T11:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MJPEG hardware decoder in Android with IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239665#M19719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to use the HW MJPEG decoder to decode my image from internet in NDK space (c code)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 11:14:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-MJPEG-hardware-decoder-in-Android-with-IMX6Q/m-p/239665#M19719</guid>
      <dc:creator>jojorong</dc:creator>
      <dc:date>2013-08-26T11:14:26Z</dc:date>
    </item>
  </channel>
</rss>

