<?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: MX27 pre-processor colorspace conversion in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239161#M19600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Yossi Shukron: &lt;/STRONG&gt;As you said, I only need to convert RGB to YUV before to encode. So I will try to use the post-processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have to find the source files where the &lt;STRONG style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ppConfigData&lt;/STRONG&gt; structure and other post-processor tools are defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Guanqiong Xie: &lt;/STRONG&gt;You are telling me that I can use the pre-processor when &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;Yossi&lt;/SPAN&gt; &lt;SPAN&gt;Shukron&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt; tell me to use the post-processor, so I'm a bit confused. Maybe both can do the job. As the post-processor is independent of the IPU, it seems easier to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2013 08:45:54 GMT</pubDate>
    <dc:creator>Dilebo</dc:creator>
    <dc:date>2013-05-17T08:45:54Z</dc:date>
    <item>
      <title>MX27 pre-processor colorspace conversion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239158#M19597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have program on an i.MX27 working as follow :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RGB565 video stream input ---&amp;gt; RGB565 to YUV420 colorspace conversion ---&amp;gt; H.264 encoding ---&amp;gt; rtp stream&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote an algorithm to convert RGB to YUV but it's a bit slow for large resolution and I saw that I could &lt;STRONG&gt;use the pre-processor for the conversion&lt;/STRONG&gt; (see &lt;A href="http://www.freescale.com/files/32bit/doc/ref_manual/MCIMX27RM.pdf"&gt;http://www.freescale.com/files/32bit/doc/ref_manual/MCIMX27RM.pdf&lt;/A&gt; section 41.5.5). But I have no idea how to use/configure the pre-processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So I'm looking for any tutorial or documentation about how to use the pre-processor on an MX27.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only found &lt;A _jive_internal="true" href="https://community.nxp.com/message/33151"&gt;https://community.freescale.com/message/33151&lt;/A&gt; which is about post-processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Florentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 10:11:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239158#M19597</guid>
      <dc:creator>Dilebo</dc:creator>
      <dc:date>2013-05-15T10:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: MX27 pre-processor colorspace conversion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239159#M19598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the reason is that only the post processor can be used as stand alone convertor from RGB to YUV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the pre processor have to be used together with other parts of the IPU you can look for examples how &lt;/P&gt;&lt;P&gt;to use it in the IPU driver. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if you just need to convert RGB to YUV you need to use the post processor to do it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 21:38:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239159#M19598</guid>
      <dc:creator>yossishukron</dc:creator>
      <dc:date>2013-05-16T21:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: MX27 pre-processor colorspace conversion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239160#M19599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for your case, I think you can refer to the Table 41-26. Pre-Processing Block Diagram of mx27 RM, your video path is channel 2,The CSC block provides conversion from YUV to RGB and RGB to YUV for CH-1 and RGB to YUV for Channel-2.&lt;/P&gt;&lt;P&gt;After CSC, the data is channelled into memory.&lt;/P&gt;&lt;P&gt;detailed information about CSC, you can refer to the 41.5.5 RGB to YUV of mx27RM, hope helpful for you.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 07:11:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239160#M19599</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2013-05-17T07:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: MX27 pre-processor colorspace conversion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239161#M19600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Yossi Shukron: &lt;/STRONG&gt;As you said, I only need to convert RGB to YUV before to encode. So I will try to use the post-processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have to find the source files where the &lt;STRONG style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ppConfigData&lt;/STRONG&gt; structure and other post-processor tools are defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Guanqiong Xie: &lt;/STRONG&gt;You are telling me that I can use the pre-processor when &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;Yossi&lt;/SPAN&gt; &lt;SPAN&gt;Shukron&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt; tell me to use the post-processor, so I'm a bit confused. Maybe both can do the job. As the post-processor is independent of the IPU, it seems easier to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 08:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239161#M19600</guid>
      <dc:creator>Dilebo</dc:creator>
      <dc:date>2013-05-17T08:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: MX27 pre-processor colorspace conversion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239162#M19601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, PP has CSC module too, but let me remind, VPU just can support yuv format, you must change RGB to YUV before sending video to VPU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 08:59:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239162#M19601</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2013-05-17T08:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: MX27 pre-processor colorspace conversion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239163#M19602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to the RM, PP performs postprocessing functions after video decoding, if you would like to changer format before decoding, I think Prp is better. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 09:03:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239163#M19602</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2013-05-17T09:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: MX27 pre-processor colorspace conversion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239164#M19603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I understood when I read the RM : PrP seems appropriate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found &lt;A href="http://read.pudn.com/downloads123/sourcecode/windows/system/524661/PLATFORM/COMMON/SRC/SOC/FREESCALE/MX27_FSL_V1/DRIVERS/INC/prp.h__.htm"&gt;http://read.pudn.com/downloads123/sourcecode/windows/system/524661/PLATFORM/COMMON/SRC/SOC/FREESCALE/MX27_FSL_V1/DRIVERS/INC/prp.h__.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and &lt;A href="http://read.pudn.com/downloads123/sourcecode/windows/system/524661/PLATFORM/COMMON/SRC/SOC/FREESCALE/MX27_FSL_V1/DRIVERS/EMMA/PRP/SDK/prpsdk.c__.htm"&gt;http://read.pudn.com/downloads123/sourcecode/windows/system/524661/PLATFORM/COMMON/SRC/SOC/FREESCALE/MX27_FSL_V1/DRIVERS/EMMA/PRP/SDK/prpsdk.c__.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's for WinCE so I'm trying to use it with Linux.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 09:18:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239164#M19603</guid>
      <dc:creator>Dilebo</dc:creator>
      <dc:date>2013-05-17T09:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: MX27 pre-processor colorspace conversion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239165#M19604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find application note 2676 is useful for you, you can refer to it, though it's for imx21.&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN2676.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation" title="http://cache.freescale.com/files/32bit/doc/app_note/AN2676.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN2676.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT…&lt;/A&gt;&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 09:32:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239165#M19604</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2013-05-17T09:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: MX27 pre-processor colorspace conversion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239166#M19605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This document seems to be mostly hardware oriented but the section 8 Software Design should help.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 09:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239166#M19605</guid>
      <dc:creator>Dilebo</dc:creator>
      <dc:date>2013-05-17T09:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: MX27 pre-processor colorspace conversion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239167#M19606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The pre-processor is configured in the file driver/media/video/mx27_camera.c&lt;/P&gt;&lt;P&gt;function mx27_camera_set_bus_param()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 14:17:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX27-pre-processor-colorspace-conversion/m-p/239167#M19606</guid>
      <dc:creator>Dilebo</dc:creator>
      <dc:date>2013-05-24T14:17:52Z</dc:date>
    </item>
  </channel>
</rss>

