diff options
author | Eric Yang <[email protected]> | 2018-11-22 02:07:06 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-12-18 18:25:11 -0500 |
commit | 12750d1647f118496f1da727146f255f5e44d500 (patch) | |
tree | 1cbe5d0869f7a4a7576586769837175b4994f729 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d71589f290a13bc2aa0d3d847aa8991d815d2f9e (diff) |
drm/amd/display: fix YCbCr420 blank color
[Why]
YCbCr420 packing format uses two chanels for luma, and 1
channel for both chroma component. Our previous implementation
did not account for this and results in every other pixel having
very high luma value, showing greyish color instead of black.
YCbCr444 = <Y1, Cb1, Cr1>; <Y2, Cb2, Cr2> .....
YCbCr420 = <Y1, Y2, Cb1>; <Y3, Y4, Cr1> .....
[How]
Program the second channel with the black color value for luma
as well.
Signed-off-by: Eric Yang <[email protected]>
Reviewed-by: Hugo Hu <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions