Google Flix Engine Linux Reference Manual Instrukcja Użytkownika Strona 155

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 545
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 154
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 Flix2_Create() or Flix2_CreateEx()
lImageWidth Image width (in pixels)
Return values:
ON2_OK The image width 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 width.
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.
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 Flix2_Create() or Flix2_CreateEx()
bUseSourceDimensions New dimension status. on2true to use source dimensions, on2false to use
scaled dimensions.
Return values:
ON2_OK The dimension status was successfully set in the engine.
ON2_NET_ERROR The underlying communication layer failed.
Note:
By default, the source dimensions will be used, unless a call to video_options_SetImageHeight() or
video_options_SetImageWidth() has been made.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Przeglądanie stron 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 544 545

Komentarze do niniejszej Instrukcji

Brak uwag