<?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: Gated mode 8-bit parallel video scrolling in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Gated-mode-8-bit-parallel-video-scrolling/m-p/344252#M47437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone run into this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Sep 2014 18:39:53 GMT</pubDate>
    <dc:creator>allanmatthew</dc:creator>
    <dc:date>2014-09-09T18:39:53Z</dc:date>
    <item>
      <title>Gated mode 8-bit parallel video scrolling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gated-mode-8-bit-parallel-video-scrolling/m-p/344251#M47436</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've got an 8-bit input to CSI0 in gated mode.&amp;nbsp; I have a 720p30 input to the CSI running with a sensor size of 1650x750.&amp;nbsp; I'm having trouble getting the video to crop down correctly to 1280x720.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my ioctl_g_fmt_cap, if I return a pixel height of 1280x720 I get a stable video, but the cropping is incorrect (I get black bars to the top and left of the video, as expected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I modify ioctl_g_fmt_cap to return a sensor height of 1651x750 (for some reason 1650 shows distorted data, 1651 works) I get the full frame, but the video scrolls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attempt to modify the cropping area in mxc_v4l2_capture.c by forcing the value of crop_current.top, .left, .width, and .height to be 1280x720 with the proper left/top offsets in mxc_v4l2_s_param().&amp;nbsp; This results in a properly sized video, but again the video still scrolls vertically.&amp;nbsp; I've tried adjusting the top value to stop the scrolling, but there is no number that results in a steady video.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm testing using the gstreamer pipeline "gst-launch mfw_v4lsrc ! video/x-raw-yuv, framerate=30/1, height=720, width=1280 ! vpuenc codec=0 ! matroskamux ! filesink location=test.mkv --gst-debug=2".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some register values I see:&lt;/P&gt;&lt;P class="p1"&gt;imx-ipuv3 2400000.ipu: &lt;SPAN class="s1"&gt;CSI&lt;/SPAN&gt;_SENS_CONF = 0x00008A00&lt;/P&gt;&lt;P class="p1"&gt;imx-ipuv3 2400000.ipu: &lt;SPAN class="s1"&gt;CSI&lt;/SPAN&gt;_ACT_FRM_SIZE = 0x02CF04FF&lt;/P&gt;&lt;P class="p1"&gt;imx-ipuv3 2400000.ipu: &lt;SPAN class="s1"&gt;CSI&lt;/SPAN&gt;_SENS_FRM_SIZE = 0x02ED0672&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;The only one that really sticks out at me is the fact that the CSI0_DATA_DEST is not IDMAC via SMFC or IC, its just 0 (which is listed as reserved in the datasheet).&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;I'm using 3.10.17ga for everything.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Any help is very much appreciated.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;-Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 20:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gated-mode-8-bit-parallel-video-scrolling/m-p/344251#M47436</guid>
      <dc:creator>allanmatthew</dc:creator>
      <dc:date>2014-09-05T20:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Gated mode 8-bit parallel video scrolling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gated-mode-8-bit-parallel-video-scrolling/m-p/344252#M47437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone run into this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 18:39:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gated-mode-8-bit-parallel-video-scrolling/m-p/344252#M47437</guid>
      <dc:creator>allanmatthew</dc:creator>
      <dc:date>2014-09-09T18:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Gated mode 8-bit parallel video scrolling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gated-mode-8-bit-parallel-video-scrolling/m-p/344253#M47438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I was unable to get the gated mode working, but was able to get things running with a 720p30 bt.656 on the 8-bit bus.&amp;nbsp; Looks like anything larger/faster (720p60, 1080p) will require a larger bus (12- or 16-bit).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 23:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gated-mode-8-bit-parallel-video-scrolling/m-p/344253#M47438</guid>
      <dc:creator>allanmatthew</dc:creator>
      <dc:date>2014-09-10T23:06:12Z</dc:date>
    </item>
  </channel>
</rss>

