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: |
|
|
|
Value |
Meaning |
|
|
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: |
|
|
|
Value |
Meaning |
|
|
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 filter’s input pin is connected. |
|
BOOL |
IsLEADOutputPinConnected |
Read only; returns TRUE if the filter’s 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:
Parameters
nType |
One of the LM_MEDIATYPES values. |
bPalette |
Determines wither 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.
Parameters
nType |
One of the LM_MEDIATYPES values. |
bPalette |
Determines wither 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.
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.