<?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: imx8m plus camera input resolution not changing in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-plus-camera-input-resolution-not-changing/m-p/1461002#M190579</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we're using Android and don't have the v4l2 controls. &amp;nbsp;Are you saying if we wish this functionality I need to modify the driver?&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 15:00:32 GMT</pubDate>
    <dc:creator>dennis3</dc:creator>
    <dc:date>2022-05-19T15:00:32Z</dc:date>
    <item>
      <title>imx8m plus camera input resolution not changing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-plus-camera-input-resolution-not-changing/m-p/1460327#M190545</link>
      <description>&lt;P&gt;On our previous processor (imx8m quad), our camera driver received v4l2 ioctl commands (via &amp;lt;dev&amp;gt;_s_parm) to set the desired video mode with the&amp;nbsp;V4L2_BUF_TYPE_VIDEO_CAPTURE ioctl. &amp;nbsp;The driver would pass in&amp;nbsp;parm.capture.capturemode that was one of the modes reported earlier in get enum_framesizes ioctl.&lt;/P&gt;&lt;P&gt;Our driver v4l2 subdev driver hasn't changed much between the two different kernels. Now, on the imx8m plus, it looks like the capture ioctl never get called though. &amp;nbsp;Instead. we get an &amp;lt;dev&amp;gt;_s_stream command but then the sensor is always left in the same default state for it's resolution. &amp;nbsp;The output resolution looks to be being scaled by the ISI layer instead. &amp;nbsp;For example, if I select via the camera api to stream 640x480, I'll see something like this in the dmesg output:&lt;/P&gt;&lt;P&gt;mxc-isi 32e00000.isi: input_size(2880,2016), output_size(640,480)&lt;/P&gt;&lt;P&gt;So it appears I'm missing something on how to configure in the HAL or driver layer that will allow the driver to change the capture size from the image sensor. &amp;nbsp;Any hints where this might be? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 21:07:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-plus-camera-input-resolution-not-changing/m-p/1460327#M190545</guid>
      <dc:creator>dennis3</dc:creator>
      <dc:date>2022-05-18T21:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: imx8m plus camera input resolution not changing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-plus-camera-input-resolution-not-changing/m-p/1460580#M190557</link>
      <description>&lt;P&gt;if you want to use v4l2 ctrl to change the resolution, you can try to use "v4l2-ctl -d /dev/video0 --verbose --set-fmt-video=width=xx,height=xx"&lt;/P&gt;
&lt;P&gt;for ISI drivers, pls find the source code&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/staging/media/imx/imx8-isi-cap.c?h=lf-5.15.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/staging/media/imx/imx8-isi-cap.c?h=lf-5.15.y&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 05:47:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-plus-camera-input-resolution-not-changing/m-p/1460580#M190557</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-05-19T05:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: imx8m plus camera input resolution not changing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-plus-camera-input-resolution-not-changing/m-p/1461002#M190579</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we're using Android and don't have the v4l2 controls. &amp;nbsp;Are you saying if we wish this functionality I need to modify the driver?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 15:00:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-plus-camera-input-resolution-not-changing/m-p/1461002#M190579</guid>
      <dc:creator>dennis3</dc:creator>
      <dc:date>2022-05-19T15:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: imx8m plus camera input resolution not changing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-plus-camera-input-resolution-not-changing/m-p/1461919#M190667</link>
      <description>&lt;P&gt;android share the same linux kernel, you can find frame size setting in the&amp;nbsp; ISI driver as below:&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/staging/media/imx/imx8-isi-cap.c?h=lf-5.15.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/staging/media/imx/imx8-isi-cap.c?h=lf-5.15.y&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 12:24:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-plus-camera-input-resolution-not-changing/m-p/1461919#M190667</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-05-21T12:24:03Z</dc:date>
    </item>
  </channel>
</rss>

