Type | Name | Description |
---|---|---|
VARIANT_BOOL | RGBOrder | TRUE to use RGB mode, FALSE to use BGR mode. |
long | UsedBit | Sets or gets the currently used bits. For possible values, refer to USEDBITS. |
VARIANT_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. |
LM_FORMATTYPE | OutputVideoType | Sets or gets the output video format type. |
VARIANT_BOOL | IsLEADInputPinConnected | Read only; returns TRUE if the filters input pin is connected. |
VARIANT_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. |
Sets the current media input type.
One of the LM_MEDIATYPES values.
Determines whether the input is palletized (VARIANT_TRUE) or not (VARIANT_FALSE), this is valid only if nType is LM_MEDIATYPE_RGB8.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Retrieves the current media input type.
A valid pointer to an integer variable that will receive the input type (one of the LM_MEDIATYPES constants).
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.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Sets the current media output type.
One of the LM_MEDIATYPES values.
Determines whether the output is palletized (VARIANT_TRUE) or not (VARIANT_FALSE), this is valid only if nType is LM_MEDIATYPE_RGB8.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Retrieves the current media output type.
A valid pointer to an integer variable that will receive the output type (one of the LM_MEDIATYPES constants).
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.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |