<?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: How to activate IC resizer in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991052#M147127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have parked the project for a while, but now I'm retrying to use the hw to resize the image captured from the csi. I can't use gstreamer, but what I want to do is to obtain a resized image directly from the imx. For me it's not clear what to do and I can't find any example. I think it is similar to the rotation. So, I think, I should set the resize coefficient and the downsize coefficient. And then? Should I redirect and enable idmac channel? But which?&lt;/P&gt;&lt;P&gt;Is there a more detailed explanation of the preprocessing and post processing processes?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2020 17:26:49 GMT</pubDate>
    <dc:creator>denismatteazzi</dc:creator>
    <dc:date>2020-04-16T17:26:49Z</dc:date>
    <item>
      <title>How to activate IC resizer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991046#M147121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;I'm trying to activate the resizer hardware of the i.mx6 Dual. I can't understand how to do that.&lt;/P&gt;&lt;P&gt;I'm using kernel 4.9.11 and it's not possible for me to update it. So I'm trying to manipulate driver for my purpose.&lt;/P&gt;&lt;P&gt;I use an external camera connected con CSI0. It works fine. I&amp;nbsp;would&amp;nbsp;to resize from 1920x1080 to 640x360 i.e. 3:1 ratio.&lt;/P&gt;&lt;P&gt;The camera format is YUYV 4:2:2. I suppose I should use postprocessing of the IC, but I'm not sure. I set the IC_PP_RSC register. I set the value 2 into&amp;nbsp;CSI_SENS_CONF_DATA field of the CSI_SENS_CONF register. But nothing happens.&amp;nbsp;I suppose I should activate some IDMAC channels.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 11:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991046#M147121</guid>
      <dc:creator>dmatteazzi</dc:creator>
      <dc:date>2020-01-22T11:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate IC resizer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991047#M147122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try this function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void ipu_ic_init_pp (struct ipu_soc *ipu, uint32_t original_width, &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; uint32_t original_height, &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; uint32_t destination_width,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; uint32_t destination_height, &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; uint32_t pixel_format)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ipu_channel_params_t params;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.outv_resize_ratio = 0;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.outh_resize_ratio = 0;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.in_height = original_height;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.out_height = destination_height;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.in_width = original_width;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.out_width = destination_width;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.in_pixel_fmt = pixel_format;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.out_pixel_fmt = pixel_format;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.graphics_combine_en = false;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.global_alpha_en = false;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; params.mem_pp_mem.key_color_en = false;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; _ipu_ic_init_pp (ipu, &amp;amp;params);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But nothing changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 14:14:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991047#M147122</guid>
      <dc:creator>dmatteazzi</dc:creator>
      <dc:date>2020-01-22T14:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate IC resizer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991048#M147123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Denis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at resize example on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imxsupport/ipu-examples/tree/mx6/resizing" title="https://source.codeaurora.org/external/imxsupport/ipu-examples/tree/mx6/resizing"&gt;resizing\mx6 - ipu-examples - i.MX IPU Examples&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 23:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991048#M147123</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-01-22T23:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate IC resizer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991049#M147124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I saw the example. Interesting&lt;/P&gt;&lt;P&gt;Thanks for your answer but in the example it is necessary to open a device (mxc_cpu) and send to it the raw image.&lt;/P&gt;&lt;P&gt;What I would to do is to connect CSI to IC, resize the image, and then read the image.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 14:11:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991049#M147124</guid>
      <dc:creator>denism</dc:creator>
      <dc:date>2020-01-23T14:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate IC resizer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991050#M147125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there are also example in baremetal sdk (1.1.0_iMX6_Platform_SDK.zip) available on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/432859"&gt;SMP Enable in IMX6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Description can be found in sect.18.10.4 Image resizing example iMX6_Firmware_Guide.pdf&lt;/P&gt;&lt;P&gt;included in package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gstreamer examples : sect. 7.3.15 Video conversion Linux Guide included in&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=L4.19.35_1.1.0_LINUX_DOCS" target="_blank"&gt;Linux 4.19.35_1.1.0 Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 04:46:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991050#M147125</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-01-24T04:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate IC resizer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991051#M147126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igorpadykiv,&lt;/P&gt;&lt;P&gt;I tried to use the /dev/mxc_ipu but when I do ioctl whith IPU_ALLOC I receive a message like this:&lt;/P&gt;&lt;P&gt;Inappropriate ioctl for device&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 16:47:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991051#M147126</guid>
      <dc:creator>denism</dc:creator>
      <dc:date>2020-01-24T16:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate IC resizer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991052#M147127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have parked the project for a while, but now I'm retrying to use the hw to resize the image captured from the csi. I can't use gstreamer, but what I want to do is to obtain a resized image directly from the imx. For me it's not clear what to do and I can't find any example. I think it is similar to the rotation. So, I think, I should set the resize coefficient and the downsize coefficient. And then? Should I redirect and enable idmac channel? But which?&lt;/P&gt;&lt;P&gt;Is there a more detailed explanation of the preprocessing and post processing processes?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 17:26:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-activate-IC-resizer/m-p/991052#M147127</guid>
      <dc:creator>denismatteazzi</dc:creator>
      <dc:date>2020-04-16T17:26:49Z</dc:date>
    </item>
  </channel>
</rss>

