summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vivid/vivid-core.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-03-07 15:04:49 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 20:50:14 -0300
commit96c76efae3211c7b798553602d3165b4ea34aa95 (patch)
treebc0fa36c32fd11a6cc8aadb2486606b8a52d688a /drivers/media/platform/vivid/vivid-core.h
parentecb9e91b2dfa3ef69c17c03b2e73ce935254fa65 (diff)
downloadop-kernel-dev-96c76efae3211c7b798553602d3165b4ea34aa95.zip
op-kernel-dev-96c76efae3211c7b798553602d3165b4ea34aa95.tar.gz
[media] vivid: add new format fields
These fields are necessary to handle the new planar formats. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vivid/vivid-core.h')
-rw-r--r--drivers/media/platform/vivid/vivid-core.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/platform/vivid/vivid-core.h b/drivers/media/platform/vivid/vivid-core.h
index 191d9b5..bcefd19 100644
--- a/drivers/media/platform/vivid/vivid-core.h
+++ b/drivers/media/platform/vivid/vivid-core.h
@@ -79,12 +79,14 @@ extern unsigned vivid_debug;
struct vivid_fmt {
const char *name;
u32 fourcc; /* v4l2 format id */
- u8 depth;
bool is_yuv;
bool can_do_overlay;
+ u8 vdownsampling[TPG_MAX_PLANES];
u32 alpha_mask;
u8 planes;
+ u8 buffers;
u32 data_offset[TPG_MAX_PLANES];
+ u32 bit_depth[TPG_MAX_PLANES];
};
extern struct vivid_fmt vivid_formats[];
OpenPOWER on IntegriCloud