<?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: [LF-5.15.32-2.0.0] Add RAW10 support in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1512855#M194371</link>
    <description>&lt;P&gt;Dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Have you had any update on this, please ?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 04:29:33 GMT</pubDate>
    <dc:creator>khang_letruong</dc:creator>
    <dc:date>2022-08-29T04:29:33Z</dc:date>
    <item>
      <title>[LF-5.15.32-2.0.0] Add RAW10 support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1504583#M193711</link>
      <description>&lt;P&gt;Dear NXP Team,&lt;/P&gt;&lt;P&gt;I am migrating to the latest BSP release :&lt;/P&gt;&lt;P&gt;In &lt;EM&gt;drivers/staging/media/imx/imx8-isi-cap.c &lt;/EM&gt;:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/*
 * Pixel link input format
 */
struct mxc_isi_fmt mxc_isi_src_formats[] = {
	{
		.name		= "RGB32",
		.fourcc		= V4L2_PIX_FMT_RGB32,
		.depth		= { 32 },
		.memplanes	= 1,
		.colplanes	= 1,
		.align		= 2,
	}, {
		.name		= "YUV32 (X-Y-U-V)",
		.fourcc		= V4L2_PIX_FMT_YUV32,
		.depth		= { 32 },
		.memplanes	= 1,
		.colplanes	= 1,
		.align		= 2,
+	}, {
+		.name		= "RAWRGB10 (SRGGB10)",
+		.fourcc		= V4L2_PIX_FMT_SRGGB10,
+		.depth		= { 16 },
+		.memplanes	= 1,
+		.colplanes	= 1,
+		.align		= 3,
	}
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in &lt;EM&gt;drivers/staging/media/imx/imx8-isi-fmt.c&lt;/EM&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;struct mxc_isi_fmt mxc_isi_out_formats[] = {
	{
		.name		= "RGB565",
		.fourcc		= V4L2_PIX_FMT_RGB565,
		.depth		= { 16 },
		.color		= MXC_ISI_OUT_FMT_RGB565,
		.memplanes	= 1,
		.colplanes	= 1,
		.align		= 3,
		.mbus_code  = MEDIA_BUS_FMT_RGB565_1X16,
	}, {
		.name		= "RGB24",
		.fourcc		= V4L2_PIX_FMT_RGB24,
		.depth		= { 24 },
		.color		= MXC_ISI_OUT_FMT_BGR32P,
		.memplanes	= 1,
		.colplanes	= 1,
		.align		= 2,
		.mbus_code  = MEDIA_BUS_FMT_RGB888_1X24,
	}, {
		.name		= "BGR24",
		.fourcc		= V4L2_PIX_FMT_BGR24,
		.depth		= { 24 },
		.color		= MXC_ISI_OUT_FMT_RGB32P,
		.memplanes	= 1,
		.colplanes	= 1,
		.align		= 2,
		.mbus_code  = MEDIA_BUS_FMT_BGR888_1X24,
	}, {
		.name		= "YUYV-16",
		.fourcc		= V4L2_PIX_FMT_YUYV,
		.depth		= { 16 },
		.color		= MXC_ISI_OUT_FMT_YUV422_1P8P,
		.memplanes	= 1,
		.colplanes	= 1,
		.align		= 3,
		.mbus_code	= MEDIA_BUS_FMT_YUYV8_1X16,
	}, {
		.name		= "YUV32 (X-Y-U-V)",
		.fourcc		= V4L2_PIX_FMT_YUV32,
		.depth		= { 32 },
		.color		= MXC_ISI_OUT_FMT_YUV444_1P8,
		.memplanes	= 1,
		.colplanes	= 1,
		.align		= 2,
		.mbus_code	= MEDIA_BUS_FMT_AYUV8_1X32,
	}, {
		.name		= "NV12 (YUYV)",
		.fourcc		= V4L2_PIX_FMT_NV12,
		.depth		= { 8, 8 },
		.color		= MXC_ISI_OUT_FMT_YUV420_2P8P,
		.memplanes	= 2,
		.colplanes	= 2,
		.align		= 4,
		.mbus_code	= MEDIA_BUS_FMT_YUYV8_1X16,
	}, {
		.name		= "YUV444M (Y-U-V)",
		.fourcc		= V4L2_PIX_FMT_YUV444M,
		.depth		= { 8, 8, 8 },
		.color		= MXC_ISI_OUT_FMT_YUV444_3P8P,
		.memplanes	= 3,
		.colplanes	= 3,
		.align		= 4,
		.mbus_code	= MEDIA_BUS_FMT_YUV8_1X24,
	}, {
		.name		= "xBGR32",
		.fourcc		= V4L2_PIX_FMT_XBGR32,
		.depth		= { 32 },
		.color		= MXC_ISI_OUT_FMT_XRGB32,
		.memplanes	= 1,
		.colplanes	= 1,
		.align		= 2,
		.mbus_code	= MEDIA_BUS_FMT_RGB888_1X24,
	}, {
		.name		= "ABGR32",
		.fourcc		= V4L2_PIX_FMT_ABGR32,
		.depth		= { 32 },
		.color		= MXC_ISI_OUT_FMT_ARGB32,
		.memplanes	= 1,
		.colplanes	= 1,
		.align		= 2,
		.mbus_code	= MEDIA_BUS_FMT_RGB888_1X24,
+	}, {
+		.name		= "RAWRGB10 (SRGGB10)",
+		.fourcc		= V4L2_PIX_FMT_SRGGB10,
+		.depth		= { 16 },
+		.color 		= MXC_ISI_OUT_FMT_RAW16,
+		.memplanes	= 1,
+		.colplanes	= 1,
+		.align		= 3,
+		.mbus_code	= MEDIA_BUS_FMT_SRGGB10_1X10,
	}
};&lt;/LI-CODE&gt;&lt;P&gt;Compared to previous 5.10 releases, there''s additional &lt;STRONG&gt;.align&lt;/STRONG&gt; field. I would like to know what is the suitable value for the RAW10 format as in the code snippet, please ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance and best regards,&lt;BR /&gt;Khang&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 06:22:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1504583#M193711</guid>
      <dc:creator>khang_letruong</dc:creator>
      <dc:date>2022-08-11T06:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: [LF-5.15.32-2.0.0] Add RAW10 support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1508661#M194043</link>
      <description>&lt;P&gt;let me double check this and tell you later&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 08:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1508661#M194043</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-08-19T08:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: [LF-5.15.32-2.0.0] Add RAW10 support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1512855#M194371</link>
      <description>&lt;P&gt;Dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Have you had any update on this, please ?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 04:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1512855#M194371</guid>
      <dc:creator>khang_letruong</dc:creator>
      <dc:date>2022-08-29T04:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: [LF-5.15.32-2.0.0] Add RAW10 support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1514511#M194524</link>
      <description>&lt;P&gt;I still don't get any feedback from internal team&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 09:03:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1514511#M194524</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-08-31T09:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: [LF-5.15.32-2.0.0] Add RAW10 support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1515457#M194603</link>
      <description>&lt;P&gt;I don't get reply, but I read the code and found the patch for align is that bsp team a&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="n"&gt;4l_bound_align_image, then you can find this function is defined in the &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="n"&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/v4l2-core/v4l2-common.c?h=lf-5.15.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/v4l2-core/v4l2-common.c?h=lf-5.15.y&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="n"&gt;you can focus on the function &lt;/SPAN&gt;&lt;SPAN class="o"&gt;*&lt;/SPAN&gt;&lt;SPAN class="n"&gt;w&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;clamp_align&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="o"&gt;*&lt;/SPAN&gt;&lt;SPAN class="n"&gt;w&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;wmin&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;wmax&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;walign&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;,&amp;nbsp; you can to find how to define the clamp_align then figure out what walign is for &lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 09:32:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LF-5-15-32-2-0-0-Add-RAW10-support/m-p/1515457#M194603</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-09-01T09:32:05Z</dc:date>
    </item>
  </channel>
</rss>

