Frame rate, 27 frame rate, Framerate – Google Flix Engine Linux Reference Manual User Manual
Page 114: 1 detailed description, Deprecated functions

108
Flix Engine Linux Module Documentation
5.27
Frame Rate
5.27.1
Detailed Description
The frame rate filter modifies the source frame rate either by applying a specific frame rate (e.g. 12.0) or a
decimation interval (e.g. 2 = 1/2 source frame rate).
Filter Parameters:
Name
|
Type
| Opt/Reqd |
Range
============================================================================
FE2_FRAMERATE_FPS
| Numeric
| Optional | [0.0,)
FE2_FRAMERATE_DECIMATE
| Numeric
| Optional | [1,)
Example Usage:
sc = Flix2_AddFilter(&filter, flix, FE2_FILTER_FRAMERATE);
// decimate by 2. ex. 29.97fps becomes 14.985
if(sc == ON2_OK)
sc = Flix2_FilterSetParam(filter, FE2_FRAMERATE_DECIMATE, 2);
Deprecated functions
•
video_options_GetVideoFramerate
(const
flix,
∗lpVideoFramerate)
Get the current video framerate.
•
on2sc video_options_SetVideoFramerate
flix, const
lVideoFramerate)
Set the video framerate.
•
on2sc video_options_GetVideoFramerateAsDouble
(const
flix, double ∗p_fps)
Get the current video framerate.
•
on2sc video_options_SetVideoFramerateAsDouble
flix, const double fps)
Set the video framerate.
•
video_options_GetUseSourceFramerate
flix,
∗bpUseSourceFramerate)
Determine if the source’s framerate will be used instead of the modified framerate.
•
on2sc video_options_SetUseSourceFramerate
flix, const
bUseSource-
Framerate)
Switch between source and scaled framerate.
•
on2sc video_options_GetDecimateValue
(const
flix,
∗pValue)
Get the current decimation of the video framerate.
•
on2sc video_options_SetDecimateValue
flix, const
value)
Set the decimation of the video framerate.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen