Function
This function clips off 'illegal' video values. As such, it is generally placed
at the end of a composite. You can set the node for either NTSC or PAL video,
based on either luminance or saturation. There is also a nice example of a conditional
statement for the videoGamma, toggling if from 2.8 (NTSC) or 2.2 (PAL). Generally,
these values are not touched.
Parameters
|
Type
|
Defaults
|
Function
|
videoType |
int
|
0 | 0 = NTSC 1 = PAL |
processingType |
int
|
0 | 0 = luminance-based calculation 1 = saturation-based calculation |
chroma/compositeRange |
float
|
100, 110 | The pseudo-percentage of the clip, as specified by the actual video hardware. |
videoGamma |
float
|
videoType ? 2.8 : 2.2 | The gamma basis, based upon the videoType. NTSC use 2.2 and PAL uses a gamma value of 2.8 |
Synopsis
image VideoSafe( image, int videoType, int processingType, float chromaRange, float compositeRange, float videoGamma );
Script
image VideoSafe( image, videoType, processingType, chromaRange, compositeRange, videoGamma );
Command Line
shake -videosafe videoType processingType etc...