<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[V536支持raw8数据的sensor吗]]></title><description><![CDATA[<p dir="auto">若是支持，pixelformat应该设置位哪个？<br />
驱动中数据结构应该设置位哪个？</p>
<pre><code>static struct sensor_format_struct sensor_formats[] = {
    {.desc = "RAW Bayer GBRG 8bit",
     .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, // 
     .regs = sensor_fmt_raw,
     .regs_size = ARRAY_SIZE(sensor_fmt_raw),
     .bpp = 1},
};
</code></pre>
<p dir="auto">我们的sensor我觉得是应该设置位MEDIA_BUS_FMT_Y8_1X8，但是VIN好像不支持。</p>
]]></description><link>https://bbs.aw-ol.com/topic/2055/v536支持raw8数据的sensor吗</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Mar 2026 11:11:51 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/2055.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Sep 2022 05:50:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to V536支持raw8数据的sensor吗 on Wed, 07 Sep 2022 05:42:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/151">@chengwei_peng</a></p>
<p dir="auto">vin_fmt vin_formats[] 这个数据结构中没有，下面这组数据</p>
<pre><code>{
		.name		= "YUV 4:0:0 planar, GREY", // added by jamo@20220830
		.fourcc		= V4L2_PIX_FMT_GREY,
		.depth		= { 8 },
		.memplanes	= 1,
		.colplanes	= 1,
		.mbus_code	= MEDIA_BUS_FMT_Y8_1X8,
		.flags		= VIN_FMT_RAW,
</code></pre>
]]></description><link>https://bbs.aw-ol.com/post/10181</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/10181</guid><dc:creator><![CDATA[inomec]]></dc:creator><pubDate>Wed, 07 Sep 2022 05:42:15 GMT</pubDate></item><item><title><![CDATA[Reply to V536支持raw8数据的sensor吗 on Wed, 07 Sep 2022 05:30:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/1755">@inomec</a> 支持，你的配置也是对的，vin应该没有这个限制吧</p>
]]></description><link>https://bbs.aw-ol.com/post/10180</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/10180</guid><dc:creator><![CDATA[chengwei_peng]]></dc:creator><pubDate>Wed, 07 Sep 2022 05:30:36 GMT</pubDate></item></channel></rss>