关于VIN中media bus fmt和pixel code得问题
-
平台:V536H,系统版本:Tinalinux 4.9,CMOS:MT9J003
我在驱动中把mbus_code 设置为MEDIA_BUS_FMT_Y8_1X8,应用中读取得时候设置pixelformat =为V4L2_PIX_FMT_GREY
static struct sensor_format_struct sensor_formats[] = { {.desc = "RAW Bayer Y 8bit", .mbus_code = MEDIA_BUS_FMT_Y8_1X8, .regs = sensor_fmt_raw, .regs_size = ARRAY_SIZE(sensor_fmt_raw), .bpp = 1}, };
报下面这个错误,请问VIN是不支持这个格式吗?
95.682933] [VIN_ERR]vin is not support this pixelformat:12289
[ 95.689513] [VIN_ERR]vin_pipeline_try_format failed
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号