hotcheck.h File Reference
This method is called to perform the video color check for each pixel.
This function can 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 be present in computer generated images.
- Parameters
-
thepix | The pixel to check and correct if necessary. |
method | One of these values:
- HOT_FLAG: Flag the pixel as black.
- HOT_SCALE_LUM: Correct by scaling the luminance.
- HOT_SCALE_SAT: Correct by scaling the saturation.
|
- Returns
- A non-zero value if the color is corrected. Otherwise, zero.