Home
last modified time | relevance | path

Searched refs:numBufferProducers (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.cpp833 size_t numBufferProducers = bufferProducers.size(); in convertToHALStreamCombination() local
838 res = checkSurfaceType(numBufferProducers, deferredConsumer, it.getSurfaceType(), in convertToHALStreamCombination()
854 if (deferredConsumer || (!isConfigurationComplete && numBufferProducers == 0)) { in convertToHALStreamCombination()
905 if (numBufferProducers == 0) { in convertToHALStreamCombination()
965 binder::Status checkSurfaceType(size_t numBufferProducers, in checkSurfaceType() argument
967 if (numBufferProducers > MAX_SURFACES_PER_STREAM) { in checkSurfaceType()
969 __FUNCTION__, numBufferProducers, MAX_SURFACES_PER_STREAM); in checkSurfaceType()
971 } else if ((numBufferProducers == 0) && (!deferredConsumer) && isConfigurationComplete) { in checkSurfaceType()
986 } else if (!isConfigurationComplete && numBufferProducers == 0) { in checkSurfaceType()
DSessionConfigurationUtils.h145 binder::Status checkSurfaceType(size_t numBufferProducers,
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp902 size_t numBufferProducers = bufferProducers.size(); in createStream() local
906 bool deferredConsumerOnly = deferredConsumer && numBufferProducers == 0; in createStream()
915 res = SessionConfigurationUtils::checkSurfaceType(numBufferProducers, deferredConsumer, in createStream()