昇腾社区首页
中文
注册
开发者
下载

hi_csc_opt

说明

定义色域转换类型、色域信息。

定义

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

成员

成员名称

描述

csc_type

转换类型。

len

value参数大小,单位Byte。

value

对应不同转换类型的色域信息结构体指针。

  • 当hi_csc_type配置为HI_CSC_TYPE_RAW_TO_BAYER,则value按照hi_rcsc_conf结构体组织。
  • 当hi_csc_type配置为HI_CSC_TYPE_RAW_TO_RGB,则value按照hi_rcsc_to_rgb_conf结构体组织。