Skip to content

SetSDRUser3DLUT

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplay3DLUT

Syntax

ADLX_RESULT    SetSDRUser3DLUT (ADLX_3DLUT_TRANSFER_FUNCTION transferFunction, ADLX_3DLUT_COLORSPACE colorSpace, const ADLX_3DLUT_Data* data)

Parameters

#DirectionNameTypeDescription
1.[in]transferFunctionADLX_3DLUT_TRANSFER_FUNCTIONThe transfer function.
#DirectionNameTypeDescription
---------------
2.[in]colorSpaceADLX_3DLUT_COLORSPACEThe color space.
#DirectionNameTypeDescription
---------------
3.[in]pointsNumberadlx_intThe size of the custom 3D LUT data.
#DirectionNameTypeDescription
---------------
4.[in]dataADLX_3DLUT_DataThe custom 3D LUT buffer.

Return Value

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

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

Refer to ADLX_RESULT for success codes and error codes.

Remarks

To fill in the custom 3D LUT buffer use GetUser3DLUTIndex.

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

Headerinclude “IDisplay3DLUT.h”
Minimum version1.0

See Also: ADLX_3DLUT_Data, GetUser3DLUTIndex, SetAllUser3DLUT, SetHDRUser3DLUT, SetSDRUser3DLUT