Move finding the best match for size to V4L2 common
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | v4l: common: Add a function to obtain best size from a listdrivers/ include/ | +63 | 0 replies | |
| 2/5 | vivid: Use v4l2_find_nearest_sizedrivers/ | +3 | 0 replies | |
| 3/5 | v4l: common: Remove v4l2_find_nearest_formatdrivers/ include/ | +0 | 0 replies | |
| 4/5 | ov13858: Use v4l2_find_nearest_sizedrivers/ | +3 | 0 replies | |
| 5/5 | ov5670: Use v4l2_find_nearest_sizedrivers/ | +3 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Hans Verkuil |
|---|---|
| Series | A-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Move finding the best match for size to V4L2 common
Hi folks,
This set should make it a bit easier to support finding the right size in sensor drivers. Two sensor drivers and vivid are converted as an example.
I've tested the vivid change only but the patches are effectively the same and trivial.
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(-)
Signature · 1 line
2.7.4