/frameworks/native/libs/gui/ |
H A D | 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); 33 BufferItemConsumer( const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, int bufferCount, bool controlledByApp) argument
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 72 uint32_t consumerUsage = 0; local 73 status_t res = getEndpointUsage(&consumerUsage); 74 if (res != OK) consumerUsage = 0; 82 camera3_stream::usage | consumerUsage, camera3_stream::max_buffers);
|
H A D | 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; local 491 getEndpointUsage(&consumerUsage); 494 camera3_stream::usage | consumerUsage, mTotalBufferCount, local 89 Camera3OutputStream(int id, uint32_t width, uint32_t height, int format, uint32_t consumerUsage, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
|
H A D | Camera3OutputStream.h | 103 uint32_t consumerUsage, android_dataspace dataSpace,
|
H A D | Camera3Device.h | 106 uint32_t consumerUsage = 0);
|
H A D | Camera3Device.cpp | 1013 camera3_stream_rotation_t rotation, int *id, int streamSetId, uint32_t consumerUsage) { 1019 consumerUsage); 1102 width, height, format, consumerUsage, dataSpace, rotation, 1011 createStream(sp<Surface> consumer, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id, int streamSetId, uint32_t consumerUsage) argument
|
/frameworks/native/include/gui/ |
H A D | 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/ |
H A D | 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; member in struct:android::Gralloc1On0Adapter::Descriptor 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 = local 422 if (consumerUsage [all...] |
H A D | 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, 129 lockHelper(LockType pfn, buffer_handle_t buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t* accessRegion, OutType* outData, const sp<Fence>& acquireFence) argument
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 75 int consumerUsage = 0; local 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/ |
H A D | Gralloc1On0Adapter.cpp | 242 static_cast<int>(descriptor->consumerUsage); 361 gralloc1_consumer_usage_t consumerUsage, 367 static_cast<int32_t>(producerUsage | consumerUsage), 376 static_cast<int32_t>(producerUsage | consumerUsage), 390 gralloc1_consumer_usage_t /*consumerUsage*/, 402 gralloc1_consumer_usage_t consumerUsage, 408 static_cast<int>(producerUsage | consumerUsage), 417 static_cast<int>(producerUsage | consumerUsage), 358 lock( const std::shared_ptr<Buffer>& buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t& accessRegion, void** outData, const sp<Fence>& acquireFence) argument 399 lockYCbCr( const std::shared_ptr<Buffer>& buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t& accessRegion, struct android_ycbcr* outData, const sp<Fence>& acquireFence) argument
|
H A D | 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); 229 lock(buffer_handle_t buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t* accessRegion, void** outData, const sp<Fence>& acquireFence) argument 240 lockFlex(buffer_handle_t buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t* accessRegion, struct android_flex_layout* outData, const sp<Fence>& acquireFence) argument 252 lockYCbCr(buffer_handle_t buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t* accessRegion, struct android_ycbcr* outData, const sp<Fence>& acquireFence) argument
|
/frameworks/av/services/camera/libcameraservice/gui/ |
H A D | RingBufferConsumer.h | 61 // Create a new ring buffer consumer. The consumerUsage parameter determines 65 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage,
|
H A D | RingBufferConsumer.cpp | 41 uint32_t consumerUsage, 47 mConsumer->setConsumerUsageBits(consumerUsage); 40 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, int bufferCount) argument
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 448 int32_t consumerUsage; local 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; local 587 consumerUsage = GraphicBuffer::USAGE_HW_TEXTURE; 589 consumerUsage |= GraphicBuffer::USAGE_HW_COMPOSER; 594 &streamId, outputConfiguration.getSurfaceSetID(), consumerUsage); [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | GraphicBufferSource.h | 59 uint32_t consumerUsage,
|
H A D | GraphicBufferSource.cpp | 120 uint32_t consumerUsage, 167 consumerUsage |= GRALLOC_USAGE_HW_VIDEO_ENCODER; 168 mConsumer->setConsumerUsageBits(consumerUsage); 115 GraphicBufferSource( OMXNodeInstance* nodeInstance, uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount, uint32_t consumerUsage, const sp<IGraphicBufferConsumer> &consumer) argument
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraDeviceBase.h | 114 uint32_t consumerUsage = 0) = 0;
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 359 uint32_t consumerUsage = GRALLOC_USAGE_SW_READ_OFTEN; local 364 consumerUsage = GRALLOC_USAGE_SW_READ_NEVER; 366 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages,
|