DescriptionImprove GL shader YUV adjustment.
The raw texture data is from 0-255, so the constants used to adjust the
normalized data must be divided by 255 instead of 256. For
10-bit-per-component video, the constants must be multiplied by 4 and
divided by 1023.
BUG=621325
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/aa35e3ec5b767a8cbf18740e96969b72cb7a9561
Cr-Commit-Position: refs/heads/master@{#409647}
Patch Set 1 #Patch Set 2 : rebaseline tests #Patch Set 3 : fix 10-bit calculations #Patch Set 4 : rebaseline cc tests #
Total comments: 2
Patch Set 5 : post-review fixes #Patch Set 6 : fix compile #
Total comments: 2
Patch Set 7 : switch to uint32_t #
Total comments: 1
Patch Set 8 : add dchecks #
Total comments: 1
Patch Set 9 : add ipc validation #Patch Set 10 : change constants #Patch Set 11 : use enum hack #
Total comments: 1
Messages
Total messages: 81 (62 generated)
|