Home
last modified time | relevance | path

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

12

/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/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/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp95 uint64_t consumerUsage, android_dataspace dataSpace, in Camera3OutputStream() argument
106 mConsumerUsage(consumerUsage), in Camera3OutputStream()
117 if ((consumerUsage & GraphicBuffer::USAGE_HW_TEXTURE) == 0 && in Camera3OutputStream()
118 (consumerUsage & GraphicBuffer::USAGE_HW_COMPOSER) == 0) { in Camera3OutputStream()
120 __FUNCTION__, consumerUsage); in Camera3OutputStream()
135 uint64_t consumerUsage, nsecs_t timestampOffset, in Camera3OutputStream() argument
146 mConsumerUsage(consumerUsage), in Camera3OutputStream()
494 uint64_t consumerUsage = 0; in configureConsumerQueueLocked() local
495 getEndpointUsage(&consumerUsage); in configureConsumerQueueLocked()
498 mUsage | consumerUsage, mTotalBufferCount, in configureConsumerQueueLocked()
[all …]
DCamera3IOStreamBase.cpp74 uint64_t consumerUsage = 0; in dump() local
75 status_t res = getEndpointUsage(&consumerUsage); in dump()
76 if (res != OK) consumerUsage = 0; in dump()
84 mUsage | consumerUsage, camera3_stream::max_buffers); in dump()
DCamera3StreamInterface.h55 uint64_t consumerUsage; variable
59 consumerUsage(0) {} in OutputStreamInfo()
63 dataSpace(_dataSpace), consumerUsage(_consumerUsage) {} in OutputStreamInfo()
DCamera3OutputStream.h106 uint64_t consumerUsage, android_dataspace dataSpace,
211 static void applyZSLUsageQuirk(int format, uint64_t *consumerUsage /*inout*/);
218 uint64_t consumerUsage = 0, nsecs_t timestampOffset = 0,
DCamera3SharedOutputStream.cpp32 uint64_t consumerUsage, android_dataspace dataSpace, in Camera3SharedOutputStream() argument
38 consumerUsage, timestampOffset, setId), in Camera3SharedOutputStream()
386 bool imgReaderUsage = (infoIt.consumerUsage & GRALLOC_USAGE_SW_READ_OFTEN) ? true : false; in updateStream()
DCamera3SharedOutputStream.h38 uint64_t consumerUsage, android_dataspace dataSpace,
DCamera3StreamSplitter.h57 uint64_t consumerUsage, uint64_t producerUsage, size_t halMaxBuffers, uint32_t width,
/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/libstagefright/omx/
DOmxGraphicBufferSource.cpp79 uint32_t consumerUsage) { in configure() argument
86 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 int finalUsage = usage | consumerUsage; in setNativeWindowSizeFormatAndUsage()
115 ALOGV("gralloc usage: %#x(producer) + %#x(consumer) = %#x", usage, consumerUsage, finalUsage); in setNativeWindowSizeFormatAndUsage()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp602 auto u = streamInfo.consumerUsage; in mapStreamInfo()
694 streamInfo.consumerUsage = GraphicBuffer::USAGE_HW_TEXTURE; in isSessionConfigurationSupported()
696 streamInfo.consumerUsage |= GraphicBuffer::USAGE_HW_COMPOSER; in isSessionConfigurationSupported()
1020 uint64_t consumerUsage; in createDeferredSurfaceStreamLocked() local
1036 consumerUsage = GraphicBuffer::USAGE_HW_TEXTURE; in createDeferredSurfaceStreamLocked()
1038 consumerUsage |= GraphicBuffer::USAGE_HW_COMPOSER; in createDeferredSurfaceStreamLocked()
1049 consumerUsage); in createDeferredSurfaceStreamLocked()
1062 std::forward_as_tuple(width, height, format, dataSpace, consumerUsage)); in createDeferredSurfaceStreamLocked()
1337 uint64_t consumerUsage = 0; in createSurfaceFromGbp() local
1339 if ((err = gbp->getConsumerUsage(&consumerUsage)) != OK) { in createSurfaceFromGbp()
[all …]
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp139 uint64_t consumerUsage, const Rect& bounds, void** vaddr, in lockAsync() argument
145 android_convertGralloc1To0Usage(producerUsage, consumerUsage)); in lockAsync()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOmxGraphicBufferSource.h74 uint32_t consumerUsage);
/frameworks/native/libs/gui/include/gui/
DBufferItemConsumer.h55 uint64_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS,
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h140 bool isShared = false, uint64_t consumerUsage = 0) = 0;
155 bool isShared = false, uint64_t consumerUsage = 0) = 0;
/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/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h75 status_t lockAsync(buffer_handle_t handle, uint64_t producerUsage, uint64_t consumerUsage,
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h75 status_t lockAsync(buffer_handle_t handle, uint64_t producerUsage, uint64_t consumerUsage,
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp382 uint64_t consumerUsage = in ImageReader_init() local
385 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()
390 nativeFormat, consumerUsage); in ImageReader_init()
394 if (consumerUsage & GRALLOC_USAGE_PROTECTED) { in ImageReader_init()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp296 uint64_t consumerUsage; in Create() local
297 native_window_get_consumer_usage(window, &consumerUsage); in Create()
298 windowInfo.windowUsageFlags = consumerUsage | hwbUsage.androidHardwareBufferUsage; in Create()
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
DGraphicBufferSource.h134 uint32_t consumerUsage);
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp1132 uint32_t consumerUsage) { in configure() argument
1160 consumerUsage |= GRALLOC_USAGE_HW_VIDEO_ENCODER; in configure()
1161 mConsumer->setConsumerUsageBits(consumerUsage); in configure()

12