/frameworks/native/libs/gui/ |
BufferItemConsumer.cpp | 34 const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, 38 status_t err = mConsumer->setConsumerUsageBits(consumerUsage); 40 "Failed to set consumer usage bits to %#x", consumerUsage);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3IOStreamBase.cpp | 72 uint32_t consumerUsage = 0; 73 status_t res = getEndpointUsage(&consumerUsage); 74 if (res != OK) consumerUsage = 0; 82 camera3_stream::usage | consumerUsage, camera3_stream::max_buffers);
|
Camera3OutputStream.cpp | 91 uint32_t consumerUsage, android_dataspace dataSpace, 100 mConsumerUsage(consumerUsage) { 109 if ((consumerUsage & GraphicBuffer::USAGE_HW_TEXTURE) == 0 && 110 (consumerUsage & GraphicBuffer::USAGE_HW_COMPOSER) == 0) { 111 ALOGE("%s: Deferred consumer usage flag is illegal (0x%x)!", __FUNCTION__, consumerUsage); 490 uint32_t consumerUsage = 0; 491 getEndpointUsage(&consumerUsage); 494 camera3_stream::usage | consumerUsage, mTotalBufferCount,
|
Camera3OutputStream.h | 103 uint32_t consumerUsage, android_dataspace dataSpace,
|
Camera3Device.h | 106 uint32_t consumerUsage = 0); [all...] |
Camera3Device.cpp | [all...] |
/frameworks/native/include/gui/ |
BufferItemConsumer.h | 49 // Create a new buffer item consumer. The consumerUsage parameter determines 56 uint32_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
|
/frameworks/native/include/ui/ |
Gralloc1On0Adapter.h | 55 uint64_t /*gralloc1_consumer_usage_t*/ consumerUsage, 135 consumerUsage(GRALLOC1_CONSUMER_USAGE_NONE) {} 154 consumerUsage = usage; 165 gralloc1_consumer_usage_t consumerUsage; 233 *outUsage = mDescriptor.consumerUsage; 369 gralloc1_consumer_usage_t consumerUsage, 374 gralloc1_consumer_usage_t consumerUsage, 380 gralloc1_consumer_usage_t consumerUsage, 413 auto consumerUsage = 422 if (consumerUsage & GRALLOC1_CONSUMER_USAGE_CPU_READ != 0) [all...] |
Gralloc1.h | 107 gralloc1_consumer_usage_t consumerUsage, 112 gralloc1_consumer_usage_t consumerUsage, 117 gralloc1_consumer_usage_t consumerUsage, 131 gralloc1_consumer_usage_t consumerUsage, 136 static_cast<uint64_t>(consumerUsage), accessRegion, outData,
|
/frameworks/av/media/libstagefright/ |
SurfaceUtils.cpp | 75 int consumerUsage = 0; 76 err = nativeWindow->query(nativeWindow, NATIVE_WINDOW_CONSUMER_USAGE_BITS, &consumerUsage); 95 if (queuesToNativeWindow != 1 && !(consumerUsage & GRALLOC_USAGE_PROTECTED)) { 101 int finalUsage = usage | consumerUsage; 102 ALOGV("gralloc usage: %#x(producer) + %#x(consumer) = %#x", usage, consumerUsage, finalUsage);
|
/frameworks/native/libs/ui/ |
Gralloc1On0Adapter.cpp | 242 static_cast<int>(descriptor->consumerUsage); 360 gralloc1_consumer_usage_t consumerUsage, 366 static_cast<int32_t>(producerUsage | consumerUsage), 375 static_cast<int32_t>(producerUsage | consumerUsage), 389 gralloc1_consumer_usage_t /*consumerUsage*/, 401 gralloc1_consumer_usage_t consumerUsage, 407 static_cast<int>(producerUsage | consumerUsage), 416 static_cast<int>(producerUsage | consumerUsage),
|
Gralloc1.cpp | 231 gralloc1_consumer_usage_t consumerUsage, 237 consumerUsage, accessRegion, outData, acquireFence); 242 gralloc1_consumer_usage_t consumerUsage, 249 consumerUsage, accessRegion, outData, acquireFence); 254 gralloc1_consumer_usage_t consumerUsage, 261 consumerUsage, accessRegion, outData, acquireFence);
|
/frameworks/av/services/camera/libcameraservice/gui/ |
RingBufferConsumer.h | 61 // Create a new ring buffer consumer. The consumerUsage parameter determines 65 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage,
|
RingBufferConsumer.cpp | 41 uint32_t consumerUsage, 47 mConsumer->setConsumerUsageBits(consumerUsage);
|
/hardware/libhardware/include/hardware/ |
gralloc1.h | 747 /* lock(..., buffer, producerUsage, consumerUsage, accessRegion, outData, 754 * Exactly one of producerUsage and consumerUsage must be *_USAGE_NONE. The 782 * consumerUsage must be GRALLOC1_*_USAGE_NONE, and the other must be a 784 * consumerUsage - the consumer usage flags to request; either this or 796 * consumerUsage were GRALLOC1_*_USAGE_NONE, or the usage which was not 806 uint64_t /*gralloc1_consumer_usage_t*/ consumerUsage, 810 /* lockFlex(..., buffer, producerUsage, consumerUsage, accessRegion, [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
CameraDeviceClient.cpp | 448 int32_t consumerUsage; 473 &consumerUsage)) != OK) { 479 if (consumerUsage & GraphicBuffer::USAGE_HW_TEXTURE) { 481 __FUNCTION__, mCameraId, consumerUsage); 490 bool flexibleConsumer = (consumerUsage & disallowedFlags) == 0 && 491 (consumerUsage & allowedFlags) != 0; 571 int32_t consumerUsage; 587 consumerUsage = GraphicBuffer::USAGE_HW_TEXTURE; 589 consumerUsage |= GraphicBuffer::USAGE_HW_COMPOSER; 594 &streamId, outputConfiguration.getSurfaceSetID(), consumerUsage); [all...] |
/frameworks/av/media/libstagefright/omx/ |
GraphicBufferSource.h | 59 uint32_t consumerUsage,
|
GraphicBufferSource.cpp | 120 uint32_t consumerUsage, 168 consumerUsage |= GRALLOC_USAGE_HW_VIDEO_ENCODER; 169 mConsumer->setConsumerUsageBits(consumerUsage); [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
CameraDeviceBase.h | 114 uint32_t consumerUsage = 0) = 0;
|
/frameworks/base/media/jni/ |
android_media_ImageReader.cpp | 359 uint32_t consumerUsage = GRALLOC_USAGE_SW_READ_OFTEN; 364 consumerUsage = GRALLOC_USAGE_SW_READ_NEVER; 366 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages,
|