<?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: iMX6DL IPU 1080p green lines in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941989#M140949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Made a discovery:&amp;nbsp; gstreamer prefers the NV12 color format over the I420 color format.&amp;nbsp; When I force gstreamer to do I420 the green bars are back.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified my csc_ex2 code to output NV12 and the green bar is gone.&amp;nbsp; There seems to be an error in the IPU conversion for YUV420 at 1080p.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2019 17:32:01 GMT</pubDate>
    <dc:creator>chrisroed</dc:creator>
    <dc:date>2019-07-30T17:32:01Z</dc:date>
    <item>
      <title>iMX6DL IPU 1080p green lines</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941984#M140944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a program that will capture camera frames at 1080p UYVY, use the IPU to convert to YUV420.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have noticed that if I have the IPU output 1080p, there are green lines in the image.&amp;nbsp; If I use the IPU to do color conversion AND I downscale the image to 720p, there are no green lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached image for an example of the 1080p green lines.&amp;nbsp; There's one right in the middle and one way down at the bottom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81787iA0D5C50F2A62B371/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to fix this would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 21:46:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941984#M140944</guid>
      <dc:creator>chrisroed</dc:creator>
      <dc:date>2019-07-18T21:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6DL IPU 1080p green lines</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941985#M140945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for camera capture and conversion examples one can look at below links which&lt;/P&gt;&lt;P&gt;may be helpful:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94961"&gt;ipu-examples release notes - v0.1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-158531"&gt;iMX6DQ ISL79985/79987 MIPI CSI2 CVBS camera surround view solution for Linux BSP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test?h=imx_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test?h=imx_4.14.78_1.0.0_ga"&gt;mxc_v4l2_test\test - imx-test - i.MX Driver Test Application Software&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sect.7.3.15 Video conversion attached Linux Guide from &lt;A href="https://www.nxp.com/webapp/Download?colCode=imx-yocto-L4.14.98_2.0.0_ga" target="_blank"&gt;Linux L4.14.98_2.0.0 Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jul 2019 00:57:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941985#M140945</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-07-20T00:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6DL IPU 1080p green lines</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941986#M140946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response.&amp;nbsp; I recently discussed this with a colleague who informed me that he had adjusted the calculations in the linux/drivers/mxc/ipu3/ipu_calc_stripes_sizes.c folder.&amp;nbsp; &amp;nbsp; I reverted the changes back to the orignal code but ended up with a different green bar.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I took the ipu examples you linked above and modified the csc to do my color conversion at 1080p and 720p.&amp;nbsp; You can see that there is a green bar on the right side of my 1080p image which is not present in the 720p image.&amp;nbsp; Since this green bar was in a different orientation with the the modified ipu_calc_stripes_sizes.c code, I'm left with the assumption that the stripe sizes aren't calculated correctly for 1080p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1080p&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86169iC70A1A68A886CF41/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;720p&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86219i602591A8CA463514/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the record, I captured the image using gstreamer&lt;/P&gt;&lt;P&gt;$GST_DEBUG=2 gst-launch-1.0 imxv4l2src num-buffers=1 ! filesink location="/home/root/test.uyvy422"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will also attach the modified csc example that I used to do this conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; Also worth noting, when I use gstreamer to capture a video at 1080p there are no green bars&lt;/P&gt;&lt;P&gt;$gst-launch-1.0 imxv4l2src num-buffers=30 ! queue ! imxvideoconvert_ipu ! vpuenc_h264 ! queue ! flvmux ! filesink location="encoded.mp4"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 22:30:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941986#M140946</guid>
      <dc:creator>chrisroed</dc:creator>
      <dc:date>2019-07-29T22:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6DL IPU 1080p green lines</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941987#M140947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if issue appears only for 1080p, this may point to processor&lt;/P&gt;&lt;P&gt;internal buses bandwidth limitation, one can try to decrease fps or change&lt;/P&gt;&lt;P&gt;IPU QoS with i.MX6Q IOMUXC_GPR6, also check &lt;A href="https://community.nxp.com/thread/443828"&gt;About MMDC Profiling Tool for i.MX6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 23:37:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941987#M140947</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-07-29T23:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6DL IPU 1080p green lines</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941988#M140948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding the imx internal bandwidth limitation... When I use gstreamer as outlined above, I get a perfect video.&amp;nbsp; Also, the tests that modified only converts 1 frame, so I don't believe that lowering the FPS will affect it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 15:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941988#M140948</guid>
      <dc:creator>chrisroed</dc:creator>
      <dc:date>2019-07-30T15:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6DL IPU 1080p green lines</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941989#M140949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Made a discovery:&amp;nbsp; gstreamer prefers the NV12 color format over the I420 color format.&amp;nbsp; When I force gstreamer to do I420 the green bars are back.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified my csc_ex2 code to output NV12 and the green bar is gone.&amp;nbsp; There seems to be an error in the IPU conversion for YUV420 at 1080p.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 17:32:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6DL-IPU-1080p-green-lines/m-p/941989#M140949</guid>
      <dc:creator>chrisroed</dc:creator>
      <dc:date>2019-07-30T17:32:01Z</dc:date>
    </item>
  </channel>
</rss>

