OSDN Git Service

[media] vivid-tpg: add hor/vert downsampling fields
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 7 Mar 2015 16:57:27 +0000 (13:57 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 23:38:04 +0000 (20:38 -0300)
commitba01f673e031ade4f60583ab1ac4f06dd260a972
tree6cac2150d9897e01e3737d4eb5a2eb959a5d9e6b
parent4db22041892946348f98672a5524bdf2f18f66f5
[media] vivid-tpg: add hor/vert downsampling fields

This is step one of supporting horizontal and vertical downsampling.
This just adds support for the h/vdownsampling fields and it increases
the maximum number of planes to 3.

Currently none of the planar formats need horizontal or vertical
downsampling, so this change has no effect at the moment.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-tpg.c
drivers/media/platform/vivid/vivid-tpg.h