<?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: imx8qm mipi csi raw12 Data Storage Problem</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396520#M185567</link>
    <description>&lt;P&gt;for imx8qm ISI, you need to shift,&lt;/P&gt;
&lt;P&gt;• RAW10 {valid_data, 4’b0} . After right shift 4 bits, you will get the correct image.&lt;BR /&gt;• RAW12 {valid_data, 2'b0} . After right shift 2 bits, you will get the correct image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jan 2022 04:57:11 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2022-01-10T04:57:11Z</dc:date>
    <item>
      <title>imx8qm mipi csi raw12 Data Storage Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396154#M185526</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Now I can get the RAW12 data on IMX8QM&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;。&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Use this way&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; : sensor -&amp;gt; mipi csi (raw12) -&amp;gt; isi (raw16) -&amp;gt; user&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;But I found that data seems to have problems.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;For example, Sensor raw data is 0x1234, but I get 0x3412&lt;/SPAN&gt;&lt;/SPAN&gt;，h&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;igher and low bytes have an interchange。&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;How can I modify to solve this problem? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 12:46:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396154#M185526</guid>
      <dc:creator>zoro_li</dc:creator>
      <dc:date>2022-01-07T12:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qm mipi csi raw12 Data Storage Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396520#M185567</link>
      <description>&lt;P&gt;for imx8qm ISI, you need to shift,&lt;/P&gt;
&lt;P&gt;• RAW10 {valid_data, 4’b0} . After right shift 4 bits, you will get the correct image.&lt;BR /&gt;• RAW12 {valid_data, 2'b0} . After right shift 2 bits, you will get the correct image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 04:57:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396520#M185567</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-01-10T04:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qm mipi csi raw12 Data Storage Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396526#M185569</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;hi&amp;nbsp; joanxie:&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your replay.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Now my way is to swap high and low bytes and then right shift 2 bits to get correct image.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;I don't know why I need to exchange high and low bytes of data here. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I feel that there are some problems here.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 05:23:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396526#M185569</guid>
      <dc:creator>zoro_li</dc:creator>
      <dc:date>2022-01-10T05:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qm mipi csi raw12 Data Storage Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396541#M185570</link>
      <description>&lt;P&gt;you need to set 16bits as format, then shift two bits to get correct data, ISI doesn't have exchange issue, you need check your source code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 06:02:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396541#M185570</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-01-10T06:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qm mipi csi raw12 Data Storage Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396546#M185572</link>
      <description>&lt;P&gt;hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;My input and output configuration is as follows, is there any problem?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;       {
+               .name           = "SBGGR12",
+               .fourcc         = V4L2_PIX_FMT_SBGGR12,
+               .depth          = { 16 },
+               .color          = MXC_ISI_OUT_FMT_RAW16,
+               .memplanes      = 1,
+               .colplanes      = 1,
+               .mbus_code      = MEDIA_BUS_FMT_SBGGR12_1X12,
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;input:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;{
+ .name = "SBGGR12",
+ .fourcc = V4L2_PIX_FMT_SBGGR12,
+ .depth = { 16 },
+ .memplanes = 1,
+ .colplanes = 1,
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 06:09:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1396546#M185572</guid>
      <dc:creator>zoro_li</dc:creator>
      <dc:date>2022-01-10T06:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qm mipi csi raw12 Data Storage Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1415179#M187117</link>
      <description>&lt;P&gt;which file did you set this? is it the ISI file?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 09:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1415179#M187117</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-02-17T09:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qm mipi csi raw12 Data Storage Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1434401#M188643</link>
      <description>&lt;P&gt;drivers/staging/media/imx/imx8-isi-cap.c&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2022 09:19:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1434401#M188643</guid>
      <dc:creator>zoro_li</dc:creator>
      <dc:date>2022-03-26T09:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qm mipi csi raw12 Data Storage Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1572424#M199007</link>
      <description>&lt;P&gt;hi zoro_li,&lt;/P&gt;&lt;P&gt;I swaped the high and low bytes, and right shifted 2 bits, then I applied debayering with OpenCV cvtColor(..., ...,&amp;nbsp;cv::COLOR_BayerBG2BGR). After that, I got a gray image., not a colorful one.&lt;/P&gt;&lt;P&gt;Would you please help me find out the problem?&lt;/P&gt;&lt;P&gt;Sensor: IMX577&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 09:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-mipi-csi-raw12-Data-Storage-Problem/m-p/1572424#M199007</guid>
      <dc:creator>chendd14</dc:creator>
      <dc:date>2022-12-20T09:20:34Z</dc:date>
    </item>
  </channel>
</rss>

