Describes gamma correction attributes.
typedef struct{long lGamma;BOOL bGammaEqualize;long lDGamma;BOOL bDGammaEqualize;} GAMMA_ATTRIBUTES;
Gamma correction value, range between 1 and 500.
TRUE to enable gamma correction.
Default Gamma correction value. Original default value is 1.0.
Default gamma correction Enable flag.
Determines whether the filter input pin is currently connected.
| Return | Description |
|---|---|
| S_OK | Connected. |
| S_FALSE | Otherwise. |
Determines whether the filter output pin is currently connected.
| Return | Description |
|---|---|
| S_OK | Connected. |
| S_FALSE | Otherwise. |
Gets the current gamma correction attributes.
A valid pointer to a GAMMA_ATTRIBUTES structure.
| Return | Description |
|---|---|
| S_OK | Successful. |
| S_FALSE | Otherwise. |
Sets the gamma correction attributes. If the gamma value is out of the permitted range, it is clipped.
A GAMMA_ATTRIBUTES structure that contains gamma correction attributes to set.
| Return | Description |
|---|---|
| S_OK | Successful. |
| S_FALSE | Otherwise. |
Retrieves the current media dimensions.
A valid pointer to a long variable to be updated with the input media width. NULL can be passed if this value is not needed.
A valid pointer to a long variable to be updated with the input media height. NULL can be passed if this value is not needed.
A valid pointer to a long variable to be updated with the output media width. NULL can be passed if this value is not needed.
A valid pointer to a long variable to be updated with the output media height. NULL can be passed if this value is not needed.
| Return | Description |
|---|---|
| S_OK | Successful. |
| S_FALSE | Otherwise. |
Gets the bits per pixel of the current connected input and output media formats.
A valid pointer to an integer that will receive the input media bits per pixel value. NULL can be passed if this value is not needed.
A valid pointer to an integer that will receive the output media bits per pixel value. NULL can be passed if this value is not needed.
| Return | Description |
|---|---|
| S_OK | Successful. |
| S_FALSE | Otherwise. |