summaryrefslogtreecommitdiff
path: root/src/i965_decoder_utils.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-03-12 15:12:07 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-03-15 15:45:28 +0800
commit4f21aad1165f3d0a2e5978e0524db735d19944b3 (patch)
tree11dd569ec215db14ead396c4b551ba0d507e178f /src/i965_decoder_utils.h
parent54384c9585394db538b73eaf4227a59c7a452157 (diff)
downloadlibva-intel-driver-4f21aad1165f3d0a2e5978e0524db735d19944b3.tar.gz
Decoder: check whether the surface for decoding output is valid
In addition, uses the corresponding surface object directly. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/i965_decoder_utils.h')
-rw-r--r--src/i965_decoder_utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i965_decoder_utils.h b/src/i965_decoder_utils.h
index 0d865231..b5025eb1 100644
--- a/src/i965_decoder_utils.h
+++ b/src/i965_decoder_utils.h
@@ -75,4 +75,9 @@ gen6_send_avc_ref_idx_state(
const GenFrameStore frame_store[MAX_GEN_REFERENCE_FRAMES]
);
+VAStatus
+intel_decoder_sanity_check_input(VADriverContextP ctx,
+ VAProfile profile,
+ struct decode_state *decode_state);
+
#endif /* I965_DECODER_UTILS_H */