hi_csc_opt

Description

Defines the CSC type and color gamut information.

Prototype

typedef struct {
    hi_csc_type csc_type;
    hi_u32      len;
    hi_void*    value;
} hi_csc_opt;

Members

Member

Description

csc_type

Conversion type.

len

Size of the value parameter, in bytes.

value

Pointer to the color gamut information structure corresponding to the conversion type.

  • When hi_csc_type is set to HI_CSC_TYPE_RAW_TO_BAYER, value is organized as the hi_rcsc_conf structure.
  • When hi_csc_type is set to HI_CSC_TYPE_RAW_TO_RGB, value is organized as the hi_rcsc_to_rgb_conf structure.