ILMVConvRGBDisp Interface

Interface Properties:

Type

Name

Description

BOOL

RGBOrder

TRUE to use RGB mode, FALSE to use BGR mode.

long

UsedBits

Sets or gets the currently used bits. Possible values are:

USEUPPERBITS,

USELOWERBITS,

USEFULLRANGE,

Or NOCHANGE.

 

BOOL

AutoStop

If TRUE, allows stopping the graph automatically, this is needed when the dimensions change while the graph is running. You need to re-run the graph after the change is applied.

LM_FORMATTYPE

InputVideoType

Sets or gets the input video format type. Possible values are:

LM_FORMATTYPE_VIDEOINFO:    The filter will accept media types with VIDEOINFO format only.

LM_FORMATTYPE_VIDEOINFO2:   The filter will accept media types with VIDEOINFO2 format only.

LM_FORMATTYPE

OutputVideoType

Sets or gets the output video format type. Possible values are:

LM_FORMATTYPE_VIDEOINFO:   The filter will offer media types with VIDEOINFO format only.

LM_FORMATTYPE_VIDEOINFO2:  The filter will offer media types with VIDEOINFO2 format only.

BOOL

IsLEADInputPinConnected

Read only; returns TRUE if the filters input pin is connected.

BOOL

IsLEADOutputPinConnected

Read only; returns TRUE if the filters output pin is connected.

long

InWidth

Read only; the input stream width.

long

InHeight

Read only; the input stream height.

long

OutWidth

Read only; the output stream width.

long

OutHeight

Read only; the output stream height.

long

InBits

Read only; the input stream bits per pixel.

long

OutBits

Read only; the output stream bits per pixel.

Methods:

HRESULT SetInputType(long nType, VARIANT_BOOL bPalette)

Parameters

nType

One of the LM_MEDIATYPES values.

bPalette

Determines whether the input is palletized (VARIANT_TRUE) or not (VARIANT_FALSE), this is valid only if nType is LM_MEDIATYPE_RGB8.

Description

Sets the current media input type.

Returns

S_OK if successful, S_FALSE other wise.

HRESULT GetInputType(long *pnType, VARIANT_BOOL *pbPalette)

Parameters

pnType

A valid pointer to an integer variable that will receive the input type ( one of the LM_MEDIATYPES constants).

pbPalette

A valid pointer to a Boolean variable that will receive the input palette status; VARIANT_TRUE if the input is palletized, VARIANT_FALSE otherwise. This is valid only if the input type is LM_MEDIATYPE_RGB8, otherwise, pbPalette will be always set to VARIANT_FALSE.

Description

Retrieves the current media input type.

Returns

S_OK if successful, S_FALSE otherwise.

HRESULT SetOutputType(long nType, VARIANT_BOOL bPalette)

Parameters

nType

One of the LM_MEDIATYPES values.

bPalette

Determines whether the output is palletized (VARIANT_TRUE) or not (VARIANT_FALSE), this is valid only if nType is LM_MEDIATYPE_RGB8.

Description

Sets the current media output type.

Returns

S_OK if successful, S_FALSE otherwise.

HRESULT GetOutputType(long *pnType, VARIANT_BOOL *pbPalette)

Parameters

pnType

A valid pointer to an integer variable that will receive the output type ( one of the LM_MEDIATYPES constants).

pbPalette

A valid pointer to a Boolean variable that will receive the output palette status, VARIANT_TRUE if the output is palletized, VARIANT_FALSE otherwise. This is valid only if the output type is LM_MEDIATYPE_RGB8, otherwise, pbPalette will be always set to FALSE.

Description

Retrieves the current media output type.

Returns

S_OK if successful, S_FALSE otherwise.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Filters C API Help