Home
last modified time | relevance | path

Searched refs:maxResolution (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.h80 bool maxResolution = false);
177 DistortionMapperInfo *getMapperInfo(bool maxResolution = false) {
178 return maxResolution ? &mDistortionMapperInfoMaximumResolution :
194 status_t setupStaticInfoLocked(const CameraMetadata &deviceInfo, bool maxResolution);
DDistortionMapper.cpp80 bool maxResolution) { in setupStaticInfoLocked() argument
81 DistortionMapperInfo *mapperInfo = maxResolution ? &mDistortionMapperInfoMaximumResolution : in setupStaticInfoLocked()
88 ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE, maxResolution)); in setupStaticInfoLocked()
98 ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, maxResolution)); in setupStaticInfoLocked()
109 return updateCalibration(deviceInfo, /*isStatic*/ true, maxResolution); in setupStaticInfoLocked()
137 bool maxResolution = doesSettingsHaveMaxResolution(request); in correctCaptureRequest() local
138 DistortionMapperInfo *mapperInfo = maxResolution ? &mDistortionMapperInfoMaximumResolution : in correctCaptureRequest()
169 bool maxResolution = doesSettingsHaveMaxResolution(result); in correctCaptureResult() local
170 DistortionMapperInfo *mapperInfo = maxResolution ? &mDistortionMapperInfoMaximumResolution : in correctCaptureResult()
176 res = updateCalibration(*result, /*isStatic*/ false, maxResolution); in correctCaptureResult()
[all …]
DCamera3Device.h234 bool maxResolution) const;
DCamera3Device.cpp485 int32_t height, bool maxResolution) const { in getRawOpaqueBufferSize()
494 maxResolution)); in getRawOpaqueBufferSize()
1138 bool maxResolution = in createStream() local
1142 height, maxResolution); in createStream()
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraDevice.cc359 std::optional<Resolution> maxResolution = in initCameraCharacteristics() local
361 if (!maxResolution.has_value()) { in initCameraCharacteristics()
364 builder.setSensorActiveArraySize(0, 0, maxResolution->width, in initCameraCharacteristics()
365 maxResolution->height); in initCameraCharacteristics()
366 builder.setSensorPixelArraySize(maxResolution->width, maxResolution->height); in initCameraCharacteristics()
609 std::optional<Resolution> maxResolution = in getMaxInputResolution() local
611 if (!maxResolution.has_value()) { in getMaxInputResolution()
618 return maxResolution.value(); in getMaxInputResolution()
DVirtualCameraSession.cc240 Resolution maxResolution = resolutionFromStream(maxResolutionStream); in pickInputConfigurationForStreams() local
245 auto isBetterInputConfig = [maxResolution]( in pickInputConfigurationForStreams()
248 int maxResPixelCount = maxResolution.width * maxResolution.height; in pickInputConfigurationForStreams()
260 if (inputConfigResolution < maxResolution || in pickInputConfigurationForStreams()
261 !isApproximatellySameAspectRatio(inputConfigResolution, maxResolution)) { in pickInputConfigurationForStreams()
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtilsHost.cpp23 int32_t getAppropriateModeTag(int32_t defaultTag, bool maxResolution) { in getAppropriateModeTag() argument
24 if (!maxResolution) { in getAppropriateModeTag()
DSessionConfigurationUtilsHost.h27 int32_t getAppropriateModeTag(int32_t defaultTag, bool maxResolution = false);
DSessionConfigurationUtils.cpp159 const CameraMetadata& info, bool maxResolution, /*out*/int32_t* outWidth, in roundBufferDimensionNearest() argument
163 maxResolution); in roundBufferDimensionNearest()
165 getAppropriateModeTag(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, maxResolution); in roundBufferDimensionNearest()
167 getAppropriateModeTag(ANDROID_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS, maxResolution); in roundBufferDimensionNearest()
169 ANDROID_JPEGR_AVAILABLE_JPEG_R_STREAM_CONFIGURATIONS, maxResolution); in roundBufferDimensionNearest()
209 __FUNCTION__, format, width, height, maxResolution ? "true" : "false"); in roundBufferDimensionNearest()
DSessionConfigurationUtils.h101 android_dataspace dataSpace, const CameraMetadata& info, bool maxResolution,
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp1255 status_t CameraProviderManager::ProviderInfo::DeviceInfo3::deriveJpegRTags(bool maxResolution) { in deriveJpegRTags() argument
1262 ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, maxResolution); in deriveJpegRTags()
1264 ANDROID_SCALER_AVAILABLE_MIN_FRAME_DURATIONS, maxResolution); in deriveJpegRTags()
1267 ANDROID_SCALER_AVAILABLE_STALL_DURATIONS, maxResolution); in deriveJpegRTags()
1271 ANDROID_JPEGR_AVAILABLE_JPEG_R_STREAM_CONFIGURATIONS, maxResolution); in deriveJpegRTags()
1274 ANDROID_JPEGR_AVAILABLE_JPEG_R_STALL_DURATIONS, maxResolution); in deriveJpegRTags()
1277 ANDROID_JPEGR_AVAILABLE_JPEG_R_MIN_FRAME_DURATIONS, maxResolution); in deriveJpegRTags()
1389 if (colorSpaces.count > 0 && !maxResolution) { in deriveJpegRTags()
1433 bool maxResolution) { in addDynamicDepthTags() argument
1438 ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, maxResolution); in addDynamicDepthTags()
[all …]
DCameraProviderManager.h752 status_t addDynamicDepthTags(bool maxResolution = false);
753 status_t deriveHeicTags(bool maxResolution = false);
754 status_t deriveJpegRTags(bool maxResolution = false);
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.h96 static void getSupportedDepthSizes(const CameraMetadata& ch, bool maxResolution,
DDepthCompositeStream.cpp875 void DepthCompositeStream::getSupportedDepthSizes(const CameraMetadata& ch, bool maxResolution, in getSupportedDepthSizes() argument
883 ANDROID_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS, maxResolution)); in getSupportedDepthSizes()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java1598 InputConfiguration inputConfig, boolean maxResolution) { in checkInputConfigurationWithStreamConfigurations() argument
1604 if (maxResolution) { in checkInputConfigurationWithStreamConfigurations()