mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
amd/vpelib: remove luma offset (#459)
\[WHY\] Shader and VPE does not apply brightness adjs in the same manner \[HOW\] Removed luma offset added in VPE \[TESTING\] Tested on real time video rendering Co-authored-by: Tiberiu Visan <tvisan@amd.com> Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> Reviewed-by: Navid Assadian <Navid.Assadian@amd.com> Acked-by: Chenyu Chen <Chen-Yu.Chen@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32075>
This commit is contained in:
parent
2172ab2c2a
commit
d379a3a428
1 changed files with 0 additions and 1 deletions
|
|
@ -625,7 +625,6 @@ static void calculate_yuv_matrix(struct vpe_color_adjustments *vpe_adjust,
|
|||
|
||||
color_adjustments_to_fixed_point(
|
||||
vpe_adjust, ovl, &grph_cont, &grph_sat, &grph_bright, &sin_grph_hue, &cos_grph_hue);
|
||||
grph_bright = vpe_fixpt_sub(grph_bright, lumaOffset);
|
||||
|
||||
multiplier = vpe_fixpt_mul(grph_cont, grph_sat); // contSat
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue