Defines, 3 define documentation – Google Flix Engine Linux Reference Manual User Manual

Page 151

Advertising
background image

5.35 Scale

145

on2sc video_options_SetImageHeight

(

FLIX2HANDLE

flix, const

int32_t

lImageHeight)

Set the scaled image height.

on2sc video_options_GetImageWidth

(const

FLIX2HANDLE

flix,

int32_t

∗lpImageWidth)

Get the current scaled image width.

on2sc video_options_SetImageWidth

(

FLIX2HANDLE

flix, const

int32_t

lImageWidth)

Set the scaled image width.

on2sc

video_options_GetUseSourceDimensions

(const

FLIX2HANDLE

flix,

on2bool

∗bpUseSourceDimensions)

Determine if the source’s dimensions will be used instead of the scaled dimensions.

on2sc video_options_SetUseSourceDimensions

(

FLIX2HANDLE

flix,

const

on2bool

bUs-

eSourceDimensions)

Switch between source and scaled dimensions.

Defines

• #define

FE2_FILTER_SCALE

Filter name for use with

Flix2_AddFilter()

.

• #define

FE2_SCALE_WIDTH

Filter parameter name for scaled width.

• #define

FE2_SCALE_HEIGHT

Filter parameter name for scaled height.

5.35.3

Define Documentation

5.35.3.1

#define FE2_FILTER_SCALE

Filter name for use with

Flix2_AddFilter()

.

Definition at line 73 of file scale.h.

5.35.3.2

#define FE2_SCALE_HEIGHT

Filter parameter name for scaled height.

Use FE2_SCALE_HEIGHT with

Flix2_FilterSetParam()

and

Flix2_FilterGetParam()

to set and/or get the

scaled height of the video.

Note:

The value returned by a call to

Flix2_FilterGetParam()

when this name is specified should only be

considered valid if it follows a call to

Flix2_FilterSetParam()

.

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising