hi_tde_pattern_fill_opt

Function

Defines the pattern filling options.

Definition

typedef struct {
    hi_tde_alpha_blending alpha_blending_cmd;
    hi_tde_rop_mode rop_color;
    hi_tde_rop_mode rop_alpha;
    hi_tde_colorkey_mode colorkey_mode;
    hi_tde_colorkey colorkey_value;
    hi_tde_clip_mode clip_mode;
    hi_tde_rect clip_rect;
    hi_bool clut_reload;
    hi_u8 global_alpha;
    hi_tde_out_alpha_from out_alpha_from;
    hi_u32 color_resize;
    hi_tde_blend_opt blend_opt;
    hi_tde_csc_opt csc_opt;
} hi_tde_pattern_fill_opt;

For details about basic data types hi_u8, hi_u32, and hi_bool, see Basic Data Types.

Members

Member

Description

alpha_blending_cmd

Logical operation type.

For details, see hi_tde_alpha_blending.

rop_color

ROP type of the color space. Not supported by Atlas 200I/500 A2 inference products.

For details, see hi_tde_rop_mode.

rop_alpha

ROP type of the alpha component. Not supported by Atlas 200I/500 A2 inference products.

For details, see hi_tde_rop_mode.

colorkey_mode

Colorkey mode. Not supported by Atlas 200I/500 A2 inference products.

For details, see hi_tde_colorkey_mode.

colorkey_value

Colorkey value. Not supported by Atlas 200I/500 A2 inference products.

For details, see hi_tde_colorkey.

clip_mode

Clipping mode. Not supported by Atlas 200I/500 A2 inference products.

For details, see hi_tde_clip_mode.

clip_rect

Clipping area. Not supported by Atlas 200I/500 A2 inference products.

For details, see hi_tde_rect.

clut_reload

Whether to reload the CLUT. Not supported by Atlas 200I/500 A2 inference products.

global_alpha

Global alpha value.

out_alpha_from

Source of the output alpha.

For details, see hi_tde_out_alpha_from.

color_resize

Colorize value. Not supported by Atlas 200I/500 A2 inference products.

blend_opt

Blend option.

For details, see hi_tde_blend_opt.

csc_opt

CSC option. Not supported by Atlas 200I/500 A2 inference products.

For details, see hi_tde_csc_opt.