diff options
author | Greg Hackmann <ghackmann@google.com> | 2013-06-11 12:59:41 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:53:11 -0800 |
commit | 8bb154db8a693934442db0f7177462f3466bf100 (patch) | |
tree | c53c1920ecd39398c137be691d169d145bce4af7 /include/uapi | |
parent | 68ff076002b28bbc34dff95048aa815062996b74 (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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/video/adf.h b/include/uapi/video/adf.h index bd046c6c3409..e35a505882da 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) |