From 4f21aad1165f3d0a2e5978e0524db735d19944b3 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Tue, 12 Mar 2013 15:12:07 +0800 Subject: Decoder: check whether the surface for decoding output is valid In addition, uses the corresponding surface object directly. Signed-off-by: Xiang, Haihao --- src/i965_decoder_utils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/i965_decoder_utils.h') 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 */ -- cgit v1.2.1