Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp99 ssize_t maxJpegSize = device->getJpegBufferSize(params.pictureWidth, params.pictureHeight); in updateStream() local
100 if (maxJpegSize <= 0) { in updateStream()
102 __FUNCTION__, mId, maxJpegSize); in updateStream()
121 (mCaptureHeap->getSize() < static_cast<size_t>(maxJpegSize)) || in updateStream()
123 static_cast<size_t>(maxJpegSize) * HEAP_SLACK_FACTOR) ) { in updateStream()
127 new MemoryHeapBase(maxJpegSize, 0, "Camera2Client::CaptureHeap"); in updateStream()
135 __FUNCTION__, mId, mCaptureHeap->getSize(), maxJpegSize); in updateStream()
DParameters.h227 Size maxJpegSize; member
DParameters.cpp901 Size maxJpegSize = getMaxSize(getAvailableJpegSizes()); in initialize() local
902 int64_t minFrameDurationNs = getJpegStreamMinFrameDurationNs(maxJpegSize); in initialize()
1156 fastInfo.maxJpegSize = getMaxSize(getAvailableJpegSizes()); in buildFastInfo()
2275 (fastInfo.maxJpegSize.width * fastInfo.maxJpegSize.height / 4) ) { in useZeroShutterLag()
/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()