mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #4135 from fritsch/master-vaapi-field
libva-intel-driver: pick field_rate workaround for mcdi and madi on Gen6
This commit is contained in:
commit
e7e93031d4
@ -0,0 +1,39 @@
|
||||
From: Andy Furniss <adf.lists at gmail.com>
|
||||
|
||||
Signed-off-by: Andy Furniss <adf.lists at gmail.com>
|
||||
---
|
||||
src/i965_post_processing.c | 12 ++----------
|
||||
1 file 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);
|
||||
--
|
||||
1.7.9.5
|
Loading…
x
Reference in New Issue
Block a user