diff options
| author | Chen-Yu Tsai <[email protected]> | 2019-01-18 08:52:06 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-02-18 16:31:38 +0000 |
| commit | 2b5c18f964df7bb8b7c8319bdaf0548080bb9152 (patch) | |
| tree | a5a05450b1de86ac39b8147f7d4e8d5212b86e35 /drivers/media/platform/vimc/vimc-core.c | |
| parent | media: ov5640: Set JPEG output timings when outputting JPEG data (diff) | |
| download | kernel-2b5c18f964df7bb8b7c8319bdaf0548080bb9152.tar.gz kernel-2b5c18f964df7bb8b7c8319bdaf0548080bb9152.zip | |
media: ov5640: Consolidate JPEG compression mode setting
The register value lists for all the supported resolution settings all
include a register address/value pair for setting the JPEG compression
mode. With the exception of 1080p (which sets mode 2), all resolutions
use mode 3.
The only difference between mode 2 and mode 3 is that mode 2 may have
padding data on the last line, while mode 3 does not add padding data.
As these register values were from dumps of running systems, and the
difference between the modes is quite small, using mode 3 for all
configurations should be OK.
[Sakari Ailus: Align OV5640_REG_JPG_MODE_SELECT register naming.]
Signed-off-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions
