Home
last modified time | relevance | path

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

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedSensor.cpp74 const uint32_t EmulatedSensor::kRegularSceneHandshake = 1; // Scene handshake divider
75 const uint32_t EmulatedSensor::kReducedSceneHandshake = 2; // Scene handshake divider
78 const nsecs_t EmulatedSensor::kSupportedExposureTimeRange[2] = {1000LL,
82 const nsecs_t EmulatedSensor::kSupportedFrameDurationRange[2] = {33331760LL,
85 const int32_t EmulatedSensor::kSupportedSensitivityRange[2] = {100, 1600};
86 const int32_t EmulatedSensor::kDefaultSensitivity = 100; // ISO
87 const nsecs_t EmulatedSensor::kDefaultExposureTime = ms2ns(15);
88 const nsecs_t EmulatedSensor::kDefaultFrameDuration = ms2ns(33);
91 const nsecs_t EmulatedSensor::kReturnResultThreshod = 3 * kDefaultFrameDuration;
94 const uint8_t EmulatedSensor::kSupportedColorFilterArrangement =
[all …]
DEmulatedRequestState.h59 EmulatedSensor::SensorSettings* sensor_settings /*out*/);
92 nsecs_t ae_target_exposure_time_ = EmulatedSensor::kDefaultExposureTime;
93 nsecs_t current_exposure_time_ = EmulatedSensor::kDefaultExposureTime;
DEmulatedCameraDeviceInfo.cpp93 std::make_pair(EmulatedSensor::kSupportedSensitivityRange[0], in InitializeSensorDefaults()
94 EmulatedSensor::kSupportedSensitivityRange[1]); in InitializeSensorDefaults()
107 std::make_pair(EmulatedSensor::kSupportedExposureTimeRange[0], in InitializeSensorDefaults()
108 EmulatedSensor::kSupportedExposureTimeRange[1]); in InitializeSensorDefaults()
120 sensor_max_frame_duration_ = EmulatedSensor::kSupportedFrameDurationRange[1]; in InitializeSensorDefaults()
212 sensor_exposure_time_ = GetClosestValue(EmulatedSensor::kDefaultExposureTime, in InitializeSensorDefaults()
216 GetClosestValue(EmulatedSensor::kDefaultFrameDuration, in InitializeSensorDefaults()
217 EmulatedSensor::kSupportedFrameDurationRange[0], in InitializeSensorDefaults()
219 sensor_sensitivity_ = GetClosestValue(EmulatedSensor::kDefaultSensitivity, in InitializeSensorDefaults()
1241 ANDROID_TONEMAP_CURVE_RED, EmulatedSensor::kDefaultToneMapCurveRed, in InitializeTonemapDefaults()
[all …]
DEmulatedCameraDeviceInfo.h240 EmulatedSensor::kSupportedFrameDurationRange[1];
241 nsecs_t sensor_exposure_time_ = EmulatedSensor::kDefaultExposureTime;
242 nsecs_t sensor_frame_duration_ = EmulatedSensor::kDefaultFrameDuration;
243 int32_t sensor_sensitivity_ = EmulatedSensor::kDefaultSensitivity;
DEmulatedRequestProcessor.cpp46 uint32_t camera_id, sp<EmulatedSensor> sensor, in EmulatedRequestProcessor()
92 while (pending_requests_.size() > EmulatedSensor::kPipelineDepth) { in ProcessPipelineRequests()
95 EmulatedSensor::kSupportedFrameDurationRange[1])); in ProcessPipelineRequests()
368 stream.override_format = EmulatedSensor::OverrideFormat( in CreateSensorBuffer()
429 ns2ms(EmulatedSensor::kSupportedFrameDurationRange[1])); in AcquireBuffers()
463 std::unique_ptr<EmulatedSensor::LogicalCameraSettings> logical_settings = in RequestProcessorLoop()
464 std::make_unique<EmulatedSensor::LogicalCameraSettings>(); in RequestProcessorLoop()
543 sensor_->WaitForVSync(EmulatedSensor::kSupportedFrameDurationRange[1]); in RequestProcessorLoop()
708 ns2us(EmulatedSensor::kSupportedFrameDurationRange[0]), in InitializeSensorQueue()
DEmulatedSensor.h193 class EmulatedSensor : private Thread, public virtual RefBase {
195 EmulatedSensor();
196 ~EmulatedSensor();
466 return max_raw_value / EmulatedSensor::kSaturationElectrons; in GetBaseGainFactor()
DEmulatedRequestProcessor.h63 EmulatedRequestProcessor(uint32_t camera_id, sp<EmulatedSensor> sensor,
150 sp<EmulatedSensor> sensor_;
DEmulatedCameraDeviceSessionHWLImpl.cpp210 sp<EmulatedSensor> emulated_sensor = new EmulatedSensor(); in InitializeRequestProcessor()
260 if (!EmulatedSensor::IsStreamCombinationSupported( in ConfigurePipeline()
293 : EmulatedSensor::OverrideFormat( in ConfigurePipeline()
DEmulatedLogicalRequestState.cpp161 EmulatedSensor::LogicalCameraSettings* logical_settings /*out*/) { in InitializeLogicalSettings()
182 EmulatedSensor::SensorSettings physical_sensor_settings; in InitializeLogicalSettings()
205 EmulatedSensor::SensorSettings sensor_settings; in InitializeLogicalSettings()
DEmulatedLogicalRequestState.h77 EmulatedSensor::LogicalCameraSettings* logical_settings /*out*/);
DAndroid.bp88 "EmulatedSensor.cpp",
DEmulatedRequestState.cpp141 EmulatedSensor::kSupportedFrameDurationRange[0], in DoFakeAE()
145 EmulatedSensor::kSupportedFrameDurationRange[0], in DoFakeAE()
502 EmulatedSensor::kSupportedFrameDurationRange[0]) && in ProcessAE()
509 EmulatedSensor::kSupportedFrameDurationRange[0], in ProcessAE()
588 EmulatedSensor::SensorSettings* sensor_settings /*out*/) { in InitializeSensorSettings()
1011 &EmulatedSensor::kSupportedFrameDurationRange[0], 1); in InitializeResult()
DEmulatedCameraDeviceHWLImpl.cpp285 return EmulatedSensor::IsStreamCombinationSupported( in IsStreamCombinationSupported()
DEmulatedCameraProviderHWLImpl.cpp334 if (!EmulatedSensor::IsStreamCombinationSupported( in IsConcurrentStreamCombinationSupported()
660 if (!EmulatedSensor::AreCharacteristicsSupported(sensor_characteristics)) { in ParseCharacteristics()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DHWLUtils.cpp237 EmulatedSensor::kSupportedFrameDurationRange[0]; in GetSensorCharacteristics()
249 EmulatedSensor::kSupportedExposureTimeRange, in GetSensorCharacteristics()
252 EmulatedSensor::kSupportedFrameDurationRange, in GetSensorCharacteristics()
255 EmulatedSensor::kSupportedSensitivityRange, in GetSensorCharacteristics()
334 EmulatedSensor::kSupportedColorFilterArrangement); in GetSensorCharacteristics()
335 sensor_chars->max_raw_value = EmulatedSensor::kDefaultMaxRawValue; in GetSensorCharacteristics()
337 EmulatedSensor::kDefaultBlackLevelPattern, in GetSensorCharacteristics()