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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 545
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 101
96 Flix Engine Linux Module Documentation
5.24 Crop
5.24.1 Detailed Description
The crop video filter is a filter used to isolate a subsection of an input image.
Filter Parameters:
Name | Type | Opt/Reqd | Range
=============================================================================
FE2_CROP_TOP | Numeric | Optional | [0,video height]
FE2_CROP_BOTTOM | Numeric | Optional | [0,video height]
FE2_CROP_LEFT | Numeric | Optional | [0,video width]
FE2_CROP_RIGHT | Numeric | Optional | [0,video width]
Example Usage:
sc = Flix2_AddFilter(&filter, flix, FE2_FILTER_CROP);
//set crop bounding box to (0,0,240,320) (t,l,b,r)
if(sc == ON2_OK)
sc = Flix2_FilterSetParam(filter, FE2_CROP_BOTTOM, 240);
if(sc == ON2_OK)
sc = Flix2_FilterSetParam(filter, FE2_CROP_RIGHT, 320);
Deprecated functions
on2sc editor_options_GetCrop (const FLIX2HANDLE flix, on2bool pCrop)
Determine if the crop filter is enabled.
on2sc editor_options_SetCrop (FLIX2HANDLE flix, const on2bool crop)
Enable/disable the crop filter.
on2sc editor_options_GetCropBounds (const FLIX2HANDLE flix, int32_t pTop, int32_t pLeft,
int32_t pBottom, int32_t pRight)
Get the current bounding box used for cropping.
on2sc editor_options_SetCropBounds (FLIX2HANDLE flix, const int32_t top, const int32_t left,
const int32_t bottom, const int32_t right)
Set the current bounding box used for cropping.
Defines
#define FE2_FILTER_CROP
Filter name for use with Flix2_AddFilter().
#define FE2_CROP_TOP
Filter parameter for setting bounding box’s top coordinate.
#define FE2_CROP_BOTTOM
Filter parameter for setting bounding box’s bottom coordinate.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Przeglądanie stron 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 544 545

Komentarze do niniejszej Instrukcji

Brak uwag