<?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のトピックRe: getting error on ioctl_enum_fmt_cap</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/getting-error-on-ioctl-enum-fmt-cap/m-p/474217#M75121</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;thanks, im able to get images with gstreamer without getting this error though all of my images turn out blurry and are in&lt;/P&gt;&lt;P&gt;purple/yellow when using RGB565.&lt;/P&gt;&lt;P&gt;if i use YUV in any of its formats all i get is a purple screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it maybe related to the camera register settings but i wouldn’t even know where to begin changing those values..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 12:27:45 GMT</pubDate>
    <dc:creator>shlomiperlman</dc:creator>
    <dc:date>2016-02-25T12:27:45Z</dc:date>
    <item>
      <title>getting error on ioctl_enum_fmt_cap</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/getting-error-on-ioctl-enum-fmt-cap/m-p/474215#M75119</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;It seems something is preventing getting the "v4l2_fmtdesc" data in my sensor driver:&lt;/P&gt;&lt;P&gt;static int ioctl_enum_fmt_cap(struct v4l2_int_device *s,&lt;/P&gt;&lt;P&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;&amp;nbsp; struct v4l2_fmtdesc *fmt)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;if (fmt-&amp;gt;index &amp;gt; SOME_MAX_VALUE (usually 8)) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return -EINVAL;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;every time im trying to init the camera app and this struct is being checked for "fmt-&amp;gt;index"&lt;/P&gt;&lt;P&gt;im getting an error value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where is this function being called from and how do i fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Feb 2016 10:11:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/getting-error-on-ioctl-enum-fmt-cap/m-p/474215#M75119</guid>
      <dc:creator>shlomiperlman</dc:creator>
      <dc:date>2016-02-21T10:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: getting error on ioctl_enum_fmt_cap</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/getting-error-on-ioctl-enum-fmt-cap/m-p/474216#M75120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shlomi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your video format input, v4l2 support RGB 16, 24, and 32-bit, YUV 4:2:0 and 4:2:2 planar, and YUV 4:2:2 interleaved&lt;/P&gt;&lt;P&gt;input formats. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using i.MX6, you can use this code to test CSC.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://github.com/rogeriorps/ipu-examples/blob/master/mx6/csc/example1/csc_ex1.c" rel="nofollow"&gt;https://github.com/rogeriorps/ipu-examples/blob/master/mx6/csc/example1/csc_ex1.c&lt;/A&gt;&lt;/P&gt;&lt;P&gt; It will read 4 files from different color formats and transform to RGB565 to be shown on lcd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 16:40:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/getting-error-on-ioctl-enum-fmt-cap/m-p/474216#M75120</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2016-02-23T16:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: getting error on ioctl_enum_fmt_cap</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/getting-error-on-ioctl-enum-fmt-cap/m-p/474217#M75121</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;thanks, im able to get images with gstreamer without getting this error though all of my images turn out blurry and are in&lt;/P&gt;&lt;P&gt;purple/yellow when using RGB565.&lt;/P&gt;&lt;P&gt;if i use YUV in any of its formats all i get is a purple screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it maybe related to the camera register settings but i wouldn’t even know where to begin changing those values..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 12:27:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/getting-error-on-ioctl-enum-fmt-cap/m-p/474217#M75121</guid>
      <dc:creator>shlomiperlman</dc:creator>
      <dc:date>2016-02-25T12:27:45Z</dc:date>
    </item>
  </channel>
</rss>

