<?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: 10-Bit Bayer Capture in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427048#M64775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erez, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What capture client did you use to capture the video?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Oct 2015 19:58:02 GMT</pubDate>
    <dc:creator>chrisroed</dc:creator>
    <dc:date>2015-10-30T19:58:02Z</dc:date>
    <item>
      <title>10-Bit Bayer Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427044#M64771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an iMX6 running Linux 3.14.28, connected to a MIPI camera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After modifying the kernel, I am able to capture RAW 8-bit Bayer from the MIPI input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am not able to capture 10-bit successfully.&lt;/P&gt;&lt;P&gt;I am using IPU_PIX_FMT_GENERIC_16, but suspect additional changes are needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone provide guideline what else needs to be modified?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Erez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 09:38:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427044#M64771</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2015-10-26T09:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: 10-Bit Bayer Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427045#M64772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar problem... I have an OV5648 MIPI CSI camera.&amp;nbsp; I've read on some other forums that no one has gotten the 10 bit bayer to work properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is your image quality?&amp;nbsp; All I can seem to get out of mine is something like this.&amp;nbsp; I'm outputting data from the cam at 1280x720 and this frame is 1280x720 but you can obviously see I have some issues.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="capture1.jpeg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25886i1D90675D5F660D12/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture1.jpeg" alt="capture1.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What sort of kernel modifications have you made?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect, but cannot confirm that you need to make some changes to how the IPU sets up the channel buffer in the CPMEM (the offset and width parameters, specifically)&amp;nbsp; See chapter 38.4.2.3 and 38.4.2.10 in the RM.&amp;nbsp; I would definitely appreciate any input you have to solve my camera issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another note:&amp;nbsp; Depending on your camera, the extra 2 bits of those 10 bits might just be noise, and won't offer you a better image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 17:18:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427045#M64772</guid>
      <dc:creator>chrisroed</dc:creator>
      <dc:date>2015-10-29T17:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: 10-Bit Bayer Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427046#M64773</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 RAW8, the modifications were pretty straightforward, and are outlined in other post you can easily find on the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your sensor is 5MP, so make sure your downscaling correctly and using raw-8 mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 17:32:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427046#M64773</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2015-10-29T17:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: 10-Bit Bayer Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427047#M64774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erez,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With your sensor in the RAW8 mode were you at least able to get a "real" picture.. aka no color and grid issues like mine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 20:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427047#M64774</guid>
      <dc:creator>chrisroed</dc:creator>
      <dc:date>2015-10-29T20:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: 10-Bit Bayer Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427048#M64775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erez, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What capture client did you use to capture the video?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:58:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427048#M64775</guid>
      <dc:creator>chrisroed</dc:creator>
      <dc:date>2015-10-30T19:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: 10-Bit Bayer Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427049#M64776</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;Sorry for slow reply.&amp;nbsp; Yes, I get a proper Bayer Image.&lt;/P&gt;&lt;P&gt;The capture client is something I wrote. It's based on the v4l2 example:&lt;/P&gt;&lt;P&gt;&lt;A href="http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html" style="line-height: 1.5;" title="http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html"&gt;http://linuxtv.org/downloads/v4l-dvb-apis/capture-example.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Oct 2015 09:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/427049#M64776</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2015-10-31T09:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: 10-Bit Bayer Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/1150254#M161431</link>
      <description>&lt;P&gt;I have the&lt;SPAN&gt;&amp;nbsp;similar problem with mipi-csi。&amp;nbsp; sensor output iv 10 RAW RGB。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you tell me the way to fix it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 09:19:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/1150254#M161431</guid>
      <dc:creator>wanbenzhou</dc:creator>
      <dc:date>2020-09-08T09:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: 10-Bit Bayer Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/1151663#M161614</link>
      <description>&lt;P&gt;The IPU can't do color conversion on bayer images.&amp;nbsp; The best you'll get with the IPU is grayscale.&amp;nbsp; I was able to hack the gstreamer and kernel code enough to use the gstreamer bayer software converter, but I got maybe 3 FPS.&amp;nbsp; One of my colleagues was exploring using the vivante GPU and the results were looking promising but we switched to an OV5645, which can ouput YUV422.&amp;nbsp; The IPU documentation was super confusing, but YUV422 is the color format that it really seems to like for camera inputs.&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 15:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/10-Bit-Bayer-Capture/m-p/1151663#M161614</guid>
      <dc:creator>chrisroed</dc:creator>
      <dc:date>2020-09-10T15:57:17Z</dc:date>
    </item>
  </channel>
</rss>

