hardware/intel/intel-driver
Revisión | 4a1c4d21f3428b08ef765d7f7de75b97006514ac (tree) |
---|---|
Tiempo | 2015-05-25 09:25:42 |
Autor | Andy Furniss <adf.lists@gmai...> |
Commiter | Xiang, Haihao |
VPP: Enable field rate madi/mcdi. Only second hunk is tested
Signed-off-by: Andy Furniss <adf.lists@gmail.com>
@@ -3423,11 +3423,7 @@ pp_nv12_dndi_initialize(VADriverContextP ctx, struct i965_post_processing_contex | ||
3423 | 3423 | obj_surface->orig_width, obj_surface->orig_height, obj_surface->width, |
3424 | 3424 | I965_SURFACEFORMAT_R8_UNORM, 20, 1); |
3425 | 3425 | |
3426 | - /* If we are in "First Frame" mode, i.e. past frames are not | |
3427 | - available for motion measure, then don't use the TFF flag */ | |
3428 | - dndi_top_first = !(deint_params->flags & (dndi_ctx->is_first_frame ? | |
3429 | - VA_DEINTERLACING_BOTTOM_FIELD : | |
3430 | - VA_DEINTERLACING_BOTTOM_FIELD_FIRST)); | |
3426 | + dndi_top_first = !(deint_params->flags & VA_DEINTERLACING_BOTTOM_FIELD); | |
3431 | 3427 | |
3432 | 3428 | /* sampler dndi */ |
3433 | 3429 | 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 | ||
3833 | 3829 | obj_surface->orig_width, obj_surface->orig_height, obj_surface->width, |
3834 | 3830 | I965_SURFACEFORMAT_R8_UNORM, 33, 1); |
3835 | 3831 | |
3836 | - /* If we are in "First Frame" mode, i.e. past frames are not | |
3837 | - available for motion measure, then don't use the TFF flag */ | |
3838 | - dndi_top_first = !(deint_params->flags & (dndi_ctx->is_first_frame ? | |
3839 | - VA_DEINTERLACING_BOTTOM_FIELD : | |
3840 | - VA_DEINTERLACING_BOTTOM_FIELD_FIRST)); | |
3832 | + dndi_top_first = !(deint_params->flags & VA_DEINTERLACING_BOTTOM_FIELD); | |
3841 | 3833 | |
3842 | 3834 | /* sampler dndi */ |
3843 | 3835 | dri_bo_map(pp_context->sampler_state_table.bo, True); |