Google Flix Engine Linux Reference Manual Manuel d'utilisateur Page 114

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 545
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 113
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
on2sc video_options_GetVideoFramerate (const FLIX2HANDLE flix, int32_-
t lpVideoFramerate)
Get the current video framerate.
on2sc video_options_SetVideoFramerate (FLIX2HANDLE flix, const int32_t lVideoFramerate)
Set the video framerate.
on2sc video_options_GetVideoFramerateAsDouble (const FLIX2HANDLE flix, double p_fps)
Get the current video framerate.
on2sc video_options_SetVideoFramerateAsDouble (FLIX2HANDLE flix, const double fps)
Set the video framerate.
on2sc video_options_GetUseSourceFramerate (FLIX2HANDLE flix, on2bool
bpUseSourceFramerate)
Determine if the source’s framerate will be used instead of the modified framerate.
on2sc video_options_SetUseSourceFramerate (FLIX2HANDLE flix, const on2bool bUseSource-
Framerate)
Switch between source and scaled framerate.
on2sc video_options_GetDecimateValue (const FLIX2HANDLE flix, uint32_t pValue)
Get the current decimation of the video framerate.
on2sc video_options_SetDecimateValue (FLIX2HANDLE flix, const uint32_t value)
Set the decimation of the video framerate.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Vue de la page 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 544 545

Commentaires sur ces manuels

Pas de commentaire