hi_isp_gamma_curve_type

Description

Defines the gamma curve type.

Definition

typedef enum {
    HI_ISP_GAMMA_CURVE_DEFAULT = 0x0,
    HI_ISP_GAMMA_CURVE_SRGB,
    HI_ISP_GAMMA_CURVE_HDR,
    HI_ISP_GAMMA_CURVE_USER_DEFINE,
    HI_ISP_GAMMA_CURVE_BUTT
} hi_isp_gamma_curve_type;

Members

Member

Description

HI_ISP_GAMMA_CURVE_DEFAULT

Default transmission curve

HI_ISP_GAMMA_CURVE_SRGB

Default SDR transmission curve, which is defined by BT.709

HI_ISP_GAMMA_CURVE_HDR

Default HDR transmission curve, which is defined by SMPTE.2084. This member is not supported.

HI_ISP_GAMMA_CURVE_USER_DEFINE

User-defined transmission curve

HI_ISP_GAMMA_CURVE_BUTT

Stop bit of the enumeration for the transmission curve type

Restrictions

When a user-defined gamma curve is used, ensure that the gamma table is properly configured. The gamma curve in WDR mode is different from that in linear mode and can be generated using the PQ Tools.