<?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のトピックRGB parallel camera on IMX6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/RGB-parallel-camera-on-IMX6/m-p/716627#M111340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to feed 24 bit per pixel (RGB ) over parallel interface to IMX6 SabreSD&amp;nbsp; board, &lt;/P&gt;&lt;P&gt;as reference I was using OV5640 parallel camera (to mimic camera, video is coming from FPGA with separate syncs anyway),&lt;/P&gt;&lt;P&gt;After gStreamer modification (gstimxv4l2.c)&lt;/P&gt;&lt;P&gt;static guint g_camera_format_IPU[] = {&lt;BR /&gt;&amp;nbsp; V4L2_PIX_FMT_YUV420,&lt;BR /&gt;&amp;nbsp; V4L2_PIX_FMT_NV12,&lt;BR /&gt;&amp;nbsp; V4L2_PIX_FMT_YUYV,&lt;BR /&gt;&amp;nbsp; V4L2_PIX_FMT_UYVY,&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; V4L2_PIX_FMT_RGB24,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; V4L2_PIX_FMT_BGR24,&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; 0,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;gStreamer accept RGB format :&lt;/P&gt;&lt;P&gt;gst-launch-1.0 -v imxv4l2src ! 'video/x-raw, format=RGB, width=1920, height=1080' ! imxv4l2sink &amp;amp;&lt;BR /&gt;root@imx6qsabresd:~# gst-launch-1.0 -v imxv4l2src ! 'video/x-raw, format=RGBx, width=1920, height=1080' ! imxv4l2sink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But video is treated as 16 bit RGB565 send to frame buffer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there example of code how to feed 24 bit video to IPU ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modification of ov5640.c&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ov5640_data.pix.pixelformat = &lt;STRONG&gt;V4L2_PIX_FMT_RGB24&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is not helping eighter, with this mod in place gStreamer can't start at all.&lt;/P&gt;&lt;P&gt;Could anybody advice what are the steps how to use 24 bit RGB&amp;nbsp; parallel camera with IMX6?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2018 16:07:22 GMT</pubDate>
    <dc:creator>mariuszpiotrows</dc:creator>
    <dc:date>2018-02-05T16:07:22Z</dc:date>
    <item>
      <title>RGB parallel camera on IMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RGB-parallel-camera-on-IMX6/m-p/716627#M111340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to feed 24 bit per pixel (RGB ) over parallel interface to IMX6 SabreSD&amp;nbsp; board, &lt;/P&gt;&lt;P&gt;as reference I was using OV5640 parallel camera (to mimic camera, video is coming from FPGA with separate syncs anyway),&lt;/P&gt;&lt;P&gt;After gStreamer modification (gstimxv4l2.c)&lt;/P&gt;&lt;P&gt;static guint g_camera_format_IPU[] = {&lt;BR /&gt;&amp;nbsp; V4L2_PIX_FMT_YUV420,&lt;BR /&gt;&amp;nbsp; V4L2_PIX_FMT_NV12,&lt;BR /&gt;&amp;nbsp; V4L2_PIX_FMT_YUYV,&lt;BR /&gt;&amp;nbsp; V4L2_PIX_FMT_UYVY,&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; V4L2_PIX_FMT_RGB24,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; V4L2_PIX_FMT_BGR24,&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; 0,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;gStreamer accept RGB format :&lt;/P&gt;&lt;P&gt;gst-launch-1.0 -v imxv4l2src ! 'video/x-raw, format=RGB, width=1920, height=1080' ! imxv4l2sink &amp;amp;&lt;BR /&gt;root@imx6qsabresd:~# gst-launch-1.0 -v imxv4l2src ! 'video/x-raw, format=RGBx, width=1920, height=1080' ! imxv4l2sink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But video is treated as 16 bit RGB565 send to frame buffer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there example of code how to feed 24 bit video to IPU ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modification of ov5640.c&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ov5640_data.pix.pixelformat = &lt;STRONG&gt;V4L2_PIX_FMT_RGB24&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is not helping eighter, with this mod in place gStreamer can't start at all.&lt;/P&gt;&lt;P&gt;Could anybody advice what are the steps how to use 24 bit RGB&amp;nbsp; parallel camera with IMX6?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 16:07:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RGB-parallel-camera-on-IMX6/m-p/716627#M111340</guid>
      <dc:creator>mariuszpiotrows</dc:creator>
      <dc:date>2018-02-05T16:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: RGB parallel camera on IMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RGB-parallel-camera-on-IMX6/m-p/716628#M111341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mariusz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also one can check settings IPUx_CSI0_SENS_CONF (CSI0_SENS_DATA_FORMAT,&lt;/P&gt;&lt;P&gt;CSI0_DATA_WIDTH) and hardware connections with Table 66. Camera Input Signal Cross Reference,&lt;/P&gt;&lt;P&gt;Format, and Bits Per Cycle i.MX6DQ Datasheet&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/docs/en/data-sheet/IMX6DQCEC.pdf"&gt;http://www.nxp.com/docs/en/data-sheet/IMX6DQCEC.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;try with units tests imx-test (../mxc_v4l2_test)&lt;BR /&gt;&lt;A href="https://community.nxp.com/www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz" target="test_blank"&gt;www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz&lt;/A&gt;&lt;BR /&gt;some useful links with raw capture examples can be found on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/323466"&gt;Can imx6 support for RGB RAW camera?&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>Tue, 06 Feb 2018 11:01:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RGB-parallel-camera-on-IMX6/m-p/716628#M111341</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-02-06T11:01:22Z</dc:date>
    </item>
  </channel>
</rss>

