diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2014-06-12 15:14:11 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-12-14 00:42:16 +0800 |
commit | bfad8c42dd3cceb6f2ff5177d6b724f7700f65a8 (patch) | |
tree | 2b9bb16330c51cbc9db75d94f2063e36b27c0299 /src/i965_decoder_utils.c | |
parent | 1f1b0ef98e94eb1f73967a15270baa541914ac44 (diff) | |
download | libva-intel-driver-bfad8c42dd3cceb6f2ff5177d6b724f7700f65a8.tar.gz |
Add the initial code for HEVC decoding on SKL into the driver
The hcp (HEVC codec pipeline) for decoding will be built later
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit f5de561ddbf6f70efbbd9a2663327cce4ba5f0fb)
Diffstat (limited to 'src/i965_decoder_utils.c')
-rw-r--r-- | src/i965_decoder_utils.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/i965_decoder_utils.c b/src/i965_decoder_utils.c index 84b372b1..d2460e8e 100644 --- a/src/i965_decoder_utils.c +++ b/src/i965_decoder_utils.c @@ -1074,6 +1074,15 @@ intel_decoder_check_vp8_parameter(VADriverContextP ctx, return VA_STATUS_SUCCESS; } +static VAStatus +intel_decoder_check_hevc_parameter(VADriverContextP ctx, + struct decode_state *decode_state) +{ + /* FIXME: implement it later */ + + return VA_STATUS_SUCCESS; +} + VAStatus intel_decoder_sanity_check_input(VADriverContextP ctx, VAProfile profile, @@ -1121,6 +1130,11 @@ intel_decoder_sanity_check_input(VADriverContextP ctx, vaStatus = intel_decoder_check_vp8_parameter(ctx, decode_state); break; + case VAProfileHEVCMain: + case VAProfileHEVCMain10: + vaStatus = intel_decoder_check_hevc_parameter(ctx, decode_state); + break; + default: vaStatus = VA_STATUS_ERROR_INVALID_PARAMETER; break; |