summaryrefslogtreecommitdiff
path: root/src/i965_decoder_utils.h
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2014-08-27 01:04:48 -0600
committerZhao, Yakui <yakui.zhao@intel.com>2014-09-05 10:43:55 +0800
commit242fb4fcb8aa7300ee47400a6c2784610e5d4a6a (patch)
tree4a3de71719012986a4fa89e8572f99cc94864c13 /src/i965_decoder_utils.h
parent865f288d6821dfea5a9dc2a0525eba69ef786b23 (diff)
downloadlibva-intel-driver-242fb4fcb8aa7300ee47400a6c2784610e5d4a6a.tar.gz
libva-intel-driver-242fb4fcb8aa7300ee47400a6c2784610e5d4a6a.tar.bz2
libva-intel-driver-242fb4fcb8aa7300ee47400a6c2784610e5d4a6a.zip
Move gen6 phantom slice function as common
Following haihao's suggestion, make gen6 phantom slice funcion can be re-used by SNB+. v1->v2: Remove an unnessary comment. Signed-off-by: Zhong Li <zhong.li@intel.com> Reviewed-by: Xiang Haihao <haihao.xiang@intel.com> Gwenole Beauchesne <gwenole.beauchesne@intel.com> (cherry picked from commit 5e30cc3093407ca2b4dbefa1da8a1262ff8ae7e9)
Diffstat (limited to 'src/i965_decoder_utils.h')
-rw-r--r--src/i965_decoder_utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/i965_decoder_utils.h b/src/i965_decoder_utils.h
index 3d39b21..3e6acdd 100644
--- a/src/i965_decoder_utils.h
+++ b/src/i965_decoder_utils.h
@@ -89,6 +89,13 @@ gen6_send_avc_ref_idx_state(
const GenFrameStore frame_store[MAX_GEN_REFERENCE_FRAMES]
);
+void
+gen6_mfd_avc_phantom_slice(VADriverContextP ctx,
+ VAPictureParameterBufferH264 *pic_param,
+ VASliceParameterBufferH264 *next_slice_param,
+ struct intel_batchbuffer *batch
+);
+
VAStatus
intel_decoder_sanity_check_input(VADriverContextP ctx,
VAProfile profile,