Home
last modified time | relevance | path

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

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedSensor.cpp48 const uint32_t EmulatedSensor::kRegularSceneHandshake = 1; // Scene handshake divider
49 const uint32_t EmulatedSensor::kReducedSceneHandshake = 2; // Scene handshake divider
52 const nsecs_t EmulatedSensor::kSupportedExposureTimeRange[2] = {1000LL,
56 const nsecs_t EmulatedSensor::kSupportedFrameDurationRange[2] = {33331760LL,
59 const int32_t EmulatedSensor::kSupportedSensitivityRange[2] = {100, 1600};
60 const int32_t EmulatedSensor::kDefaultSensitivity = 100; // ISO
61 const nsecs_t EmulatedSensor::kDefaultExposureTime = ms2ns(15);
62 const nsecs_t EmulatedSensor::kDefaultFrameDuration = ms2ns(33);
65 const nsecs_t EmulatedSensor::kReturnResultThreshod = 3 * kDefaultFrameDuration;
68 const uint8_t EmulatedSensor::kSupportedColorFilterArrangement =
[all …]
DEmulatedRequestState.h55 EmulatedSensor::SensorSettings* sensor_settings /*out*/);
228 nsecs_t ae_target_exposure_time_ = EmulatedSensor::kDefaultExposureTime;
229 nsecs_t current_exposure_time_ = EmulatedSensor::kDefaultExposureTime;
245 EmulatedSensor::kSupportedFrameDurationRange[1];
246 nsecs_t sensor_exposure_time_ = EmulatedSensor::kDefaultExposureTime;
247 nsecs_t sensor_frame_duration_ = EmulatedSensor::kDefaultFrameDuration;
248 int32_t sensor_sensitivity_ = EmulatedSensor::kDefaultSensitivity;
DEmulatedRequestProcessor.cpp38 sp<EmulatedSensor> sensor) in EmulatedRequestProcessor()
72 while (pending_requests_.size() > EmulatedSensor::kPipelineDepth) { in ProcessPipelineRequests()
75 EmulatedSensor::kSupportedFrameDurationRange[1])); in ProcessPipelineRequests()
273 EmulatedSensor::OverrideFormat(stream.override_format); in CreateSensorBuffer()
331 ns2ms(EmulatedSensor::kSupportedFrameDurationRange[1])); in AcquireBuffers()
365 std::unique_ptr<EmulatedSensor::LogicalCameraSettings> logical_settings = in RequestProcessorLoop()
366 std::make_unique<EmulatedSensor::LogicalCameraSettings>(); in RequestProcessorLoop()
427 sensor_->WaitForVSync(EmulatedSensor::kSupportedFrameDurationRange[1]); in RequestProcessorLoop()
DEmulatedSensor.h142 class EmulatedSensor : private Thread, public virtual RefBase {
144 EmulatedSensor();
145 ~EmulatedSensor();
334 return max_raw_value / EmulatedSensor::kSaturationElectrons; in GetBaseGainFactor()
DEmulatedRequestState.cpp166 EmulatedSensor::kSupportedFrameDurationRange[0], in DoFakeAE()
170 EmulatedSensor::kSupportedFrameDurationRange[0], in DoFakeAE()
519 EmulatedSensor::kSupportedFrameDurationRange[0]) && in ProcessAE()
526 __FUNCTION__, EmulatedSensor::kSupportedFrameDurationRange[0], in ProcessAE()
603 EmulatedSensor::SensorSettings* sensor_settings /*out*/) { in InitializeSensorSettings()
869 &EmulatedSensor::kSupportedFrameDurationRange[0], 1); in InitializeResult()
944 std::make_pair(EmulatedSensor::kSupportedSensitivityRange[0], in InitializeSensorDefaults()
945 EmulatedSensor::kSupportedSensitivityRange[1]); in InitializeSensorDefaults()
958 std::make_pair(EmulatedSensor::kSupportedExposureTimeRange[0], in InitializeSensorDefaults()
959 EmulatedSensor::kSupportedExposureTimeRange[1]); in InitializeSensorDefaults()
[all …]
DEmulatedRequestProcessor.h59 EmulatedRequestProcessor(uint32_t camera_id, sp<EmulatedSensor> sensor);
112 sp<EmulatedSensor> sensor_;
DEmulatedCameraDeviceSessionHWLImpl.cpp96 sp<EmulatedSensor> emulated_sensor = new EmulatedSensor(); in Initialize()
143 if (!EmulatedSensor::IsStreamCombinationSupported( in ConfigurePipeline()
173 : EmulatedSensor::OverrideFormat(stream.format), in ConfigurePipeline()
DEmulatedLogicalRequestState.cpp124 EmulatedSensor::LogicalCameraSettings* logical_settings /*out*/) { in InitializeLogicalSettings()
145 EmulatedSensor::SensorSettings physical_sensor_settings; in InitializeLogicalSettings()
183 EmulatedSensor::SensorSettings sensor_settings; in InitializeLogicalSettings()
DAndroid.bp13 "EmulatedSensor.cpp",
DEmulatedLogicalRequestState.h46 EmulatedSensor::LogicalCameraSettings* logical_settings /*out*/);
DEmulatedCameraDeviceHWLImpl.cpp166 return EmulatedSensor::IsStreamCombinationSupported( in IsStreamCombinationSupported()
DEmulatedCameraProviderHWLImpl.cpp298 if (!EmulatedSensor::IsStreamCombinationSupported( in IsConcurrentStreamCombinationSupported()
622 if (!EmulatedSensor::AreCharacteristicsSupported(sensor_characteristics)) { in ParseCharacteristics()
DEmulatedScene.cpp472 ns2us(EmulatedSensor::kSupportedFrameDurationRange[0]), 0/*maxBatchReportLatencyUs*/); in InitializeSensorQueue()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DHWLUtils.cpp90 EmulatedSensor::kSupportedFrameDurationRange[0]; in GetSensorCharacteristics()
102 EmulatedSensor::kSupportedExposureTimeRange, in GetSensorCharacteristics()
105 EmulatedSensor::kSupportedFrameDurationRange, in GetSensorCharacteristics()
108 EmulatedSensor::kSupportedSensitivityRange, in GetSensorCharacteristics()
171 EmulatedSensor::kSupportedColorFilterArrangement); in GetSensorCharacteristics()
172 sensor_chars->max_raw_value = EmulatedSensor::kDefaultMaxRawValue; in GetSensorCharacteristics()
174 EmulatedSensor::kDefaultBlackLevelPattern, in GetSensorCharacteristics()