HotLimit()
- This method is called to perform the
video color check for each pixel.
Returns a non-zero value if the color was corrected; otherwise if no problems then zero. These functions may be used to correct a pixel with RGB values that will give "unsafe" values of chrominance signal or composite signal amplitude when encoded into an NTSC or PAL color signal. This happens for certain high-intensity high-saturation colors that are rare in real scenes, but can easily be present in computer generated images.
Parameters:
Color48
*thepix
- The pixel to check and correct if necessary.int method = HOT_SCALE_LUM
- One of the following
values:HOT_FLAG
- Flag the pixel as black.HOT_SCALE_LUM
- Correct by scaling the
luminance.HOT_SCALE_SAT
- Correct by scaling
the saturation.