| VideoSafe |
Function
Located in the Color tab, this function clips “illegal” video values.
As such, it is generally placed at the end of a composite. You can set the
node for NTSC or PAL video, based on luminance or saturation. There is also
an example
(in the subtab)
of a conditional statement for the videoGamma, that toggles between 2.8 (NTSC)
and 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...