From 801d525194be747cff4bcb07742aa7d1a47970ce Mon Sep 17 00:00:00 2001 From: Zhong Li Date: Sun, 13 Oct 2013 23:11:54 +0800 Subject: VPP: add vebox motion compensation support on BDW Signed-off-by: Zhong Li --- src/gen75_vpp_vebox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gen75_vpp_vebox.c') 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 */ } -- cgit v1.2.3