summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndy Furniss <adf.lists@gmail.com>2015-03-26 14:34:48 +0000
committerXiang, Haihao <haihao.xiang@intel.com>2015-05-25 08:25:42 +0800
commit4a1c4d21f3428b08ef765d7f7de75b97006514ac (patch)
tree47c92859b78817f8d4ec2d7c26eac1f37cdc2302 /src
parenta8722ab5ae4e9d61399647f5d884f9be1971b934 (diff)
VPP: Enable field rate madi/mcdi. Only second hunk is tested
Signed-off-by: Andy Furniss <adf.lists@gmail.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/i965_post_processing.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c
index fefc5d7..edee114 100755
--- a/src/i965_post_processing.c
+++ b/src/i965_post_processing.c
@@ -3423,11 +3423,7 @@ pp_nv12_dndi_initialize(VADriverContextP ctx, struct i965_post_processing_contex
obj_surface->orig_width, obj_surface->orig_height, obj_surface->width,
I965_SURFACEFORMAT_R8_UNORM, 20, 1);
- /* If we are in "First Frame" mode, i.e. past frames are not
- available for motion measure, then don't use the TFF flag */
- dndi_top_first = !(deint_params->flags & (dndi_ctx->is_first_frame ?
- VA_DEINTERLACING_BOTTOM_FIELD :
- VA_DEINTERLACING_BOTTOM_FIELD_FIRST));
+ dndi_top_first = !(deint_params->flags & VA_DEINTERLACING_BOTTOM_FIELD);
/* sampler dndi */
dri_bo_map(pp_context->sampler_state_table.bo, True);
@@ -3833,11 +3829,7 @@ gen7_pp_nv12_dndi_initialize(VADriverContextP ctx, struct i965_post_processing_c
obj_surface->orig_width, obj_surface->orig_height, obj_surface->width,
I965_SURFACEFORMAT_R8_UNORM, 33, 1);
- /* If we are in "First Frame" mode, i.e. past frames are not
- available for motion measure, then don't use the TFF flag */
- dndi_top_first = !(deint_params->flags & (dndi_ctx->is_first_frame ?
- VA_DEINTERLACING_BOTTOM_FIELD :
- VA_DEINTERLACING_BOTTOM_FIELD_FIRST));
+ dndi_top_first = !(deint_params->flags & VA_DEINTERLACING_BOTTOM_FIELD);
/* sampler dndi */
dri_bo_map(pp_context->sampler_state_table.bo, True);