Home
last modified time | relevance | path

Searched hist:"8 b59e34d0877595928f7ba92d4e1e93c88ae3451" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/video/drm/
H A Drockchip_post_csc.h8b59e34d0877595928f7ba92d4e1e93c88ae3451 Tue Aug 20 03:54:49 UTC 2024 Zhang Yubing <yubing.zhang@rock-chips.com> video/drm: vop2: fix some csc parameters error

1. Fix the csc matrix. For YUV709L to YUV709L, YUV601L to
YUV601L, YUV2020L to YUV2020L, The csc matrix should be
identity matrix. For YUV601L to YUV709L, modeify the csc
matrix.
2. optimize the final calculation result. Use the new r2y
and y2r matrix for csc yuv2yuv and rgb2rgb case. A simple
round is used for csc yuv2yuv and rgb2rgb case for a more
precise result.

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I59c38257cc3ca07e75c057eac710c9fa1e966ba9
H A Drockchip_post_csc.c8b59e34d0877595928f7ba92d4e1e93c88ae3451 Tue Aug 20 03:54:49 UTC 2024 Zhang Yubing <yubing.zhang@rock-chips.com> video/drm: vop2: fix some csc parameters error

1. Fix the csc matrix. For YUV709L to YUV709L, YUV601L to
YUV601L, YUV2020L to YUV2020L, The csc matrix should be
identity matrix. For YUV601L to YUV709L, modeify the csc
matrix.
2. optimize the final calculation result. Use the new r2y
and y2r matrix for csc yuv2yuv and rgb2rgb case. A simple
round is used for csc yuv2yuv and rgb2rgb case for a more
precise result.

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I59c38257cc3ca07e75c057eac710c9fa1e966ba9