summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2019-01-18 11:52:06 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-02-18 19:31:38 +0300
commit2b5c18f964df7bb8b7c8319bdaf0548080bb9152 (patch)
treea5a05450b1de86ac39b8147f7d4e8d5212b86e35 /tools/perf/scripts/python
parent7cb013b1049a2a599c1fc344644528eb8bf985b8 (diff)
downloadlinux-2b5c18f964df7bb8b7c8319bdaf0548080bb9152.tar.xz
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 <wens@csie.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions