
148 Flix Engine Linux Module Documentation
5.35.4.3 on2sc video_options_GetUseSourceDimensions (const FLIX2HANDLE flix, on2bool ∗
bpUseSourceDimensions)
Determine if the source’s dimensions will be used instead of the scaled dimensions.
Parameters:
← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()
→ bpUseSourceDimensions Variable to update with the current dimension status
Return values:
ON2_OK The dimension status was successfully retrieved from the engine.
ON2_NET_ERROR The underlying communication layer failed.
Note:
If a value other than ON2_OK is returned, the output variables should not be considered valid.
Deprecated
The flix engine encodes video using the video source dimensions by default. If FE2_FILTER_SCALE
has not been added to the filter chain, video will be encoded using source dimensions.
5.35.4.4 on2sc video_options_SetImageHeight (FLIX2HANDLE flix, const int32_t lImageHeight)
Set the scaled image height.
Determines the scaled height of the output video.
Parameters:
← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()
← lImageHeight Image height (in pixels)
Return values:
ON2_OK The image height value was successfully set in the engine.
ON2_INVALID_PARAMS The value is out of range.
ON2_NET_ERROR The underlying communication layer failed.
Note:
The default is to use the source’s height.
Deprecated
Please use:
• Flix2_AddFilter()
• Flix2_FilterGetParam()
• Flix2_FilterSetParam()
With the constants:
• FE2_FILTER_SCALE
• FE2_SCALE_WIDTH
• FE2_SCALE_HEIGHT
for access to the flix engine video scaling filter.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentarze do niniejszej Instrukcji