FBIOGET_ALPHA_HIFB
The
The
Description
Obtains the alpha information of an overlaid layer.
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.
Prototype
int ioctl (int fd, FBIOGET_ALPHA_HIFB, hi_fb_alpha *alpha)
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. |
FBIOGET_ALPHA_HIFB |
Input |
ioctl number. |
alpha |
Output |
Pointer to the alpha attribute. |
Returns
- 0: success
- Other values: failure
Parent topic: HiFB for Managing Overlaid Graphics Layers