WSL2-Linux-Kernel/drivers/media/usb/stk1160
Ezequiel Garcia d3194520e2 [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>
2015-07-17 09:52:31 -03:00
..
Kconfig [media] stk1160: Build as a module if SND is m and audio support is selected 2013-08-01 14:55:25 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
stk1160-ac97.c [media] stk1160: warrant a NUL terminated string 2014-04-08 11:00:52 -03:00
stk1160-core.c [media] stk1160: Reduce driver verbosity 2015-07-17 09:51:15 -03:00
stk1160-i2c.c [media] stk1160: Check return value of stk1160_read_reg() in stk1160_i2c_read_reg() 2012-10-28 16:41:54 -02:00
stk1160-reg.h [media] stk1160: Add frame scaling support 2015-07-17 09:52:31 -03:00
stk1160-v4l.c [media] stk1160: Add frame scaling support 2015-07-17 09:52:31 -03:00
stk1160-video.c [media] stk1160: fix sequence handling 2015-07-06 08:25:46 -03:00
stk1160.h [media] stk1160: Reduce driver verbosity 2015-07-17 09:51:15 -03:00