Lines Matching refs:EmulatedSensor

49 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 =
71 const uint32_t EmulatedSensor::kDefaultMaxRawValue = 4000;
72 const uint32_t EmulatedSensor::kDefaultBlackLevelPattern[4] = {1000, 1000, 1000,
75 const nsecs_t EmulatedSensor::kMinVerticalBlank = 10000L;
78 const float EmulatedSensor::kSaturationVoltage = 0.520f;
79 const uint32_t EmulatedSensor::kSaturationElectrons = 2000;
80 const float EmulatedSensor::kVoltsPerLuxSecond = 0.100f;
82 const float EmulatedSensor::kElectronsPerLuxSecond =
83 EmulatedSensor::kSaturationElectrons / EmulatedSensor::kSaturationVoltage *
84 EmulatedSensor::kVoltsPerLuxSecond;
86 const float EmulatedSensor::kReadNoiseStddevBeforeGain = 1.177; // in electrons
87 const float EmulatedSensor::kReadNoiseStddevAfterGain =
89 const float EmulatedSensor::kReadNoiseVarBeforeGain =
90 EmulatedSensor::kReadNoiseStddevBeforeGain *
91 EmulatedSensor::kReadNoiseStddevBeforeGain;
92 const float EmulatedSensor::kReadNoiseVarAfterGain =
93 EmulatedSensor::kReadNoiseStddevAfterGain *
94 EmulatedSensor::kReadNoiseStddevAfterGain;
96 const uint32_t EmulatedSensor::kMaxRAWStreams = 1;
97 const uint32_t EmulatedSensor::kMaxProcessedStreams = 3;
98 const uint32_t EmulatedSensor::kMaxStallingStreams = 2;
99 const uint32_t EmulatedSensor::kMaxInputStreams = 1;
101 const uint32_t EmulatedSensor::kMaxLensShadingMapSize[2]{64, 64};
102 const int32_t EmulatedSensor::kFixedBitPrecision = 64; // 6-bit
104 const int32_t EmulatedSensor::kSaturationPoint = kFixedBitPrecision * 255;
105 const camera_metadata_rational EmulatedSensor::kNeutralColorPoint[3] = {
107 const float EmulatedSensor::kGreenSplit = 1.f; // No divergence
110 const uint8_t EmulatedSensor::kPipelineDepth = 3;
112 const camera_metadata_rational EmulatedSensor::kDefaultColorTransform[9] = {
114 const float EmulatedSensor::kDefaultColorCorrectionGains[4] = {1.0f, 1.0f, 1.0f,
117 const float EmulatedSensor::kDefaultToneMapCurveRed[4] = {.0f, .0f, 1.f, 1.f};
118 const float EmulatedSensor::kDefaultToneMapCurveGreen[4] = {.0f, .0f, 1.f, 1.f};
119 const float EmulatedSensor::kDefaultToneMapCurveBlue[4] = {.0f, .0f, 1.f, 1.f};
138 EmulatedSensor::EmulatedSensor() : Thread(false), got_vsync_(false) { in EmulatedSensor() function in android::EmulatedSensor
145 EmulatedSensor::~EmulatedSensor() { in ~EmulatedSensor()
149 bool EmulatedSensor::AreCharacteristicsSupported( in AreCharacteristicsSupported()
279 bool EmulatedSensor::IsStreamCombinationSupported( in IsStreamCombinationSupported()
306 bool EmulatedSensor::IsStreamCombinationSupported( in IsStreamCombinationSupported()
477 status_t EmulatedSensor::StartUp( in StartUp()
521 status_t EmulatedSensor::ShutDown() { in ShutDown()
530 void EmulatedSensor::SetCurrentRequest( in SetCurrentRequest()
542 bool EmulatedSensor::WaitForVSyncLocked(nsecs_t reltime) { in WaitForVSyncLocked()
555 bool EmulatedSensor::WaitForVSync(nsecs_t reltime) { in WaitForVSync()
561 status_t EmulatedSensor::Flush() { in Flush()
602 bool EmulatedSensor::threadLoop() { in threadLoop()
630 auto frame_duration = EmulatedSensor::kSupportedFrameDurationRange[0]; in threadLoop()
1023 void EmulatedSensor::ReturnResults( in ReturnResults()
1145 void EmulatedSensor::CalculateAndAppendNoiseProfile( in CalculateAndAppendNoiseProfile()
1162 EmulatedScene::ColorChannels EmulatedSensor::GetQuadBayerColor(uint32_t x, in GetQuadBayerColor()
1183 void EmulatedSensor::RemosaicQuadBayerBlock(uint16_t* img_in, uint16_t* img_out, in RemosaicQuadBayerBlock()
1208 status_t EmulatedSensor::RemosaicRAW16Image(uint16_t* img_in, uint16_t* img_out, in RemosaicRAW16Image()
1226 void EmulatedSensor::CaptureRawBinned(uint8_t* img, size_t row_stride_in_bytes, in CaptureRawBinned()
1285 void EmulatedSensor::CaptureRawFullRes(uint8_t* img, size_t row_stride_in_bytes, in CaptureRawFullRes()
1336 void EmulatedSensor::CaptureRGB(uint8_t* img, uint32_t width, uint32_t height, in CaptureRGB()
1389 void EmulatedSensor::CaptureYUV420(YCbCrPlanes yuv_layout, uint32_t width, in CaptureYUV420()
1499 void EmulatedSensor::CaptureDepth(uint8_t* img, uint32_t gain, uint32_t width, in CaptureDepth()
1529 status_t EmulatedSensor::ProcessYUV420(const YUV420Frame& input, in ProcessYUV420()
1640 int32_t EmulatedSensor::ApplysRGBGamma(int32_t value, int32_t saturation) { in ApplysRGBGamma()