[PATCH 0/2] media: Add get_selecton to ov56470 and ov13858

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add support for the .get_selection pad operation to ov5670 and ov13858
sensor drivers.

Support the V4L2_SEL_TGT_CROP_BOUNDS and V4L2_SEL_TGT_CROP_DEFAULT
targets which report the same rectangles, as the size of the active
and readable pixel matrix is the only information available in public
documentation.

Question: do I really need to initialize the try_crop rectangle at open() time?
I don't think it's strictly necessary, but for simmetry and to guard against
future developments, I think it's fair to have it.

Thanks
   j

Jacopo Mondi (2):
  media: i2c: ov13858: Add .get_selection support
  media: i2c: ov5670: Add .get_selection support

 drivers/media/i2c/ov13858.c | 31 +++++++++++++++++++++++++++++++
 drivers/media/i2c/ov5670.c  | 32 +++++++++++++++++++++++++++++++-
 2 files changed, 62 insertions(+), 1 deletion(-)

--
2.29.2




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux