Package: android.hardware.media@1.0

types

Properties

FileDescriptor

typedef handle FileDescriptor

Fence

typedef FileDescriptor Fence

Bytes

typedef vec Bytes

Region

typedef vec Region

Ref:frameworks/native/include/ui/Region.h

AnwBufferAttributes

struct AnwBufferAttributes {uint32_t width; uint32_t height; uint32_t stride; PixelFormat format; uint32_t usage; uint32_t generationNumber; uint64_t layerCount; uint64_t id}

This struct contains attributes for a gralloc buffer that can be put into a union.

Details
Members
width
height
stride
format
usage
generationNumber
layerCount
id

AnwBuffer

struct AnwBuffer {handle nativeHandle; AnwBufferAttributes attr}

An AnwBuffer is simply AnwBufferAttributes plus a native handle.

Details
Members
nativeHandle
attr

Rect

struct Rect {int32_t left; int32_t top; int32_t right; int32_t bottom}

Ref:frameworks/native/include/android/rect.h Ref:frameworks/native/include/ui/Rect.h

Details
Members
left
top
right
bottom