Home
last modified time | relevance | path

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

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedSensor.cpp49 const uint32_t EmulatedSensor::kRegularSceneHandshake = 1; // Scene handshake divider
50 const uint32_t EmulatedSensor::kReducedSceneHandshake = 2; // Scene handshake divider
53 const nsecs_t EmulatedSensor::kSupportedExposureTimeRange[2] = {1000LL,
57 const nsecs_t EmulatedSensor::kSupportedFrameDurationRange[2] = {33331760LL,
60 const int32_t EmulatedSensor::kSupportedSensitivityRange[2] = {100, 1600};
61 const int32_t EmulatedSensor::kDefaultSensitivity = 100; // ISO
62 const nsecs_t EmulatedSensor::kDefaultExposureTime = ms2ns(15);
63 const nsecs_t EmulatedSensor::kDefaultFrameDuration = ms2ns(33);
66 const nsecs_t EmulatedSensor::kReturnResultThreshod = 3 * kDefaultFrameDuration;
69 const uint8_t EmulatedSensor::kSupportedColorFilterArrangement =
[all …]
DEmulatedRequestState.h54 EmulatedSensor::SensorSettings* sensor_settings /*out*/);
230 nsecs_t ae_target_exposure_time_ = EmulatedSensor::kDefaultExposureTime;
231 nsecs_t current_exposure_time_ = EmulatedSensor::kDefaultExposureTime;
247 EmulatedSensor::kSupportedFrameDurationRange[1];
248 nsecs_t sensor_exposure_time_ = EmulatedSensor::kDefaultExposureTime;
249 nsecs_t sensor_frame_duration_ = EmulatedSensor::kDefaultFrameDuration;
250 int32_t sensor_sensitivity_ = EmulatedSensor::kDefaultSensitivity;
DEmulatedRequestProcessor.cpp38 uint32_t camera_id, sp<EmulatedSensor> sensor, in EmulatedRequestProcessor()
78 while (pending_requests_.size() > EmulatedSensor::kPipelineDepth) { in ProcessPipelineRequests()
81 EmulatedSensor::kSupportedFrameDurationRange[1])); in ProcessPipelineRequests()
336 EmulatedSensor::OverrideFormat(stream.override_format); in CreateSensorBuffer()
393 ns2ms(EmulatedSensor::kSupportedFrameDurationRange[1])); in AcquireBuffers()
427 std::unique_ptr<EmulatedSensor::LogicalCameraSettings> logical_settings = in RequestProcessorLoop()
428 std::make_unique<EmulatedSensor::LogicalCameraSettings>(); in RequestProcessorLoop()
489 sensor_->WaitForVSync(EmulatedSensor::kSupportedFrameDurationRange[1]); in RequestProcessorLoop()
DEmulatedSensor.h145 class EmulatedSensor : private Thread, public virtual RefBase {
147 EmulatedSensor();
148 ~EmulatedSensor();
379 return max_raw_value / EmulatedSensor::kSaturationElectrons; in GetBaseGainFactor()
DEmulatedRequestProcessor.h45 EmulatedRequestProcessor(uint32_t camera_id, sp<EmulatedSensor> sensor,
103 sp<EmulatedSensor> sensor_;
DEmulatedRequestState.cpp167 EmulatedSensor::kSupportedFrameDurationRange[0], in DoFakeAE()
171 EmulatedSensor::kSupportedFrameDurationRange[0], in DoFakeAE()
522 EmulatedSensor::kSupportedFrameDurationRange[0]) && in ProcessAE()
530 EmulatedSensor::kSupportedFrameDurationRange[0], in ProcessAE()
608 EmulatedSensor::SensorSettings* sensor_settings /*out*/) { in InitializeSensorSettings()
918 &EmulatedSensor::kSupportedFrameDurationRange[0], 1); in InitializeResult()
999 std::make_pair(EmulatedSensor::kSupportedSensitivityRange[0], in InitializeSensorDefaults()
1000 EmulatedSensor::kSupportedSensitivityRange[1]); in InitializeSensorDefaults()
1013 std::make_pair(EmulatedSensor::kSupportedExposureTimeRange[0], in InitializeSensorDefaults()
1014 EmulatedSensor::kSupportedExposureTimeRange[1]); in InitializeSensorDefaults()
[all …]
DEmulatedCameraDeviceSessionHWLImpl.cpp196 sp<EmulatedSensor> emulated_sensor = new EmulatedSensor(); in InitializeRequestProcessor()
244 if (!EmulatedSensor::IsStreamCombinationSupported( in ConfigurePipeline()
277 : EmulatedSensor::OverrideFormat(stream.format), in ConfigurePipeline()
DEmulatedLogicalRequestState.cpp127 EmulatedSensor::LogicalCameraSettings* logical_settings /*out*/) { in InitializeLogicalSettings()
148 EmulatedSensor::SensorSettings physical_sensor_settings; in InitializeLogicalSettings()
171 EmulatedSensor::SensorSettings sensor_settings; in InitializeLogicalSettings()
DAndroid.bp24 "EmulatedSensor.cpp",
DEmulatedLogicalRequestState.h74 EmulatedSensor::LogicalCameraSettings* logical_settings /*out*/);
DEmulatedCameraDeviceHWLImpl.cpp188 return EmulatedSensor::IsStreamCombinationSupported( in IsStreamCombinationSupported()
DEmulatedCameraProviderHWLImpl.cpp328 if (!EmulatedSensor::IsStreamCombinationSupported( in IsConcurrentStreamCombinationSupported()
654 if (!EmulatedSensor::AreCharacteristicsSupported(sensor_characteristics)) { in ParseCharacteristics()
DEmulatedScene.cpp480 ns2us(EmulatedSensor::kSupportedFrameDurationRange[0]), 0/*maxBatchReportLatencyUs*/); in InitializeSensorQueue()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DHWLUtils.cpp83 EmulatedSensor::kSupportedFrameDurationRange[0]; in GetSensorCharacteristics()
95 EmulatedSensor::kSupportedExposureTimeRange, in GetSensorCharacteristics()
98 EmulatedSensor::kSupportedFrameDurationRange, in GetSensorCharacteristics()
101 EmulatedSensor::kSupportedSensitivityRange, in GetSensorCharacteristics()
164 EmulatedSensor::kSupportedColorFilterArrangement); in GetSensorCharacteristics()
165 sensor_chars->max_raw_value = EmulatedSensor::kDefaultMaxRawValue; in GetSensorCharacteristics()
167 EmulatedSensor::kDefaultBlackLevelPattern, in GetSensorCharacteristics()