V853移植YUV sensor和RAW sensor有什么区别?
-
我所知道的是设备树里写 sensor0_fmt = <0>;
驱动里设置.mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
应用层时使用 V4L2_PIX_FMT_YUV422P
初次以外还需要注意啥?我现在的报错是vin is not support this pixelformat,看源码它会调用好几次vin_find_format,前面几次都查询成功了,直到开始查找 MEDIA_BUS_FMT_SBGGR8_1X8 ,报错退出,我还不清楚这个函数干啥的,得看一会。顺带一提,我设置的MEDIA_BUS_FMT_UYVY8_2X8是0x2006,在就找到了,为什么会要找其他格式像素?
[CAMERA] The input value is 0. [ 271.154445] [VIN]vin suport this fmt:0x2008 [CAMERA] Resolution size : 1920 [ 271.161927] [VIN]vin suport this fmt:0x2006 * 1080 [CAMERA] The photo save [ 271.169375] [VIN]vin suport this fmt:0x2007 path is /root/pic. [CAMERA] The[ 271.176899] [VIN]vin suport this fmt:0x2009 number of photos taken is 3. b[ 271.184300] [VIN]vin suport this fmt:0x2011 egin ion_alloc_open pid: 1123,[ 271.191803] [VIN]vin suport this fmt:0x200f g_alloc_context = 0xb6ec1f70 [ 271.199242] [VIN]vin suport this fmt:0x2010 [CAMERA] Camera capture framerat[ 271.206768] [VIN]vin suport this fmt:0x2012 e is 60/1 [ 271.214185] [VIN]vin suport this fmt:0x2018 [ 271.219847] [VIN]vin suport this fmt:0x2019 [ 271.224592] [VIN]vin suport this fmt:0x200c [ 271.229284] [VIN]vin suport this fmt:0x200b [ 271.234048] [VIN]fin code:0x3001 [ 271.237659] [VIN_ERR]vin is not support this pixelformat [ 271.243652] [VIN_ERR]vin_pipeline_try_format failed
-
@xjy_5 我用的是100ask的开发板
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号