aboutsummaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2013-06-11 12:59:41 -0700
committerColin Cross <ccross@android.com>2014-03-19 13:10:31 -0700
commite50df0bf0d9d0d3c181b518857da13f53e85f730 (patch)
tree812a836cf9d3ebb7dedf30dd1226596be9e8d7fb /include/uapi
parent764ad522ac9fa99f7a74257cd79ec46c8f23f087 (diff)
video: adf: add supported formats to adf_overlay_engine_data
Change-Id: If2aa783b9ece60160f465bf697508fc58682e1bc Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/video/adf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/video/adf.h b/include/uapi/video/adf.h
index 4b9e60c84e6..108064626e0 100644
--- a/include/uapi/video/adf.h
+++ b/include/uapi/video/adf.h
@@ -274,15 +274,21 @@ struct adf_interface_data {
* struct adf_overlay_engine_data - describes an overlay engine
*
* @name: overlay engine's name
+ * @n_supported_formats: number of supported formats
+ * @supported_formats: list of supported formats
* @custom_data_size: size of driver-private data
* @custom_data: driver-private data
*/
struct adf_overlay_engine_data {
char name[ADF_NAME_LEN];
+ size_t n_supported_formats;
+ __u32 __user *supported_formats;
+
size_t custom_data_size;
void __user *custom_data;
};
+#define ADF_MAX_SUPPORTED_FORMATS (PAGE_SIZE / sizeof(__u32))
#define ADF_SET_EVENT _IOW('D', 0, struct adf_set_event)
#define ADF_BLANK _IOW('D', 1, __u8)