Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/omx/
DOmxGraphicBufferSource.cpp88 uint32_t consumerUsage) { in configure() argument
89 uint64_t consumerUsage64 = static_cast<uint64_t>(consumerUsage); in configure()
100 uint64_t consumerUsage) { in configure() argument
107 frameWidth, frameHeight, consumerUsage); in configure()
/frameworks/av/media/libstagefright/omx/1.0/
DWGraphicBufferSource.cpp146 uint64_t consumerUsage; in configure() local
147 void *_params = &consumerUsage; in configure()
162 inHidlBytes(&consumerUsage, sizeof(consumerUsage)), in configure()
180 consumerUsage = 0; in configure()
182 consumerUsage = usage; in configure()
211 consumerUsage)); in configure()
/frameworks/av/media/codec2/sfplugin/
DOmx2IGraphicBufferSource.cpp157 uint32_t consumerUsage; in configure() local
160 &consumerUsage, sizeof(consumerUsage)) != OK) { in configure()
161 consumerUsage = 0; in configure()
181 consumerUsage)); in configure()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOmxGraphicBufferSource.h75 uint32_t consumerUsage);
85 uint64_t consumerUsage);
/frameworks/native/libs/gui/
DBufferItemConsumer.cpp36 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/media/codec2/hal/client/
Doutput.cpp188 uint64_t consumerUsage = 0; in configure() local
189 if (igbp && igbp->getConsumerUsage(&consumerUsage) != OK) { in configure()
208 (*syncObj)->consumerUsage = consumerUsage; in configure()
238 (*syncObj)->consumerUsage = consumerUsage; in configure()
281 if ((mBuffers[i]->getUsage() & consumerUsage) != consumerUsage) { in configure()
286 mBuffers[i]->getUsage() | consumerUsage, in configure()
291 __func__, mBuffers[i]->getUsage(), consumerUsage); in configure()
/frameworks/av/media/module/aidlpersistentsurface/wrapper/
DWAidlGraphicBufferSource.cpp152 int64_t consumerUsage; in configure() local
154 err = node->getConsumerUsage(&consumerUsage); in configure()
160 consumerUsage = 0; in configure()
177 static_cast<uint64_t>(consumerUsage))); in configure()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp83 uint64_t consumerUsage = 0; in dump() local
84 status_t res = getEndpointUsage(&consumerUsage); in dump()
85 if (res != OK) consumerUsage = 0; in dump()
93 mUsage | consumerUsage, camera_stream::max_buffers); in dump()
DCamera3OutputStream.cpp133 uint64_t consumerUsage, android_dataspace dataSpace, in Camera3OutputStream() argument
151 mConsumerUsage(consumerUsage), in Camera3OutputStream()
164 if ((consumerUsage & GraphicBuffer::USAGE_HW_TEXTURE) == 0 && in Camera3OutputStream()
165 (consumerUsage & GraphicBuffer::USAGE_HW_COMPOSER) == 0) { in Camera3OutputStream()
167 __FUNCTION__, consumerUsage); in Camera3OutputStream()
183 uint64_t consumerUsage, nsecs_t timestampOffset, in Camera3OutputStream() argument
200 mConsumerUsage(consumerUsage), in Camera3OutputStream()
721 uint64_t consumerUsage = 0; in configureConsumerQueueLocked() local
722 getEndpointUsage(&consumerUsage); in configureConsumerQueueLocked()
727 mUsage | consumerUsage, mTotalBufferCount, in configureConsumerQueueLocked()
[all …]
DCamera3StreamInterface.h110 uint64_t consumerUsage; variable
121 consumerUsage(0), in OutputStreamInfo()
132 dataSpace(_dataSpace), consumerUsage(_consumerUsage), in OutputStreamInfo()
DCamera3OutputStream.h128 uint64_t consumerUsage, android_dataspace dataSpace,
270 static void applyZSLUsageQuirk(int format, uint64_t *consumerUsage /*inout*/);
282 uint64_t consumerUsage = 0, nsecs_t timestampOffset = 0,
DCamera3SharedOutputStream.cpp32 uint64_t consumerUsage, android_dataspace dataSpace, in Camera3SharedOutputStream() argument
41 transport, consumerUsage, timestampOffset, setId, in Camera3SharedOutputStream()
399 bool imgReaderUsage = (infoIt.consumerUsage & GRALLOC_USAGE_SW_READ_OFTEN) ? true : false; in updateStream()
DCamera3SharedOutputStream.h38 uint64_t consumerUsage, android_dataspace dataSpace,
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.cpp448 uint64_t consumerUsage = 0; in createSurfaceFromGbp() local
450 if ((err = gbp->getConsumerUsage(&consumerUsage)) != OK) { in createSurfaceFromGbp()
456 if (consumerUsage & GraphicBuffer::USAGE_HW_TEXTURE) { in createSurfaceFromGbp()
458 "stream", __FUNCTION__, logicalCameraId.c_str(), consumerUsage); in createSurfaceFromGbp()
467 bool flexibleConsumer = (consumerUsage & disallowedFlags) == 0 && in createSurfaceFromGbp()
468 (consumerUsage & allowedFlags) != 0; in createSurfaceFromGbp()
514 ((consumerUsage & GRALLOC_USAGE_HW_MASK) && in createSurfaceFromGbp()
515 ((consumerUsage & GRALLOC_USAGE_SW_READ_MASK) == 0))) { in createSurfaceFromGbp()
600 streamInfo.consumerUsage = consumerUsage; in createSurfaceFromGbp()
636 if (consumerUsage != streamInfo.consumerUsage) { in createSurfaceFromGbp()
[all …]
/frameworks/av/media/module/aidlpersistentsurface/
DAidlGraphicBufferSource.cpp87 uint64_t consumerUsage) { in configure() argument
94 frameWidth, frameHeight, consumerUsage); in configure()
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp78 int consumerUsage = 0; in setNativeWindowSizeFormatAndUsage() local
79 err = nativeWindow->query(nativeWindow, NATIVE_WINDOW_CONSUMER_USAGE_BITS, &consumerUsage); in setNativeWindowSizeFormatAndUsage()
114 uint64_t finalUsage = (uint32_t) usage | (uint32_t) consumerUsage; in setNativeWindowSizeFormatAndUsage()
116 usage, consumerUsage, finalUsage); in setNativeWindowSizeFormatAndUsage()
/frameworks/av/media/module/aidlpersistentsurface/include/media/stagefright/aidlpersistentsurface/
DAidlGraphicBufferSource.h68 uint64_t consumerUsage);
/frameworks/av/media/codec2/vndk/include/
DC2BqBufferPriv.h124 uint64_t consumerUsage);
126 virtual void getConsumerUsage(uint64_t *consumerUsage);
/frameworks/av/media/module/bqhelper/include/media/stagefright/bqhelper/
DGraphicBufferSource.h134 uint32_t consumerUsage);
144 uint64_t consumerUsage);
/frameworks/native/libs/gui/include/gui/
DBufferItemConsumer.h55 uint64_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
DBLASTBufferQueue.h43 BLASTBufferItemConsumer(const sp<IGraphicBufferConsumer>& consumer, uint64_t consumerUsage, in BLASTBufferItemConsumer() argument
45 : BufferItemConsumer(consumer, consumerUsage, bufferCount, controlledByApp), in BLASTBufferItemConsumer()
/frameworks/base/libs/hostgraphics/gui/
DBufferItemConsumer.h28 BufferItemConsumer(const sp<IGraphicBufferConsumer>& consumer, uint64_t consumerUsage, in BufferItemConsumer() argument
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h61 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint64_t consumerUsage,
DRingBufferConsumer.cpp42 uint64_t consumerUsage, in RingBufferConsumer() argument
48 mConsumer->setConsumerUsageBits(consumerUsage); in RingBufferConsumer()
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h186 uint64_t consumerUsage = 0,
210 uint64_t consumerUsage = 0,

12