Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/omx/1.0/
DWGraphicBufferSource.cpp141 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/
DBWGraphicBufferSource.cpp104 uint32_t consumerUsage; in configure() local
107 &consumerUsage, sizeof(consumerUsage)) != OK) { in configure()
108 consumerUsage = 0; in configure()
128 consumerUsage)); in configure()
DGraphicBufferSource.cpp1040 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/
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/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp72 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()
DCamera3OutputStream.cpp93 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()
DCamera3OutputStream.h104 uint64_t consumerUsage, android_dataspace dataSpace,
179 uint64_t consumerUsage = 0, nsecs_t timestampOffset = 0,
DCamera3SharedOutputStream.cpp26 uint64_t consumerUsage, android_dataspace dataSpace, in Camera3SharedOutputStream() argument
30 format, dataSpace, rotation, consumerUsage, in Camera3SharedOutputStream()
DCamera3SharedOutputStream.h37 uint64_t consumerUsage, android_dataspace dataSpace,
DCamera3StreamSplitter.h55 uint64_t consumerUsage, size_t halMaxBuffers,
DCamera3StreamSplitter.cpp42 uint64_t consumerUsage, size_t halMaxBuffers, sp<Surface>* consumer) { in connect() argument
85 mBufferItemConsumer = new BufferItemConsumer(mConsumer, consumerUsage, in connect()
DCamera3Device.h121 bool isShared = false, uint64_t consumerUsage = 0) override;
126 bool isShared = false, uint64_t consumerUsage = 0) override;
DCamera3Device.cpp1225 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/
DSurfaceUtils.cpp75 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/
DCameraDeviceClient.cpp573 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 …]
DCameraDeviceClient.h216 uint64_t consumerUsage; variable
220 consumerUsage(0) {} in OutputStreamInfo()
224 dataSpace(_dataSpace), consumerUsage(_consumerUsage) {} in OutputStreamInfo()
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp116 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/
DBufferItemConsumer.h55 uint64_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h122 bool isShared = false, uint64_t consumerUsage = 0) = 0;
135 bool isShared = false, uint64_t consumerUsage = 0) = 0;
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h68 uint64_t producerUsage, uint64_t consumerUsage, const Rect& bounds,
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp363 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/
DRingBufferConsumer.h63 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint64_t consumerUsage,
DRingBufferConsumer.cpp41 uint64_t consumerUsage, in RingBufferConsumer() argument
47 mConsumer->setConsumerUsageBits(consumerUsage); in RingBufferConsumer()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DGraphicBufferSource.h131 uint32_t consumerUsage);
/frameworks/base/media/java/android/media/
DImageReader.java1024 int fmt, int maxImgs, long consumerUsage); in nativeInit() argument