beautypg.com

Frame rate, 27 frame rate, Framerate – Google Flix Engine Linux Reference Manual User Manual

Page 114: 1 detailed description, Deprecated functions

background image

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