/frameworks/av/media/libstagefright/omx/1.0/ |
D | WGraphicBufferSource.cpp | 141 uint32_t consumerUsage; in configure() local 142 void *_params = &consumerUsage; in configure() 155 inHidlBytes(&consumerUsage, sizeof(consumerUsage)), in configure() 161 consumerUsage = 0; in configure() 189 consumerUsage)); in configure()
|
/frameworks/av/media/libstagefright/omx/ |
D | BWGraphicBufferSource.cpp | 104 uint32_t consumerUsage; in configure() local 107 &consumerUsage, sizeof(consumerUsage)) != OK) { in configure() 108 consumerUsage = 0; in configure() 128 consumerUsage)); in configure()
|
D | GraphicBufferSource.cpp | 1040 uint32_t consumerUsage) { in configure() argument 1068 consumerUsage |= GRALLOC_USAGE_HW_VIDEO_ENCODER; in configure() 1069 mConsumer->setConsumerUsageBits(consumerUsage); in configure()
|
/frameworks/native/libs/gui/ |
D | BufferItemConsumer.cpp | 36 const sp<IGraphicBufferConsumer>& consumer, uint64_t consumerUsage, in BufferItemConsumer() argument 40 status_t err = mConsumer->setConsumerUsageBits(consumerUsage); in BufferItemConsumer() 42 "Failed to set consumer usage bits to %#" PRIx64, consumerUsage); in BufferItemConsumer()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3IOStreamBase.cpp | 72 uint64_t consumerUsage = 0; in dump() local 73 status_t res = getEndpointUsage(&consumerUsage); in dump() 74 if (res != OK) consumerUsage = 0; in dump() 82 mUsage | consumerUsage, camera3_stream::max_buffers); in dump()
|
D | Camera3OutputStream.cpp | 93 uint64_t consumerUsage, android_dataspace dataSpace, in Camera3OutputStream() argument 102 mConsumerUsage(consumerUsage), in Camera3OutputStream() 112 if ((consumerUsage & GraphicBuffer::USAGE_HW_TEXTURE) == 0 && in Camera3OutputStream() 113 (consumerUsage & GraphicBuffer::USAGE_HW_COMPOSER) == 0) { in Camera3OutputStream() 115 __FUNCTION__, consumerUsage); in Camera3OutputStream() 131 uint64_t consumerUsage, nsecs_t timestampOffset, in Camera3OutputStream() argument 141 mConsumerUsage(consumerUsage), in Camera3OutputStream() 465 uint64_t consumerUsage = 0; in configureConsumerQueueLocked() local 466 getEndpointUsage(&consumerUsage); in configureConsumerQueueLocked() 469 mUsage | consumerUsage, mTotalBufferCount, in configureConsumerQueueLocked()
|
D | Camera3OutputStream.h | 104 uint64_t consumerUsage, android_dataspace dataSpace, 179 uint64_t consumerUsage = 0, nsecs_t timestampOffset = 0,
|
D | Camera3SharedOutputStream.cpp | 26 uint64_t consumerUsage, android_dataspace dataSpace, in Camera3SharedOutputStream() argument 30 format, dataSpace, rotation, consumerUsage, in Camera3SharedOutputStream()
|
D | Camera3SharedOutputStream.h | 37 uint64_t consumerUsage, android_dataspace dataSpace,
|
D | Camera3StreamSplitter.h | 55 uint64_t consumerUsage, size_t halMaxBuffers,
|
D | Camera3StreamSplitter.cpp | 42 uint64_t consumerUsage, size_t halMaxBuffers, sp<Surface>* consumer) { in connect() argument 85 mBufferItemConsumer = new BufferItemConsumer(mConsumer, consumerUsage, in connect()
|
D | Camera3Device.h | 121 bool isShared = false, uint64_t consumerUsage = 0) override; 126 bool isShared = false, uint64_t consumerUsage = 0) override;
|
D | Camera3Device.cpp | 1225 int streamSetId, bool isShared, uint64_t consumerUsage) { in createStream() argument 1237 format, dataSpace, rotation, id, streamSetId, isShared, consumerUsage); in createStream() 1243 int streamSetId, bool isShared, uint64_t consumerUsage) { in createStream() argument 1250 dataSpace, rotation, consumerUsage, isShared); in createStream() 1322 width, height, format, consumerUsage, dataSpace, rotation, in createStream() 1326 width, height, format, consumerUsage, dataSpace, rotation, in createStream() 3320 mapConsumerToFrameworkUsage(src.v3_2.consumerUsage)); in configureStreams() 3323 if (src.v3_2.consumerUsage != 0) { in configureStreams()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 75 int consumerUsage = 0; in setNativeWindowSizeFormatAndUsage() local 76 err = nativeWindow->query(nativeWindow, NATIVE_WINDOW_CONSUMER_USAGE_BITS, &consumerUsage); in setNativeWindowSizeFormatAndUsage() 111 int finalUsage = usage | consumerUsage; in setNativeWindowSizeFormatAndUsage() 112 ALOGV("gralloc usage: %#x(producer) + %#x(consumer) = %#x", usage, consumerUsage, finalUsage); in setNativeWindowSizeFormatAndUsage()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 573 uint64_t consumerUsage; in createDeferredSurfaceStreamLocked() local 589 consumerUsage = GraphicBuffer::USAGE_HW_TEXTURE; in createDeferredSurfaceStreamLocked() 591 consumerUsage |= GraphicBuffer::USAGE_HW_COMPOSER; in createDeferredSurfaceStreamLocked() 598 &streamId, outputConfiguration.getSurfaceSetID(), isShared, consumerUsage); in createDeferredSurfaceStreamLocked() 611 std::forward_as_tuple(width, height, format, dataSpace, consumerUsage)); in createDeferredSurfaceStreamLocked() 769 uint64_t consumerUsage = 0; in createSurfaceFromGbp() local 771 if ((err = gbp->getConsumerUsage(&consumerUsage)) != OK) { in createSurfaceFromGbp() 777 if (consumerUsage & GraphicBuffer::USAGE_HW_TEXTURE) { in createSurfaceFromGbp() 779 __FUNCTION__, mCameraIdStr.string(), consumerUsage); in createSurfaceFromGbp() 788 bool flexibleConsumer = (consumerUsage & disallowedFlags) == 0 && in createSurfaceFromGbp() [all …]
|
D | CameraDeviceClient.h | 216 uint64_t consumerUsage; variable 220 consumerUsage(0) {} in OutputStreamInfo() 224 dataSpace(_dataSpace), consumerUsage(_consumerUsage) {} in OutputStreamInfo()
|
/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 116 uint64_t producerUsage, uint64_t consumerUsage, const Rect& bounds, in lockAsync() argument 122 android_convertGralloc1To0Usage(producerUsage, consumerUsage)); in lockAsync()
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferItemConsumer.h | 55 uint64_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraDeviceBase.h | 122 bool isShared = false, uint64_t consumerUsage = 0) = 0; 135 bool isShared = false, uint64_t consumerUsage = 0) = 0;
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicBufferMapper.h | 68 uint64_t producerUsage, uint64_t consumerUsage, const Rect& bounds,
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 363 uint32_t consumerUsage = GRALLOC_USAGE_SW_READ_OFTEN; in ImageReader_init() local 373 consumerUsage = GRALLOC_USAGE_SW_READ_NEVER; in ImageReader_init() 375 consumerUsage = android_convertGralloc1To0Usage(0, outConsumerUsage); in ImageReader_init() 381 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init() 386 nativeFormat, consumerUsage); in ImageReader_init()
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 63 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint64_t consumerUsage,
|
D | RingBufferConsumer.cpp | 41 uint64_t consumerUsage, in RingBufferConsumer() argument 47 mConsumer->setConsumerUsageBits(consumerUsage); in RingBufferConsumer()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | GraphicBufferSource.h | 131 uint32_t consumerUsage);
|
/frameworks/base/media/java/android/media/ |
D | ImageReader.java | 1024 int fmt, int maxImgs, long consumerUsage); in nativeInit() argument
|