Video_options_setusesourcedimensions – Google Flix Engine Linux Reference Manual User Manual
Page 155

5.35 Scale
149
5.35.4.5
on2sc video_options_SetImageWidth (FLIX2HANDLE flix, const int32_t lImageWidth)
Set the scaled image width.
Determines the scaled width of the output video.
Parameters:
← flix Handle to the Flix Engine returned from
or
← lImageWidth Image width (in pixels)
Return values:
The image width value was successfully set in the engine.
The value is out of range.
The underlying communication layer failed.
Note:
The default is to use the source’s width.
Please use:
•
•
•
With the constants:
•
•
•
for access to the flix engine video scaling filter.
5.35.4.6
on2sc video_options_SetUseSourceDimensions (FLIX2HANDLE flix, const on2bool
bUseSourceDimensions)
Switch between source and scaled dimensions.
Parameters:
← flix Handle to the Flix Engine returned from
or
← bUseSourceDimensions New dimension status.
to use source dimensions,
to use
scaled dimensions.
Return values:
The dimension status was successfully set in the engine.
The underlying communication layer failed.
Note:
By default, the source dimensions will be used, unless a call to
video_options_SetImageHeight()
or
has been made.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen