Editor_options_setcrop, Editor_options_setcropbounds – Google Flix Engine Linux Reference Manual User Manual

Page 105

Advertising
background image

5.24 Crop

99

Deprecated

Use the

Filter Interface

along with

FE2_FILTER_CROP

and the

FE2_CROP_TOP

,

FE2_CROP_-

LEFT

,

FE2_CROP_BOTTOM

and

FE2_CROP_RIGHT

parameters. This function will be removed

in a future release.

5.24.3.3

on2sc editor_options_SetCrop (FLIX2HANDLE flix, const on2bool crop)

Enable/disable the crop filter.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← crop New crop enable status.

on2true

to enable,

on2false

to disable.

Return values:

ON2_OK

The crop enable status was successfully set in the engine.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

By default, the crop filter is disabled.

Deprecated

Use the

Filter Interface

along with

FE2_FILTER_CROP

. This function will be removed in a future

release.

5.24.3.4

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.

Parameters:

← flix Handle to the Flix Engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← top Topmost row of the cropped area

← left Leftmost column of the cropped area

← bottom Bottommost row of the cropped area

← right Rightmost row of the cropped area

Return values:

ON2_OK

The crop bounding box was successfully set in the engine.

ON2_NET_ERROR

The underlying communication layer failed.

Note:

This call will have no effect on the encoded video unless the crop filter is enabled with

editor_options_-

SetCrop()

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

Advertising