<?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中的主题 HDR problem in IMX8MP</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1948616#M228123</link>
    <description>&lt;P&gt;i have implement OV2740 with ISP in IMX8MP. but i can't use the HDR function.&lt;/P&gt;&lt;P&gt;the OV2740 supports two modes of HDR: HDR-lite and staggered HDR. i put the details here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fengyus_0-1725585858632.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297479i916FC066FA5E495D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fengyus_0-1725585858632.png" alt="fengyus_0-1725585858632.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fengyus_1-1725585869146.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297480iF19A544219DCAFBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fengyus_1-1725585869146.png" alt="fengyus_1-1725585869146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and about the staggered HDR, i have confirmed that VC0 and VC1 are output&amp;nbsp;simultaneously with their MIPI line signals&amp;nbsp;interlaced. it's not frame interlaced. it's line interlaced.&lt;/P&gt;&lt;P&gt;so does the ISP of IMX8MP support this two HDR mode?&lt;/P&gt;&lt;P&gt;if support, how should i enable the HDR? i have tried the staggered HDR. but i failed. here is my edit to my source codes about the HDR:&lt;/P&gt;&lt;P&gt;in isp-imx source codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fengyus_2-1725586466723.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297482iC9972C2E77E0E59C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fengyus_2-1725586466723.png" alt="fengyus_2-1725586466723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in isp-vvcam source codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp; i find the&amp;nbsp;static struct vvcam_mode_info_s pov2740_mode_info[]; in vvcam/v4l2/sensor/ov2740/ov2740_mipi_v3.c. and in its mode1, i set&amp;nbsp;&lt;/P&gt;&lt;P&gt;.hdr_mode = SENSOR_MODE_HDR_STITCH,&lt;BR /&gt;.stitching_mode = SENSOR_STITCHING_L_AND_S,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then i compile and flash into my board. when i run Gstreamer command, i can't see any error logs. but i can't display the video streaming. the HDMI screen just shows the desktop without any video display.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fengyus_3-1725586803786.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297484i07E3517DF986F968/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fengyus_3-1725586803786.png" alt="fengyus_3-1725586803786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2024 01:45:13 GMT</pubDate>
    <dc:creator>fengyus</dc:creator>
    <dc:date>2024-09-06T01:45:13Z</dc:date>
    <item>
      <title>HDR problem in IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1948616#M228123</link>
      <description>&lt;P&gt;i have implement OV2740 with ISP in IMX8MP. but i can't use the HDR function.&lt;/P&gt;&lt;P&gt;the OV2740 supports two modes of HDR: HDR-lite and staggered HDR. i put the details here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fengyus_0-1725585858632.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297479i916FC066FA5E495D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fengyus_0-1725585858632.png" alt="fengyus_0-1725585858632.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fengyus_1-1725585869146.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297480iF19A544219DCAFBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fengyus_1-1725585869146.png" alt="fengyus_1-1725585869146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and about the staggered HDR, i have confirmed that VC0 and VC1 are output&amp;nbsp;simultaneously with their MIPI line signals&amp;nbsp;interlaced. it's not frame interlaced. it's line interlaced.&lt;/P&gt;&lt;P&gt;so does the ISP of IMX8MP support this two HDR mode?&lt;/P&gt;&lt;P&gt;if support, how should i enable the HDR? i have tried the staggered HDR. but i failed. here is my edit to my source codes about the HDR:&lt;/P&gt;&lt;P&gt;in isp-imx source codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fengyus_2-1725586466723.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297482iC9972C2E77E0E59C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fengyus_2-1725586466723.png" alt="fengyus_2-1725586466723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in isp-vvcam source codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp; i find the&amp;nbsp;static struct vvcam_mode_info_s pov2740_mode_info[]; in vvcam/v4l2/sensor/ov2740/ov2740_mipi_v3.c. and in its mode1, i set&amp;nbsp;&lt;/P&gt;&lt;P&gt;.hdr_mode = SENSOR_MODE_HDR_STITCH,&lt;BR /&gt;.stitching_mode = SENSOR_STITCHING_L_AND_S,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then i compile and flash into my board. when i run Gstreamer command, i can't see any error logs. but i can't display the video streaming. the HDMI screen just shows the desktop without any video display.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fengyus_3-1725586803786.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297484i07E3517DF986F968/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fengyus_3-1725586803786.png" alt="fengyus_3-1725586803786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 01:45:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1948616#M228123</guid>
      <dc:creator>fengyus</dc:creator>
      <dc:date>2024-09-06T01:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: HDR problem in IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1950474#M228215</link>
      <description>&lt;P&gt;refer to the reference manual&lt;/P&gt;
&lt;P&gt;High Dynamic Range (HDR)&lt;BR /&gt;• Native HDR sensor with compand output and max 14-bit compressed input&lt;BR /&gt;• 2-exposure and 3-exposure line-interleaved &lt;STRONG&gt;(staggered)&lt;/STRONG&gt; HDR&lt;BR /&gt;• Full resolution for multiple exposures is output by the image sensor, and the&lt;BR /&gt;sensor outputs are interleaved on a per-line basis. No impact to vertical&lt;BR /&gt;resolution, but frame rate is reduced by a factor of 2 (for 2-exposure HDR)&lt;BR /&gt;or 3 (for 3-exposure HDR).&lt;BR /&gt;• Referred to as DOL-HDR (Digital Overlap High Dynamic Range) and as&lt;BR /&gt;Staggered HDR (12-bit x3)&lt;BR /&gt;• A separate Dewarp engine is also supported to adjust an image (i.e. fisheye lens) at a&lt;BR /&gt;resolution up to the max resolution supported by the ISP.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joanxie_0-1725933768978.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298032i0A10F08CBE655D13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="joanxie_0-1725933768978.png" alt="joanxie_0-1725933768978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so the ISP can support&amp;nbsp;staggered HDR, but couldn't support 2-exposure line-interleaved HDR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 02:03:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1950474#M228215</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-09-10T02:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: HDR problem in IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1950520#M228219</link>
      <description>&lt;P&gt;thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;so in my case, the ISP supports OV2740's staggered HDR mode but doesn't support OV2740's HDR-lite mode?&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am also using the OV2740's staggered HDR and i am sure the MIPI signal of OV2740 has changed to the staggered HDR mode after my i2c settings to the sensor. but i failed to output images with the ISP. can you give some advise about how to edit the source codes to make the ISP&amp;nbsp;adapt to the OV2740's staggered HDR mode? you can see my edit above in this topic.&lt;/P&gt;&lt;P&gt;by the way, the MIPI signal of OV2740 is RAW10 format. and please note again, in the staggered HDR mode, it's multi-VC. VC0 and VC1 are line-interlaced. it doesn't matter, right?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 02:40:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1950520#M228219</guid>
      <dc:creator>fengyus</dc:creator>
      <dc:date>2024-09-10T02:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: HDR problem in IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1951008#M228254</link>
      <description>&lt;P&gt;so in my case, the ISP supports OV2740's staggered HDR mode but doesn't support OV2740's HDR-lite mode?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;refer to the RM, only 2-exposure line-interleaved HDR isn't supported by ISP&lt;/P&gt;
&lt;P&gt;can you give some advise about how to edit the source codes to make the ISP&amp;nbsp;adapt to the OV2740's staggered HDR mode? you can see my edit above in this topic.&lt;/P&gt;
&lt;P&gt;&amp;gt;I got a patch before to test this, I sent to you by mail, you can try to test it firstly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 10:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1951008#M228254</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-09-10T10:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: HDR problem in IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1952998#M228362</link>
      <description>&lt;P&gt;thanks a lot for your patch file.&lt;/P&gt;&lt;P&gt;i have tried the patch file.&amp;nbsp;unfortunately, it doesn't work. i still can't display the video stream when set to staggered HDR mode.&lt;/P&gt;&lt;P&gt;i find the register (which you set in the patch file) instruction from the manuals as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fengyus_0-1726113810772.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298738i1C47264158897947/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fengyus_0-1726113810772.png" alt="fengyus_0-1726113810772.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it shows you set it as 0x3,and it's reserved. are you sure to set it as 0x3?&lt;/P&gt;&lt;P&gt;both 0x2 and 0x3 are all reserved. i think they should have&amp;nbsp;actual meaning. they are just not released to customer. do you know their&amp;nbsp;actual meaning? can you tell me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 04:08:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HDR-problem-in-IMX8MP/m-p/1952998#M228362</guid>
      <dc:creator>fengyus</dc:creator>
      <dc:date>2024-09-12T04:08:22Z</dc:date>
    </item>
  </channel>
</rss>

