<?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: i.MX6: Alpha blending example code in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495231#M79672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ganesan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you very much for the examples !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think it should also function for RGBA6666 too ?&lt;/P&gt;&lt;P&gt;I need to use LVDS output, and I only find that several people tried to do it, but it seems that no one had much success:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/337488"&gt;RGBA/ARGB LVDS output from i.MX6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also find the following examples:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imxsupport/ipu-examples/" title="https://source.codeaurora.org/external/imxsupport/ipu-examples/"&gt;ipu-examples - i.MX IPU Examples&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it seems that RGBA is allways 8888 in these examples, and there is no RGBA6666.&lt;/P&gt;&lt;P&gt;I also don't find RGBA666 in the header file of IPU&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://elixir.bootlin.com/linux/v3.6/source/arch/arm/plat-mxc/include/mach/ipu.h#L82" title="https://elixir.bootlin.com/linux/v3.6/source/arch/arm/plat-mxc/include/mach/ipu.h#L82"&gt;Linux source code: arch/arm/plat-mxc/include/mach/ipu.h (v3.6) - Bootlin&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the time,&lt;/P&gt;&lt;P&gt;ranran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2018 10:25:53 GMT</pubDate>
    <dc:creator>rans</dc:creator>
    <dc:date>2018-12-12T10:25:53Z</dc:date>
    <item>
      <title>i.MX6: Alpha blending example code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495225#M79666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was looking for good examples to understand alpha blending methods supported in i.MX6. I got one good example which is operating at IPU driver level but not at frame-buffer level. After lot of searches in google and trying bits and pieces of code based on i.MX6 reference manual and i.MX6 Linux reference manual I developed test code for three types of alpha blending,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Global alpha blending&lt;/LI&gt;&lt;LI&gt;Local alpha blending with alpha values passed in a separate buffer (24-bit bpp)&lt;/LI&gt;&lt;LI&gt;Local alpha with alpha value in pixels (32-bit bpp Ex. RGBA/BGRA)&lt;/LI&gt;&lt;/UL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could test this code on the target and it helped me to understand those methods better. I am sharing my test code here so that it will be useful to anyone in the community. Enable one of the alpha methods at the compile time and run it on the target.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganesan. K &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336411"&gt;imx6_alpha_blending_example.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 15:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495225#M79666</guid>
      <dc:creator>ganesank</dc:creator>
      <dc:date>2016-02-08T15:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: Alpha blending example code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495226#M79667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 04:24:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495226#M79667</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-09T04:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: Alpha blending example code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495227#M79668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used kernel headers for mxcfb.h in my test code. I don't know how to make this available in the user space in the Yocto build framework. Has anyone done it so far? Is there a patch to export this header to sysroots/ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:09:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495227#M79668</guid>
      <dc:creator>ganesank</dc:creator>
      <dc:date>2016-02-17T09:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: Alpha blending example code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495228#M79669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesan, Can I ask which Kernel version are you using for this test code?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I am trying to run this for alpha in pixels but it doesn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I am thinking I might need right kernel version. My kernel is 3.14.28.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 07:25:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495228#M79669</guid>
      <dc:creator>jamesmin</dc:creator>
      <dc:date>2016-03-15T07:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: Alpha blending example code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495229#M79670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The kernel version is 3.10.17&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 07:46:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495229#M79670</guid>
      <dc:creator>ganesank</dc:creator>
      <dc:date>2016-03-25T07:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: Alpha blending example code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495230#M79671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply Ganesan.&lt;/P&gt;&lt;P&gt;Also your test code works find to me as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 04:24:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495230#M79671</guid>
      <dc:creator>jamesmin</dc:creator>
      <dc:date>2016-03-30T04:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: Alpha blending example code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495231#M79672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ganesan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you very much for the examples !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think it should also function for RGBA6666 too ?&lt;/P&gt;&lt;P&gt;I need to use LVDS output, and I only find that several people tried to do it, but it seems that no one had much success:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/337488"&gt;RGBA/ARGB LVDS output from i.MX6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also find the following examples:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imxsupport/ipu-examples/" title="https://source.codeaurora.org/external/imxsupport/ipu-examples/"&gt;ipu-examples - i.MX IPU Examples&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it seems that RGBA is allways 8888 in these examples, and there is no RGBA6666.&lt;/P&gt;&lt;P&gt;I also don't find RGBA666 in the header file of IPU&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://elixir.bootlin.com/linux/v3.6/source/arch/arm/plat-mxc/include/mach/ipu.h#L82" title="https://elixir.bootlin.com/linux/v3.6/source/arch/arm/plat-mxc/include/mach/ipu.h#L82"&gt;Linux source code: arch/arm/plat-mxc/include/mach/ipu.h (v3.6) - Bootlin&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the time,&lt;/P&gt;&lt;P&gt;ranran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 10:25:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495231#M79672</guid>
      <dc:creator>rans</dc:creator>
      <dc:date>2018-12-12T10:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: Alpha blending example code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495232#M79673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What kernel version are you using for&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;alpha in pixels, I found alpha in pixels is not used in&amp;nbsp;MXCFB_SET_LOC_ALPHA &amp;nbsp;kernel code of 4.14.98&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2019 05:53:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495232#M79673</guid>
      <dc:creator>zhengl</dc:creator>
      <dc:date>2019-10-29T05:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: Alpha blending example code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495233#M79674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="direction: ltr;"&gt;Hello Zheng,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Not sure I understand... Is it possible to do alpha blending with imx6 ?&lt;BR /&gt;As far as I understand from previous answers this feature is not supported,&lt;/P&gt;&lt;P style="direction: ltr;"&gt;So, did you manage to do alpha blending with imx6 ? How ?&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2019 09:04:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/495233#M79674</guid>
      <dc:creator>rans</dc:creator>
      <dc:date>2019-10-29T09:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: Alpha blending example code</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/1555515#M197649</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/46120" target="_self"&gt;&lt;SPAN class=""&gt;ganesank:&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; Does your&amp;nbsp; test example "&lt;STRONG&gt;&lt;A href="https://community.nxp.com/docs/DOC-336411" target="_blank" rel="noopener"&gt;imx6_alpha_blending_example.c.zip&lt;/A&gt;"&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;still be ? I could not downlaod it , could you please send my one ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 05:47:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-Alpha-blending-example-code/m-p/1555515#M197649</guid>
      <dc:creator>jiangyaqiang</dc:creator>
      <dc:date>2022-11-17T05:47:14Z</dc:date>
    </item>
  </channel>
</rss>

