Signed-off-by: Zhong Li <[email protected]>
---
src/gen75_vpp_vebox.c | 3 ++-
src/i965_drv_video.c | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gen75_vpp_vebox.c b/src/gen75_vpp_vebox.c
index 79c62e8..fb2a49e 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 c8ec15b..0c6ea79 100755
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -325,6 +325,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,
--
1.7.9.5
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva