Hello,

how can I query the supported pixel format(s) of a sensor connected via 
media-ctl and exposed via /dev/videoX

there is 
VIDIOC_ENUM_FMT (which fails)
and
VIDIOC_SUBDEV_ENUM_MBUS_CODE (which works, but on a subdev, not on 
/dev/videoX)

v4l2_subdev_video_ops has .enum_mbus_fmt (this is SoC camera stuff?)

v4l2_subdev_pad_ops has .enum_mbus_code


the application just sees /dev/videoX and cannot do VIDIOC_ENUM_FMT
what is the logic behind this?
shouldn't a compabatibility layer be added turning VIDIOC_ENUM_FMT into 
VIDIOC_SUBDEV_ENUM_MBUS_CODE?

thanks, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to