hi_tde_quick_fill

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Adds the quick fill command to a specified TDE job to fill the operation area of the destination bitmap with the specified color value. For details, see the following figure.

Restrictions

  • Before calling this API, call hi_tde_open to open the TDE device and call hi_tde_begin_job to obtain a valid job handle.
  • The area size, length, and width range is [1, 4096].
  • The specified operation area must have a common area with the specified bitmap. Otherwise, an error code is returned.
  • Currently, only the ARGB8888 format is supported.
  • This API does not support multiple processes.

Prototype

hi_s32 hi_tde_quick_fill(hi_s32 handle, const hi_tde_none_src *none_src, hi_u32 fill_data)

Parameters

Parameter

Input/Output

Description

handle

Input

Handle to a TDE job.

none_src

Input

Defines the bitmap information of the none-source bitmap operation area.

fill_data

Input

Filling color.

Returns