Title Function specifications | Function Set YC magnification | Function Name MPG_WnSetYcRatio | No 4.12 |
-
format void MPG_WnSetYCratio (MpgWn mpgwn, Uint32 y_rat, Uint32 c_rat)
Input mpgwn: MPEG window
y_rat: Luminance signal magnification
: c_rat: Magnification signal magnification
Output None
Function value None
Function Sets the magnification of the luminance signal and color difference signal. Used for fade in / fade out
Yes, you can . If c_rat is set to 0, the video will be monochrome.
, y_rat and c_rat are each 16 levels (0 to 15).
Title Function specifications | Function Set interpolation mode | Function Name MPG_WnSetIntpol | No 4.13 |
-
format void MPG_WnSetIntpol (MpgWn mpgwn,
( B Bool sw_yh, Bool sw_yv, Bool sw_ch, Bool sw_cv)
Input mpgwn: MPEG window
: sw_yh: Brightness horizontal interpolation switch (ON / OFF)
: sw_yv: Vertical interpolation switch for luminance (ON / OFF)
sw_ch: Color difference horizontal interpolation switch (ON / OFF)
: sw_cv: Vertical interpolation switch for color difference (ON / OFF)
Output None
Function value None
Function Sets whether to interpolate the luminance signal and color difference signal.
Title Function specifications | Function Mosaic settings | Function Name MPG_WnSetMozaic | No 4.14 |
-
format void MPG_WnSetMozaic (MpgWn mpgwn, Sint32 moz_h, Sint32 moz_v)
Input mpgwn: MPEG window
: moz_h (n): Ratio of horizontal mosaic (2 to the nth power)
: moz_v (n): Ratio of vertical mosaic (2 to the nth power)
Output None
Function value None
Function Set the mosaic ratio between 0 and 10.
Example / * Set the horizontal direction to 16 (2 ^ 4) times and set the vertical direction to 64 (2 ^ 6) times * /
MPG_WnSetMozaic (mpgwn, 4, 6);