Lines Matching refs:EmulatedSensor
48 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 =
70 const uint32_t EmulatedSensor::kDefaultMaxRawValue = 4000;
71 const uint32_t EmulatedSensor::kDefaultBlackLevelPattern[4] = {1000, 1000, 1000,
74 const nsecs_t EmulatedSensor::kMinVerticalBlank = 10000L;
77 const float EmulatedSensor::kSaturationVoltage = 0.520f;
78 const uint32_t EmulatedSensor::kSaturationElectrons = 2000;
79 const float EmulatedSensor::kVoltsPerLuxSecond = 0.100f;
81 const float EmulatedSensor::kElectronsPerLuxSecond =
82 EmulatedSensor::kSaturationElectrons / EmulatedSensor::kSaturationVoltage *
83 EmulatedSensor::kVoltsPerLuxSecond;
85 const float EmulatedSensor::kReadNoiseStddevBeforeGain = 1.177; // in electrons
86 const float EmulatedSensor::kReadNoiseStddevAfterGain =
88 const float EmulatedSensor::kReadNoiseVarBeforeGain =
89 EmulatedSensor::kReadNoiseStddevBeforeGain *
90 EmulatedSensor::kReadNoiseStddevBeforeGain;
91 const float EmulatedSensor::kReadNoiseVarAfterGain =
92 EmulatedSensor::kReadNoiseStddevAfterGain *
93 EmulatedSensor::kReadNoiseStddevAfterGain;
95 const uint32_t EmulatedSensor::kMaxRAWStreams = 1;
96 const uint32_t EmulatedSensor::kMaxProcessedStreams = 3;
97 const uint32_t EmulatedSensor::kMaxStallingStreams = 2;
98 const uint32_t EmulatedSensor::kMaxInputStreams = 1;
100 const uint32_t EmulatedSensor::kMaxLensShadingMapSize[2]{64, 64};
101 const int32_t EmulatedSensor::kFixedBitPrecision = 64; // 6-bit
103 const int32_t EmulatedSensor::kSaturationPoint = kFixedBitPrecision * 255;
104 const camera_metadata_rational EmulatedSensor::kNeutralColorPoint[3] = {
106 const float EmulatedSensor::kGreenSplit = 1.f; // No divergence
109 const uint8_t EmulatedSensor::kPipelineDepth = 3;
111 const camera_metadata_rational EmulatedSensor::kDefaultColorTransform[9] = {
113 const float EmulatedSensor::kDefaultColorCorrectionGains[4] = {1.0f, 1.0f, 1.0f,
116 const float EmulatedSensor::kDefaultToneMapCurveRed[4] = {.0f, .0f, 1.f, 1.f};
117 const float EmulatedSensor::kDefaultToneMapCurveGreen[4] = {.0f, .0f, 1.f, 1.f};
118 const float EmulatedSensor::kDefaultToneMapCurveBlue[4] = {.0f, .0f, 1.f, 1.f};
137 EmulatedSensor::EmulatedSensor() : Thread(false), got_vsync_(false) { in EmulatedSensor() function in android::EmulatedSensor
144 EmulatedSensor::~EmulatedSensor() { in ~EmulatedSensor()
148 bool EmulatedSensor::AreCharacteristicsSupported( in AreCharacteristicsSupported()
246 bool EmulatedSensor::IsStreamCombinationSupported( in IsStreamCombinationSupported()
338 status_t EmulatedSensor::StartUp( in StartUp()
382 status_t EmulatedSensor::ShutDown() { in ShutDown()
391 void EmulatedSensor::SetCurrentRequest( in SetCurrentRequest()
403 bool EmulatedSensor::WaitForVSyncLocked(nsecs_t reltime) { in WaitForVSyncLocked()
416 bool EmulatedSensor::WaitForVSync(nsecs_t reltime) { in WaitForVSync()
422 status_t EmulatedSensor::Flush() { in Flush()
463 bool EmulatedSensor::threadLoop() { in threadLoop()
491 auto frame_duration = EmulatedSensor::kSupportedFrameDurationRange[0]; in threadLoop()
778 void EmulatedSensor::ReturnResults( in ReturnResults()
877 void EmulatedSensor::CalculateAndAppendNoiseProfile( in CalculateAndAppendNoiseProfile()
894 void EmulatedSensor::CaptureRaw(uint8_t* img, uint32_t gain, uint32_t width, in CaptureRaw()
941 void EmulatedSensor::CaptureRGB(uint8_t* img, uint32_t width, uint32_t height, in CaptureRGB()
993 void EmulatedSensor::CaptureYUV420(YCbCrPlanes yuv_layout, uint32_t width, in CaptureYUV420()
1081 void EmulatedSensor::CaptureDepth(uint8_t* img, uint32_t gain, uint32_t width, in CaptureDepth()
1110 status_t EmulatedSensor::ProcessYUV420(const YUV420Frame& input, in ProcessYUV420()
1214 int32_t EmulatedSensor::ApplysRGBGamma(int32_t value, int32_t saturation) { in ApplysRGBGamma()