#include <intel_bufmgr.h>
#include "i965_decoder.h"
-struct gen6_avc_surface
-{
- dri_bo *dmv_top;
- dri_bo *dmv_bottom;
- int dmv_bottom_flag;
-};
-
#define GEN6_VC1_I_PICTURE 0
#define GEN6_VC1_P_PICTURE 1
#define GEN6_VC1_B_PICTURE 2
#define GEN6_VC1_ADVANCED_PROFILE 2
#define GEN6_VC1_RESERVED_PROFILE 3
-struct gen6_vc1_surface
-{
+struct gen6_vc1_surface {
dri_bo *dmv;
int picture_type;
+ int intensity_compensation;
+ int luma_scale;
+ int luma_shift;
};
struct hw_context;
-struct gen6_mfd_context
-{
+struct gen6_mfd_context {
struct hw_context base;
union {
VAIQMatrixBufferMPEG2 mpeg2;
} iq_matrix;
+ GenFrameStoreContext fs_ctx;
GenFrameStore reference_surface[MAX_GEN_REFERENCE_FRAMES];
GenBuffer post_deblocking_output;
GenBuffer pre_deblocking_output;