<?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: Bayer Image format not properly visible in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Bayer-Image-format-not-properly-visible/m-p/1654360#M206239</link>
    <description>&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;MEDIA_BUS_FMT_BGR888_1X24&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;format is not supported in mx6_capture driver. Do you know how we can add this in the capture driver?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 05:19:48 GMT</pubDate>
    <dc:creator>jiju</dc:creator>
    <dc:date>2023-05-22T05:19:48Z</dc:date>
    <item>
      <title>Bayer Image format not properly visible</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bayer-Image-format-not-properly-visible/m-p/1648695#M205695</link>
      <description>&lt;P&gt;Hi, we are trying to integration a sensor which provides 8-bit BGGR data on the MIPI interface. We are able to capture the image but the color space is not proper. Below is the configuration in the camera driver&lt;/P&gt;&lt;P&gt;MEDIA_BUS_FMT_SBGGR8_1X8&lt;/P&gt;&lt;P&gt;V4L2_PIX_FMT_SBGGR8&lt;/P&gt;&lt;P&gt;With these settings we are getting image (attached).&amp;nbsp; Can anyone verify if we are getting the correct image or there is some issue in the configurations?&lt;/P&gt;&lt;P&gt;We are integrating the camera on IMX8M mini EVK kit.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 12:19:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bayer-Image-format-not-properly-visible/m-p/1648695#M205695</guid>
      <dc:creator>jiju</dc:creator>
      <dc:date>2023-05-11T12:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bayer Image format not properly visible</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bayer-Image-format-not-properly-visible/m-p/1649303#M205769</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213008"&gt;@jiju&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;The media bus pixel codes document parallel formats. Should the pixel data be transported over a serial bus, the media bus pixel code that describes a parallel format that transfers a sample on a single clock cycle is used. For instance, both&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;MEDIA_BUS_FMT_BGR888_1X24&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;MEDIA_BUS_FMT_BGR888_3X8&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;are used on parallel busses for transferring an 8 bits per sample BGR data, whereas on serial busses the data in this format is only referred to using&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;MEDIA_BUS_FMT_BGR888_1X24&lt;/STRONG&gt;&lt;SPAN&gt;. This is because there is effectively only a single way to transport that format on the serial buses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please refer to the file below-given location for more details on BGR configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;Linux_src_code&amp;gt;/&lt;WBR /&gt;Documentation/userspace-api/&lt;WBR /&gt;media/v4l/subdev-formats.rst&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It will help you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 09:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bayer-Image-format-not-properly-visible/m-p/1649303#M205769</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-12T09:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bayer Image format not properly visible</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bayer-Image-format-not-properly-visible/m-p/1654360#M206239</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;MEDIA_BUS_FMT_BGR888_1X24&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;format is not supported in mx6_capture driver. Do you know how we can add this in the capture driver?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 05:19:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bayer-Image-format-not-properly-visible/m-p/1654360#M206239</guid>
      <dc:creator>jiju</dc:creator>
      <dc:date>2023-05-22T05:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bayer Image format not properly visible</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bayer-Image-format-not-properly-visible/m-p/1655229#M206305</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213008"&gt;@jiju&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Please accept my apology for the inconvenience.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;The image you have attached appears to be correct. The color space of the image is BGGR, which is the default color space for the i.MX8M mini EVK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;The MEDIA_BUS_FMT_BGR888_1X24 format is not supported in the mx6_capture driver because it is not a standard V4L2 pixel format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;The configuration you are using is also correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please check the camera driver configuration &amp;amp; its sensor settings that are made.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One can check the camera configuration examples for reference at a given location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;source_code&amp;gt;/Documentation/&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;devicetree/bindings/display&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this information helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 04:30:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bayer-Image-format-not-properly-visible/m-p/1655229#M206305</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-23T04:30:59Z</dc:date>
    </item>
  </channel>
</rss>

