Hi All,

I need your help in understanding target flag usage in S/G_SELECTION ioctls.

I see that some of the applications like GStreamer has the the hardcoding of 
target flag as V4L2_SEL_TGT_CROP for capture buftype.
https://github.com/Xilinx/gst-plugins-good-xlnx/blob/master/sys/v4l2/gstv4l2object.c#L4027

And on the other side, I see that few up-streamed drivers are clearly 
restricting to use CROP for output buftype and COMPOSE for capture buftype.
I do not have the concrete data from V4L2 specifications. At this point in 
time, I can only share other up-streamed drivers as examples.
https://elixir.bootlin.com/linux/latest/source/drivers/media/platform/sti/bdisp/bdisp-v4l2.c#L935
https://elixir.bootlin.com/linux/latest/source/drivers/media/platform/rockchip/rga/rga.c#L622
Any references from V4L2 specification?
Regards,
Satish


Reply via email to