Expand description
HB is an exposed singleton that dynamically loads libandroid.so on first access, reads the API version (accessible as HBHolder::api_level) and provides safe wrappers for the functions.
HBRef is a reference-counted AHardwareBuffer pointer.
All other types are generated from the NDK’s hardware_buffer.h and dependent header files.
Structs§
- AHardware
Buffer - AHardware
Buffer Desc - Buffer description. Used for allocating new buffers and querying parameters of existing ones.
- AHardware
Buffer Format - Buffer pixel formats.
- AHardware
Buffer Plane - Holds data for a single image plane.
- AHardware
Buffer Planes - Holds all image planes that contain the pixel data.
- AHardware
Buffer Usage Flags - Buffer usage flags, specifying how the buffer will be accessed.
- ARect
- Rectangular window area.
- HB
- Singleton that holds the loaded libandroid functions and provides wrappers.
- HBHolder
- Type of the singleton that holds the loaded libandroid functions
- HBRef
- A reference-counting pointer to an AHardwareBuffer.
- Lock
Info - Container for a mapped AHardwareBuffer and additional information.