<?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: IMX8MP CSI RAW12 data shifting</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-CSI-RAW12-data-shifting/m-p/1927231#M227088</link>
    <description>&lt;P&gt;&lt;SPAN&gt;malik_cisse,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for the suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do you&amp;nbsp;&amp;nbsp;"declare the video to be Bit in the kernel driver and in the isp-imx wrapper"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you point out the files and format?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 09:27:05 GMT</pubDate>
    <dc:creator>jjiimmyy</dc:creator>
    <dc:date>2024-08-07T09:27:05Z</dc:date>
    <item>
      <title>IMX8MP CSI RAW12 data shifting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-CSI-RAW12-data-shifting/m-p/1926819#M227054</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Our sensor is sending RAW 12 ,but only 10 bits are valid. So&lt;/P&gt;&lt;P&gt;data need to be shift left by 2 bits.&amp;nbsp;&lt;/P&gt;&lt;P&gt;video pipeline is currently setup as, sensor -&amp;gt; csi -&amp;gt; isp.&lt;/P&gt;&lt;P&gt;How and where can I have data shifted left by 2 bits in this video pipeline?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 02:02:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-CSI-RAW12-data-shifting/m-p/1926819#M227054</guid>
      <dc:creator>jjiimmyy</dc:creator>
      <dc:date>2024-08-07T02:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP CSI RAW12 data shifting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-CSI-RAW12-data-shifting/m-p/1927094#M227076</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;Did you try to declare the video to be Bit in the kernel driver and in the isp-imx wrapper?&lt;BR /&gt;I suppose the Bayer pixel will be transmitted as 16bit/pixel anyway and the IP will do the shifting automatically according to the bit depth you have declared in the driver.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 07:20:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-CSI-RAW12-data-shifting/m-p/1927094#M227076</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2024-08-07T07:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP CSI RAW12 data shifting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-CSI-RAW12-data-shifting/m-p/1927231#M227088</link>
      <description>&lt;P&gt;&lt;SPAN&gt;malik_cisse,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for the suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do you&amp;nbsp;&amp;nbsp;"declare the video to be Bit in the kernel driver and in the isp-imx wrapper"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you point out the files and format?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 09:27:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-CSI-RAW12-data-shifting/m-p/1927231#M227088</guid>
      <dc:creator>jjiimmyy</dc:creator>
      <dc:date>2024-08-07T09:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP CSI RAW12 data shifting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-CSI-RAW12-data-shifting/m-p/1936047#M227458</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The full steps to port a new camera driver are described here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors/225459/1/AN13713(8MP%20ISP%20New%20Camera%20Porting).pdf" target="_blank" rel="noopener"&gt;https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors/225459/1/AN13713(8MP%20IS...&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the bit depth in the sensor kernel driver, here is an example for ar1335 sensor:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/nxp-imx/isp-vvcam/blob/2102360b58d9d1b36bc0c654c8301e4014b33951/vvcam/v4l2/sensor/ar1335/ar1335_mipi_v3.c#L102C2-L102C24" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/nxp-imx/isp-vvcam/blob/2102360b58d9d1b36bc0c654c8301e4014b33951/vvcam/v4l2/sensor...&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.bit_width also needs to be set as shown in this example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in&amp;nbsp;isp_imx\isp-imx-4.2.2.11.0\units\isi\drv\OV2775\source\OV2775.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;static struct vvcam_mode_info pov2775_mode_info[] = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.index = 0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.width = 1920,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.height = 1080,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.fps = 30,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.hdr_mode = SENSOR_MODE_LINEAR,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;STRONG&gt;bit_width = 12,&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;.bayer_pattern = BAYER_GBRG,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that no git repo exis for isp-imx. Only binary is provided as explained in pdf doc above. See example yocto recipe:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/Freescale/meta-freescale/tree/master/recipes-bsp/isp-imx" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Freescale/meta-freescale/tree/master/recipes-bsp/isp-imx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IMHO these are the two only code where bit depth is set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Experts, please correct if I am wrong!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 08:28:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-CSI-RAW12-data-shifting/m-p/1936047#M227458</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2024-08-20T08:28:13Z</dc:date>
    </item>
  </channel>
</rss>

