aboutsummaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2013-06-11 12:59:41 -0700
committerJohn Stultz <john.stultz@linaro.org>2015-11-19 12:38:06 -0800
commitcee5b4812ffde95c9780208a843bf42a0b310896 (patch)
tree8720661753242b9c47bb7a0bddebec2e83578212 /include/uapi
parent360a4d0a40e4f5962895905f9c905eee82a9a51b (diff)
downloadv4.1-cee5b4812ffde95c9780208a843bf42a0b310896.tar.gz
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 bd046c6c340..e35a505882d 100644
--- a/include/uapi/video/adf.h
+++ b/include/uapi/video/adf.h
@@ -275,15 +275,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)