Home
last modified time | relevance | path

Searched refs:aBuffer (Results 1 – 3 of 3) sorted by relevance

/hardware/libhardware/tests/hwc/
Dcnativewindow.c34 typedef struct ANativeWindowBuffer aBuffer; typedef
50 aBuffer base;
66 aBuffer *front;
67 aBuffer *spare;
83 static inline CNativeBuffer *from_abuffer(aBuffer *buf) { in from_abuffer()
97 static void put_front(struct CNativeBuffer *queue, aBuffer *_buf) { in put_front()
105 static void put_back(struct CNativeBuffer *queue, aBuffer *_buf) { in put_back()
131 static int cnw_dequeue_buffer1(aWindow *base, aBuffer **buf, int *ffd) { in cnw_dequeue_buffer1()
150 static int cnw_lock_buffer0(aWindow *base, aBuffer *buffer) { in cnw_lock_buffer0()
154 static void set_layer(hwc_layer_1_t *dl, aBuffer *buf, int ffd) { in set_layer()
[all …]
/hardware/google/av/media/sfplugin/
DCodec2Buffer.cpp631 sp<ABuffer> aBuffer = converter.wrap(); in Allocate() local
632 if (aBuffer == nullptr) { in Allocate()
633 aBuffer = alloc(converter.backBufferSize()); in Allocate()
634 if (!converter.setBackBuffer(aBuffer)) { in Allocate()
645 aBuffer, in Allocate()
662 sp<ABuffer> aBuffer(alloc(width * height * 4)); in AllocateEmpty() local
665 aBuffer, in AllocateEmpty()
674 const sp<ABuffer> &aBuffer, in ConstGraphicBlockBuffer() argument
679 : Codec2Buffer(format, aBuffer), in ConstGraphicBlockBuffer()
746 sp<ABuffer> aBuffer = new ABuffer(base(), capacity()); in copy() local
[all …]
DCodec2Buffer.h315 const sp<ABuffer> &aBuffer,