<?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: imx6q jpeg encode</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-jpeg-encode/m-p/864740#M131771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 18.004px;"&gt;gusarambula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;First of all ,thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;And I wonder how can get the source code of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f;"&gt;mxc_vpu_test.out?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 18.004px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2019 09:09:35 GMT</pubDate>
    <dc:creator>865410500</dc:creator>
    <dc:date>2019-01-15T09:09:35Z</dc:date>
    <item>
      <title>imx6q jpeg encode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-jpeg-encode/m-p/864738#M131769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,everyone&lt;/P&gt;&lt;P&gt;I wanna do jpeg encode with vpu,is there any demo we can reference ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 11:52:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-jpeg-encode/m-p/864738#M131769</guid>
      <dc:creator>865410500</dc:creator>
      <dc:date>2019-01-09T11:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q jpeg encode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-jpeg-encode/m-p/864739#M131770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Cxy Cxy,&lt;/P&gt;&lt;P&gt;There is not a demo per se, but the unit test included with the Linux BSP supports jpeg decoder and encoder.&lt;/P&gt;&lt;P&gt;Please refer to the following example I found from the L4.1.15 unit_test:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;“Take attached 3.jpg as example, it’s format is yuv420.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Decode to yuv&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /unit_tests/mxc_vpu_test.out -E "-i 3.yuv -o test.jpg -f 7 -w 1600 -h 1200 -t 0"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL start="2"&gt;&lt;LI&gt;Encode to jpg&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /unit_tests/mxc_vpu_test.out -D "-i 3.jpg -o 3.yuv -f 7 -t 0"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing you need to take care is the yuv format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;In mxc_vpu_test/enc.c, the yuv format is hard code to MODE420. The code is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (enc-&amp;gt;cmdl-&amp;gt;format == STD_MJPG)&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;&amp;nbsp; enc-&amp;gt;mjpg_fmt = MODE420;&amp;nbsp; /* Please change this per your needs */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your yuv format is 422 or 444, you need to change it to MODE422 or MODE444.&lt;/P&gt;&lt;P&gt;In the command, "-t" means CbCr interleaved, if your yuv source is planar, set "-t 0", if it's CbCr interleaved, set "-t 1". "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this information helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 22:00:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-jpeg-encode/m-p/864739#M131770</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2019-01-09T22:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q jpeg encode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-jpeg-encode/m-p/864740#M131771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 18.004px;"&gt;gusarambula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;First of all ,thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;And I wonder how can get the source code of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f;"&gt;mxc_vpu_test.out?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 18.004px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 09:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-jpeg-encode/m-p/864740#M131771</guid>
      <dc:creator>865410500</dc:creator>
      <dc:date>2019-01-15T09:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q jpeg encode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-jpeg-encode/m-p/864741#M131772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I 've found the source code in imx-test/mxc_vpu_test .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 10:22:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-jpeg-encode/m-p/864741#M131772</guid>
      <dc:creator>865410500</dc:creator>
      <dc:date>2019-01-15T10:22:28Z</dc:date>
    </item>
  </channel>
</rss>

