[go: nahoru, domu]

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

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

Completed in 64 milliseconds