diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2013-01-14 10:45:14 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-01-17 13:08:40 +0800 |
commit | 54845cc2557f224ebb0fd66ce3629daf63aad021 (patch) | |
tree | 65ddd10cdd507c6bbafa8a8501ad532bea916c5f /src/gen6_vme.h | |
parent | 74194dfb52c87bc50289ff0c2714480e3c52fd35 (diff) | |
download | libva-intel-driver-54845cc2557f224ebb0fd66ce3629daf63aad021.tar.gz libva-intel-driver-54845cc2557f224ebb0fd66ce3629daf63aad021.tar.bz2 libva-intel-driver-54845cc2557f224ebb0fd66ce3629daf63aad021.zip |
Use the common scoreboard code on Ivy/Haswell to remove the duplicated code
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Diffstat (limited to 'src/gen6_vme.h')
-rw-r--r-- | src/gen6_vme.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gen6_vme.h b/src/gen6_vme.h index 70dee05..6295ec2 100644 --- a/src/gen6_vme.h +++ b/src/gen6_vme.h @@ -120,4 +120,21 @@ Bool gen7_vme_context_init(VADriverContextP ctx, struct intel_encoder_context *e #define MODE_INTER_MV6 18 #define MODE_INTER_MV7 19 +#define INTRA_PRED_AVAIL_FLAG_AE 0x60 +#define INTRA_PRED_AVAIL_FLAG_B 0x10 +#define INTRA_PRED_AVAIL_FLAG_C 0x8 +#define INTRA_PRED_AVAIL_FLAG_D 0x4 +#define INTRA_PRED_AVAIL_FLAG_BCD_MASK 0x1C + +extern void +gen7_vme_walker_fill_vme_batchbuffer(VADriverContextP ctx, + struct encode_state *encode_state, + int mb_width, int mb_height, + int kernel, + int transform_8x8_mode_flag, + struct intel_encoder_context *encoder_context); + +extern void +gen7_vme_scoreboard_init(VADriverContextP ctx, struct gen6_vme_context *vme_context); + #endif /* _GEN6_VME_H_ */ |