Home
last modified time | relevance | path

Searched refs:consumerUsage (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/gui/
DBufferItemConsumer.cpp33 const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, in BufferItemConsumer() argument
37 status_t err = mConsumer->setConsumerUsageBits(consumerUsage); in BufferItemConsumer()
39 "Failed to set consumer usage bits to %#x", consumerUsage); in BufferItemConsumer()
/frameworks/native/include/gui/
DBufferItemConsumer.h58 uint32_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp343 int32_t consumerUsage; in createStream() local
345 &consumerUsage)) != OK) { in createStream()
350 if (consumerUsage & GraphicBuffer::USAGE_HW_TEXTURE) { in createStream()
361 bool flexibleConsumer = (consumerUsage & disallowedFlags) == 0 && in createStream()
362 (consumerUsage & allowedFlags) != 0; in createStream()
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h66 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage,
DRingBufferConsumer.cpp41 uint32_t consumerUsage, in RingBufferConsumer() argument
47 mConsumer->setConsumerUsageBits(consumerUsage); in RingBufferConsumer()
/frameworks/av/media/libstagefright/
DACodec.cpp700 int consumerUsage = 0; in configureOutputBuffersFromNativeWindow() local
703 &consumerUsage); in configureOutputBuffersFromNativeWindow()
710 omxUsage, usage, consumerUsage, usage | consumerUsage); in configureOutputBuffersFromNativeWindow()
711 usage |= consumerUsage; in configureOutputBuffersFromNativeWindow()