Skip to content

FranceBB/SafeColorLimiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

SafeColorLimiter

The idea is to automatize clipping to get a broadcast safe output in Limited TV Range (0.0-0.7mV).
8bit sources will be limited to 16 - 235 luma and 16 - 240 chroma
10bit sources will be limited to 64 - 940 luma and 64 - 960 chroma
12bit sources will be limited to 256 - 3760 luma and 256 - 3840 chroma
14bit sources will be limited to 1024 - 15040 luma and 1024 - 15360 chroma
16bit sources will be limited to 4096 - 60160 luma and 4096 - 61440 chroma
32bit sources will be limited to 16/255.0 - 235/255.0 luma and -112/255.0 - -112/255.0 - 112/255.0 chroma


It supports y8, y10, y12, y14, y16, y32, yv12, YUY2, yv16, yv24 and
YUV 4:2:0 planar, YUV 4:1:1 planar, YUV 4:2:2 planar, YUV 4:4:4 planar 10-12-14-16-32bit
including those with Alpha Channels.
If the input is in RGB, it will just return the input untouched.

Full Range Video:
After Clipping: