View Single Post
Old 9th May 2021, 17:28   #9  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,352
@StainlessS: No, leave it alone, it was a proof of concept to optimize for speed, happens to be half the speed :S

@StvG: Kb and Kg might be floats but if you reference them from the standard values in ITU they are truncated to 3 or 4 digits. I derive them from the primaries with no limit in float precision, same for the gamut transformation matrices. Although if I'm not wrong avs+ will truncate them to single floats (?).

I will try to mix the YUV<->RGB conversion matrices with the gamut one to try to optimize it although I'm not optimistic since the format conversion should happen in gamma encoded sources. Also I will try to show some comparisons on color ramps since color bars are obviously designed with the standard in mind.
Dogway is offline   Reply With Quote