linux_old1/drivers/media
Sakari Ailus 95ce9c2860 media: v4l: common: Add a function to obtain best size from a list
Add a function (as well as a helper macro) to obtain the best size in a
list of device specific sizes. This helps writing drivers as well as
aligns interface behaviour across drivers.

The struct in which this information is contained in is typically specific
to the driver, therefore the existing function v4l2_find_nearest_format()
does not address the need.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-21 11:18:52 -04:00
..
cec media: cec: improve debugging 2018-02-26 08:12:49 -05:00
common media: siano: Fix coherent memory allocation failure on arm64 2018-03-06 12:46:15 -05:00
dvb-core media: dvbdev: fix building on ia64 2018-03-07 04:11:50 -05:00
dvb-frontends media: dvb-frontends/Kconfig: move the SP2 driver to the CI section 2018-03-08 06:06:50 -05:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: s5c73m3-core: fix logic on a timeout condition 2018-03-07 05:55:05 -05:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: ngene: use common DVB I2C client handling helpers 2018-03-08 06:06:51 -05:00
platform media: renesas-ceu: mark PM functions as __maybe_unused 2018-03-06 12:24:24 -05:00
radio media: usb: don't initialize vars if not needed 2018-03-06 10:39:59 -05:00
rc media: imon: rename protocol from other to imon 2018-03-21 11:13:15 -04:00
spi media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver 2018-03-07 05:02:57 -05:00
tuners media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
usb media: em28xx-cards: fix em28xx_duplicate_dev() 2018-03-08 06:06:51 -05:00
v4l2-core media: v4l: common: Add a function to obtain best size from a list 2018-03-21 11:18:52 -04:00
Kconfig media: Kconfig: fix DVB dependencies 2018-03-08 06:06:49 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: zero reservedX fields in media_v2_topology 2018-02-26 09:47:53 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00