[GIT PULL v2 for 4.17] Add V4L2 framework function for selecting the most suitable size

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

 



Hi Mauro,

In drivers for hardware that have a discrete set of supported sizes, the
size selection is a commonly needed functionality. This set implements it
in a way that is usable in drivers and converts a few existing drivers to
use it.

since v1:

- Fix KernelDoc documentation

- Align argument order in __v4l2_find_nearest_size() function and its
  prototype. Align argument names across the function and the macro.

Please pull.


The following changes since commit 29422737017b866d4a51014cc7522fa3a99e8852:

  media: rc: get start time just before calling driver tx (2018-02-14 14:17:21 -0500)

are available in the git repository at:

  ssh://linuxtv.org/git/sailus/media_tree.git v4l2-common-size

for you to fetch changes up to 3839a37f69da4dc567d3b00dc5e985f8e8425811:

  ov5670: Use v4l2_find_nearest_size (2018-02-22 15:44:57 +0200)

----------------------------------------------------------------
Sakari Ailus (5):
      v4l: common: Add a function to obtain best size from a list
      vivid: Use v4l2_find_nearest_size
      v4l: common: Remove v4l2_find_nearest_format
      ov13858: Use v4l2_find_nearest_size
      ov5670: Use v4l2_find_nearest_size

 drivers/media/i2c/ov13858.c                  | 37 +++-------------------------
 drivers/media/i2c/ov5670.c                   | 34 +++----------------------
 drivers/media/platform/vivid/vivid-vid-cap.c |  6 ++---
 drivers/media/v4l2-core/v4l2-common.c        | 34 ++++++++++++++-----------
 include/media/v4l2-common.h                  | 34 ++++++++++++++++++-------
 5 files changed, 53 insertions(+), 92 deletions(-)

-- 
Sakari Ailus
e-mail: sakari.ailus@xxxxxx



[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