HomeSort by relevance Sort by last modified time
    Searched defs:consumerUsage (Results 1 - 6 of 6) sorted by null

  /frameworks/av/media/libstagefright/
SurfaceUtils.cpp 75 int consumerUsage = 0;
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/av/services/camera/libcameraservice/device3/
Camera3IOStreamBase.cpp 72 uint32_t consumerUsage = 0;
73 status_t res = getEndpointUsage(&consumerUsage);
74 if (res != OK) consumerUsage = 0;
82 camera3_stream::usage | consumerUsage, camera3_stream::max_buffers);
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;
491 getEndpointUsage(&consumerUsage);
494 camera3_stream::usage | consumerUsage, mTotalBufferCount,
  /frameworks/native/include/ui/
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;
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 =
422 if (consumerUsage & GRALLOC1_CONSUMER_USAGE_CPU_READ != 0)
    [all...]
  /frameworks/av/services/camera/libcameraservice/api2/
CameraDeviceClient.cpp 448 int32_t consumerUsage;
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;
587 consumerUsage = GraphicBuffer::USAGE_HW_TEXTURE;
589 consumerUsage |= GraphicBuffer::USAGE_HW_COMPOSER;
594 &streamId, outputConfiguration.getSurfaceSetID(), consumerUsage);
    [all...]
  /frameworks/base/media/jni/
android_media_ImageReader.cpp 359 uint32_t consumerUsage = GRALLOC_USAGE_SW_READ_OFTEN;
364 consumerUsage = GRALLOC_USAGE_SW_READ_NEVER;
366 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages,

Completed in 519 milliseconds