FBIOPUT_SHOW_HIFB

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

☓

Atlas A3 training products/Atlas A3 inference products

☓

Atlas A2 training products/Atlas A2 inference products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

☓

Atlas training products

☓

Function

Displays or hides an overlaid layer.

Prototype

int ioctl (int fd, FBIOPUT_SHOW_HIFB, hi_bool *bshow)

Parameters

Parameter

Input/Output

Description

fd

Input

File descriptor of an FB device.

When open("/dev/fbx") is called in the application, the file descriptor of the FB device corresponding to the current VO device is returned.

FBIOPUT_SHOW_HIFB

Input

ioctl number.

bshow

Input

Pointer to the display status.

  • HI_TRUE: Displays the overlaid layer.
  • HI_FALSE: Hides the overlaid layer.

Returns

  • 0: success
  • Other values: failure

Restrictions

  • Before using the HiFB API, you need to call hi_mpi_vo_enable to enable the VO device.
  • This API does not support multiple processes or multiple threads.