Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp76 ssize_t maxJpegSize = device->getJpegBufferSize(params.pictureWidth, params.pictureHeight); in updateStream() local
77 if (maxJpegSize <= 0) { in updateStream()
79 __FUNCTION__, mId, maxJpegSize); in updateStream()
98 (mCaptureHeap->getSize() < static_cast<size_t>(maxJpegSize)) || in updateStream()
100 static_cast<size_t>(maxJpegSize) * HEAP_SLACK_FACTOR) ) { in updateStream()
104 new MemoryHeapBase(maxJpegSize, 0, "Camera2Client::CaptureHeap"); in updateStream()
112 __FUNCTION__, mId, mCaptureHeap->getSize(), maxJpegSize); in updateStream()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java285 Camera.Size maxJpegSize = SizeAreaComparator.findLargestByArea(jpegSizes); in mapScalerStreamConfigs() local
286 float jpegAspectRatio = maxJpegSize.width * 1.0f / maxJpegSize.height; in mapScalerStreamConfigs()
290 maxJpegSize.width, maxJpegSize.height, jpegAspectRatio)); in mapScalerStreamConfigs()