Deinterlace
[Video Filters]


Detailed Description

The adaptive deinterlace filter implements a deinterlacer with three different modes - 1:2:1 blur, drop field, and adaptive

Filter Parameters:

  Name                                |   Type   | Opt/Reqd |    Range
  ============================================================================
  FE2_ADAPTIVE_DEINTERLACE_MODE       | Numeric  | Required | deintmode_t

Example Usage:

  sc = Flix2_AddFilter(&filter, flix, FE2_FILTER_ADAPTIVE_DEINTERLACE);
  // use adaptive mode
  if(sc == ON2_OK)
      sc = Flix2_FilterSetParam(filter, FE2_ADAPTIVE_DEINTERLACE_MODE, DEINTERLACE_ADAPTIVE);

Additional References:

Deinterlace entry in the Wikipedia


Deprecated functions

on2sc video_options_GetDeinterlace (const FLIX2HANDLE flix, on2bool *lpDeinterlace)
 Determine if the deinterlace filter is enabled.
on2sc video_options_SetDeinterlace (FLIX2HANDLE flix, const on2bool lDeinterlace)
 Enable/disable the deinterlace filter.

Defines

#define FE2_FILTER_ADAPTIVE_DEINTERLACE
 Filter name for use with Flix2_AddFilter().
#define FE2_ADAPTIVE_DEINTERLACE_MODE
 Specifies deinterlace mode to be applied to source image.

Typedefs

typedef enum deinterlacemode deintmode_t

Enumerations

enum  deinterlacemode {
  DEINTERLACE_NONE,
  DEINTERLACE_1_2_1_BLUR,
  DEINTERLACE_DROP_FIELD,
  DEINTERLACE_ADAPTIVE
}

Define Documentation

#define FE2_ADAPTIVE_DEINTERLACE_MODE

Specifies deinterlace mode to be applied to source image.

The mode may be selected from deintmode_t.

Note:
Default: DEINTERLACE_NONE

Definition at line 65 of file adaptive_deinterlace.h.

#define FE2_FILTER_ADAPTIVE_DEINTERLACE

Filter name for use with Flix2_AddFilter().

Definition at line 58 of file adaptive_deinterlace.h.


Typedef Documentation


Enumeration Type Documentation

Enumerator:
DEINTERLACE_NONE 
DEINTERLACE_1_2_1_BLUR 
DEINTERLACE_DROP_FIELD 
DEINTERLACE_ADAPTIVE 

Definition at line 50 of file adaptive_deinterlace.h.


Function Documentation

on2sc video_options_GetDeinterlace ( const FLIX2HANDLE  flix,
on2bool lpDeinterlace 
)

Determine if the deinterlace filter is enabled.

Parameters:
[in] flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()
[out] lpDeinterlace Variable to update with the current deinterlace enable status
Return values:
ON2_OK The deinterlace filter enable 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:
Use the Filter Interface along with FE2_FILTER_ADAPTIVE_DEINTERLACE. This function will be removed in a future release.

on2sc video_options_SetDeinterlace ( FLIX2HANDLE  flix,
const on2bool  lDeinterlace 
)

Enable/disable the deinterlace filter.

Parameters:
[in] flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()
[in] lDeinterlace New deinterlace enable status. on2true to enable, on2false to disable.
Return values:
ON2_OK The deinterlace enable status was successfully set in the engine.
ON2_NET_ERROR The underlying communication layer failed.
Note:
By default, the deinterlace filter is disabled.
Using this function will force the use of 1:2:1 deinterlace.
Deprecated:
Use the Filter Interface along with FE2_FILTER_ADAPTIVE_DEINTERLACE. This function will be removed in a future release.


On2 Technologies, Inc Flix Engine Linux documentation, generated on Tue Nov 2 16:53:00 2010 by doxygen 1.5.5