Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp94 ssize_t maxJpegSize = device->getJpegBufferSize(params.pictureWidth, params.pictureHeight); in updateStream() local
95 if (maxJpegSize <= 0) { in updateStream()
97 __FUNCTION__, mId, maxJpegSize); in updateStream()
116 (mCaptureHeap->getSize() < static_cast<size_t>(maxJpegSize)) || in updateStream()
118 static_cast<size_t>(maxJpegSize) * HEAP_SLACK_FACTOR) ) { in updateStream()
122 new MemoryHeapBase(maxJpegSize, 0, "Camera2Client::CaptureHeap"); in updateStream()
130 __FUNCTION__, mId, mCaptureHeap->getSize(), maxJpegSize); in updateStream()
DParameters.cpp894 Size maxJpegSize = getMaxSize(getAvailableJpegSizes()); in initialize() local
895 int64_t minFrameDurationNs = getJpegStreamMinFrameDurationNs(maxJpegSize); in initialize()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java286 Camera.Size maxJpegSize = SizeAreaComparator.findLargestByArea(jpegSizes); in mapScalerStreamConfigs() local
287 float jpegAspectRatio = maxJpegSize.width * 1.0f / maxJpegSize.height; in mapScalerStreamConfigs()
291 maxJpegSize.width, maxJpegSize.height, jpegAspectRatio)); in mapScalerStreamConfigs()