| #
b12f8e1c |
| 28-Apr-2025 |
Damon Ding <damon.ding@rock-chips.com> |
video/drm: post_csc: Fix post csc rgb2rgb matrix
The csc conversion matrixes y2r_for_r2r and r2y_for_r2r have been confused in the previous commit 8b59e34d087 ("video/drm: vop2: fix some csc paramet
video/drm: post_csc: Fix post csc rgb2rgb matrix
The csc conversion matrixes y2r_for_r2r and r2y_for_r2r have been confused in the previous commit 8b59e34d087 ("video/drm: vop2: fix some csc parameters error").
Fixes: 8b59e34d087 ("video/drm: vop2: fix some csc parameters error") Change-Id: I8b1cee84d471eb1e2d1c8602c66754a2feada388 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
show more ...
|
| #
8b59e34d |
| 20-Aug-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 YUV70
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
show more ...
|