GetSDRUser3DLUT

Gets the custom 3D LUT data suitable for the SDR mode of a display.

Syntax

Copied!

ADLX_RESULT     GetSDRUser3DLUT (ADLX_3DLUT_TRANSFER_FUNCTION * transferFunction, ADLX_3DLUT_COLORSPACE * colorSpace, ADLX_3DLUT_Data * data)

Parameters

  1. [out] transferFunction ADLX_3DLUT_TRANSFER_FUNCTION * The pointer to a variable where the transfer function is returned.

  2. [out] colorSpace ADLX_3DLUT_COLORSPACE * The pointer to a variable where the color space is returned.

  3. [out] pointsNumber adlx_int* The pointer to a variable where the size of the custom 3D LUT buffer is returned.

  4. [out] data ADLX_3DLUT_Data * The pointer to a variable where the custom 3D LUT buffer is returned.

Return Value

If the custom 3D LUT data is successfully returned, ADLX_OK is returned.

If the custom 3D LUT data is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Note: SetAllUser3DLUT sets a custom 3D LUT data for both the SDR mode and HDR mode of a display.

Setting a custom 3D LUT data suitable for the SDR mode of the display with SetSDRUser3DLUT will delete the custom 3D LUT data for the HDR mode that was previously created with SetAllUser3DLUT . If a custom 3D LUT data suitable for the HDR mode is also required, it must be set with SetHDRUser3DLUT .

Setting a custom 3D LUT data suitable for the HDR mode of the display with SetHDRUser3DLUT will delete the custom 3D LUT data for the SDR mode that was previously created with SetAllUser3DLUT . If a custom 3D LUT data suitable for the SDR mode is also required, it must be set with SetSDRUser3DLUT .

Requirements

Header

include “IDisplay3DLUT.h”

Minimum version

1.0