<?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中的主题 Problem rotating camera stream</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399267#M58753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using android-kitkat BSP (with libcamera2 and kernel 3.0.35) and is having problem rotating the camera stream in IPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set v4l2 control V4L2_CID_MXC_ROT to V4L2_MXC_ROTATE_90_RIGHT (which sets IPU_ROTATE_90_RIGHT), nothing happens to the frame output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried doing the rotation after the camera frame is received from v4l2, using IPU (by following example &lt;A href="https://github.com/rogeriorps/ipu-examples/blob/master/mx6/rotation/example1/rot_ex1.c" title="https://github.com/rogeriorps/ipu-examples/blob/master/mx6/rotation/example1/rot_ex1.c"&gt;ipu-examples/rot_ex1.c at master · rogeriorps/ipu-examples · GitHub))&lt;/A&gt; but only rotation that works is flipping it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should be possible to rotate a 2592x1944 camera image in IPU 90 degrees?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on what could be wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 09:10:47 GMT</pubDate>
    <dc:creator>emilmyhrman</dc:creator>
    <dc:date>2015-08-26T09:10:47Z</dc:date>
    <item>
      <title>Problem rotating camera stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399267#M58753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using android-kitkat BSP (with libcamera2 and kernel 3.0.35) and is having problem rotating the camera stream in IPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set v4l2 control V4L2_CID_MXC_ROT to V4L2_MXC_ROTATE_90_RIGHT (which sets IPU_ROTATE_90_RIGHT), nothing happens to the frame output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried doing the rotation after the camera frame is received from v4l2, using IPU (by following example &lt;A href="https://github.com/rogeriorps/ipu-examples/blob/master/mx6/rotation/example1/rot_ex1.c" title="https://github.com/rogeriorps/ipu-examples/blob/master/mx6/rotation/example1/rot_ex1.c"&gt;ipu-examples/rot_ex1.c at master · rogeriorps/ipu-examples · GitHub))&lt;/A&gt; but only rotation that works is flipping it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should be possible to rotate a 2592x1944 camera image in IPU 90 degrees?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on what could be wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 09:10:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399267#M58753</guid>
      <dc:creator>emilmyhrman</dc:creator>
      <dc:date>2015-08-26T09:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem rotating camera stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399268#M58754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2592x1944 rotation is not supported by IC IPU due to 1024 size limitation,&lt;/P&gt;&lt;P&gt;so one needs to split image on smaller areas and rotate them, after that combine &lt;/P&gt;&lt;P&gt;to whole image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 02:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399268#M58754</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-09-03T02:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem rotating camera stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399269#M58755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;I thought the kernel IPU3 driver already did this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Emil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 10:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399269#M58755</guid>
      <dc:creator>emilmyhrman</dc:creator>
      <dc:date>2015-09-04T10:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem rotating camera stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399270#M58756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no, it does not work with images above 1024. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 12:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399270#M58756</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-09-04T12:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem rotating camera stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399271#M58757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, but according to this post, &lt;A href="https://community.nxp.com/thread/309622"&gt;i.MX6 IPU and rotating a frame buffer&lt;/A&gt; 1024 is only the limitation of the IPU and the kernel driver will create a split task to do the work, which is the opposite of what you just said, that is why I'm confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Emil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 07:35:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399271#M58757</guid>
      <dc:creator>emilmyhrman</dc:creator>
      <dc:date>2015-09-07T07:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem rotating camera stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399272#M58758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try patch given on post by&lt;/P&gt;&lt;P&gt;Jerome Pouiller 23.07.2015 8:51&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 07:42:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-rotating-camera-stream/m-p/399272#M58758</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-09-07T07:42:33Z</dc:date>
    </item>
  </channel>
</rss>

