diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2014-04-19 00:12:40 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-05-26 12:12:56 +0800 |
commit | 69e26f5ca4cad4ac69d47fa0db50f037c197c079 (patch) | |
tree | 8cb1f325fba863ef6acc6dfd5bab9aa44bdc6547 /src/i965_drv_video.h | |
parent | 7fb211f94dae32532d1326565b48d86e558ceb24 (diff) | |
download | libva-intel-driver-69e26f5ca4cad4ac69d47fa0db50f037c197c079.tar.gz libva-intel-driver-69e26f5ca4cad4ac69d47fa0db50f037c197c079.tar.bz2 libva-intel-driver-69e26f5ca4cad4ac69d47fa0db50f037c197c079.zip |
render_init()/render_terminate() callback functions for each platform
It is to reduce the usage of IS_GENxxx()
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit f150fbf444ca63b5e9c3e8f7e17aa3386f7061fa)
Diffstat (limited to 'src/i965_drv_video.h')
-rw-r--r-- | src/i965_drv_video.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i965_drv_video.h b/src/i965_drv_video.h index eddf83d..2de9928 100644 --- a/src/i965_drv_video.h +++ b/src/i965_drv_video.h @@ -286,6 +286,8 @@ struct hw_codec_info struct hw_context *(*dec_hw_context_init)(VADriverContextP, struct object_config *); struct hw_context *(*enc_hw_context_init)(VADriverContextP, struct object_config *); struct hw_context *(*proc_hw_context_init)(VADriverContextP, struct object_config *); + bool (*render_init)(VADriverContextP); + int max_width; int max_height; |