diff options
author | Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> | 2015-07-03 22:11:42 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-07-17 15:52:31 +0300 |
commit | d3194520e2790591b5fabeb913dd74af908ca160 (patch) | |
tree | 3b23cf317e517f87afb6775567add2221ab7f1e6 /drivers/i2c/i2c-core.h | |
parent | 890024ad144902bfa637f23b94b396701a88ed88 (diff) | |
download | linux-d3194520e2790591b5fabeb913dd74af908ca160.tar.xz |
[media] stk1160: Add frame scaling support
This commit implements frame decimation for stk1160, which allows
to support format changes instead of a static frame size.
The stk1160 supports independent row and column decimation, in two
different modes:
* set a number of rows/columns units to skip for each unit sent.
* set a number of rows/columns units to send for each unit skipped.
This effectively allows to achieve different frame scaling ratios.
The unit number can be set to either two row/columns sent/skipped,
or four row/columns sent/skipped. Since the video format (UYVY)
has 4-bytes, using a unit number of two row/columns results
in frame color 'shifting', so set to four row/columns sent/skipped.
Signed-off-by: Michael Stegemann <michael@stegemann.it>
Signed-off-by: Dale Hamel <dale.hamel@srvthe.net>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/i2c/i2c-core.h')
0 files changed, 0 insertions, 0 deletions