summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2013-10-13 23:11:54 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2014-02-27 10:22:45 +0800
commit801d525194be747cff4bcb07742aa7d1a47970ce (patch)
tree94c10b4b2b11d66579425f6c067bd9cf5f73a2aa /src
parent8a9e85578e2af131f7efbf2e08074fde0cd225a6 (diff)
downloadlibva-intel-driver-801d525194be747cff4bcb07742aa7d1a47970ce.tar.gz
libva-intel-driver-801d525194be747cff4bcb07742aa7d1a47970ce.tar.bz2
libva-intel-driver-801d525194be747cff4bcb07742aa7d1a47970ce.zip
VPP: add vebox motion compensation support on BDW
Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/gen75_vpp_vebox.c3
-rwxr-xr-xsrc/i965_drv_video.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gen75_vpp_vebox.c b/src/gen75_vpp_vebox.c
index ab9a014..8e80474 100644
--- a/src/gen75_vpp_vebox.c
+++ b/src/gen75_vpp_vebox.c
@@ -1336,7 +1336,8 @@ void bdw_veb_state_command(VADriverContextP ctx, struct intel_vebox_context *pro
if (di_param->algorithm == VAProcDeinterlacingBob)
is_first_frame = 1;
- if (di_param->algorithm == VAProcDeinterlacingMotionAdaptive &&
+ if ((di_param->algorithm == VAProcDeinterlacingMotionAdaptive ||
+ di_param->algorithm == VAProcDeinterlacingMotionCompensated) &&
proc_ctx->frame_order != -1)
di_output_frames_flag = 0; /* Output both Current Frame and Previous Frame */
}
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index bfb1092..6048763 100755
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -344,6 +344,7 @@ static struct hw_codec_info gen8_hw_codec_info = {
.has_accelerated_putimage = 1,
.has_tiled_surface = 1,
.has_di_motion_adptive = 1,
+ .has_di_motion_compensated = 1,
.has_vp8_decoding = 1,
.num_filters = 4,