|
SetLUT
|
|
| LUT
|
| SAFEARRAY of floating point factors to be used in the lookup table. The value of 1.0 corresponds to the maximum pixel value in the currently selected video format.
|
| Channels
|
| Number of color channels in the submitted array. Can be one of the following values:
|
| 1 - the array contains a one-channel LUT which will be used for all color components
|
| 3 - the array contains a three-channel LUT where the first 1/3 of elements represent the red channel, the second 1/3 of elements - green channel and the last 1/3 of elements - blue channel.
|
| 4 - the array contains a four-channel LUT used for the operation on a raw Bayer video. The first 1/4 of elements represent the R channel, the second 1/4 of elements - Gr channel, the third 1/4 of elements - B channel and the last 1/4 of elements - Gb channel.
|
| S_OK
|
| Success
|
| E_FAIL
|
| Failure.
|