hardware/intel/intel-driver
修訂 | fdf94b23bade5e02959e0f9c85f2d0b595eac5bd (tree) |
---|---|
時間 | 2015-05-25 09:25:42 |
作者 | Xiang, Haihao <haihao.xiang@inte...> |
Commiter | Xiang, Haihao |
VPP: Adjust the parameter settings to DI on GEN6/GEN7
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
@@ -3457,7 +3457,7 @@ pp_nv12_dndi_initialize(VADriverContextP ctx, struct i965_post_processing_contex | ||
3457 | 3457 | sampler_dndi[index].dw4.sdi_threshold = 100; |
3458 | 3458 | sampler_dndi[index].dw4.stmm_output_shift = 5; // stmm_max - stmm_min = 2 ^ stmm_output_shift |
3459 | 3459 | sampler_dndi[index].dw4.stmm_shift_up = 1; |
3460 | - sampler_dndi[index].dw4.stmm_shift_down = 0; | |
3460 | + sampler_dndi[index].dw4.stmm_shift_down = 3; | |
3461 | 3461 | sampler_dndi[index].dw4.minimum_stmm = 118; |
3462 | 3462 | |
3463 | 3463 | sampler_dndi[index].dw5.fmd_temporal_difference_threshold = 175; |
@@ -3871,7 +3871,7 @@ gen7_pp_nv12_dndi_initialize(VADriverContextP ctx, struct i965_post_processing_c | ||
3871 | 3871 | sampler_dndi[index].dw4.sdi_threshold = 100; |
3872 | 3872 | sampler_dndi[index].dw4.stmm_output_shift = 5; // stmm_max - stmm_min = 2 ^ stmm_output_shift |
3873 | 3873 | sampler_dndi[index].dw4.stmm_shift_up = 1; |
3874 | - sampler_dndi[index].dw4.stmm_shift_down = 0; | |
3874 | + sampler_dndi[index].dw4.stmm_shift_down = 3; | |
3875 | 3875 | sampler_dndi[index].dw4.minimum_stmm = 118; |
3876 | 3876 | |
3877 | 3877 | sampler_dndi[index].dw5.fmd_temporal_difference_threshold = 175; |