Lines Matching refs:EmulatedSensor

74 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 =
96 const uint32_t EmulatedSensor::kDefaultMaxRawValue = 4000;
97 const uint32_t EmulatedSensor::kDefaultBlackLevelPattern[4] = {1000, 1000, 1000,
100 const nsecs_t EmulatedSensor::kMinVerticalBlank = 10000L;
103 const float EmulatedSensor::kSaturationVoltage = 0.520f;
104 const uint32_t EmulatedSensor::kSaturationElectrons = 2000;
105 const float EmulatedSensor::kVoltsPerLuxSecond = 0.100f;
107 const float EmulatedSensor::kElectronsPerLuxSecond =
108 EmulatedSensor::kSaturationElectrons / EmulatedSensor::kSaturationVoltage *
109 EmulatedSensor::kVoltsPerLuxSecond;
111 const float EmulatedSensor::kReadNoiseStddevBeforeGain = 1.177; // in electrons
112 const float EmulatedSensor::kReadNoiseStddevAfterGain =
114 const float EmulatedSensor::kReadNoiseVarBeforeGain =
115 EmulatedSensor::kReadNoiseStddevBeforeGain *
116 EmulatedSensor::kReadNoiseStddevBeforeGain;
117 const float EmulatedSensor::kReadNoiseVarAfterGain =
118 EmulatedSensor::kReadNoiseStddevAfterGain *
119 EmulatedSensor::kReadNoiseStddevAfterGain;
121 const uint32_t EmulatedSensor::kMaxRAWStreams = 1;
122 const uint32_t EmulatedSensor::kMaxProcessedStreams = 3;
123 const uint32_t EmulatedSensor::kMaxStallingStreams = 2;
124 const uint32_t EmulatedSensor::kMaxInputStreams = 1;
126 const uint32_t EmulatedSensor::kMaxLensShadingMapSize[2]{64, 64};
127 const int32_t EmulatedSensor::kFixedBitPrecision = 64; // 6-bit
129 const int32_t EmulatedSensor::kSaturationPoint = kFixedBitPrecision * 255;
130 const camera_metadata_rational EmulatedSensor::kNeutralColorPoint[3] = {
132 const float EmulatedSensor::kGreenSplit = 1.f; // No divergence
135 const uint8_t EmulatedSensor::kPipelineDepth = 3;
137 const camera_metadata_rational EmulatedSensor::kDefaultColorTransform[9] = {
139 const float EmulatedSensor::kDefaultColorCorrectionGains[4] = {1.0f, 1.0f, 1.0f,
142 const float EmulatedSensor::kDefaultToneMapCurveRed[4] = {.0f, .0f, 1.f, 1.f};
143 const float EmulatedSensor::kDefaultToneMapCurveGreen[4] = {.0f, .0f, 1.f, 1.f};
144 const float EmulatedSensor::kDefaultToneMapCurveBlue[4] = {.0f, .0f, 1.f, 1.f};
195 EmulatedSensor::EmulatedSensor() : Thread(false), got_vsync_(false) { in EmulatedSensor() function in android::EmulatedSensor
206 EmulatedSensor::~EmulatedSensor() { in ~EmulatedSensor()
210 bool EmulatedSensor::AreCharacteristicsSupported( in AreCharacteristicsSupported()
351 bool EmulatedSensor::IsStreamCombinationSupported( in IsStreamCombinationSupported()
378 bool EmulatedSensor::IsStreamCombinationSupported( in IsStreamCombinationSupported()
633 status_t EmulatedSensor::StartUp( in StartUp()
676 status_t EmulatedSensor::ShutDown() { in ShutDown()
685 void EmulatedSensor::SetCurrentRequest( in SetCurrentRequest()
699 bool EmulatedSensor::WaitForVSyncLocked(nsecs_t reltime) { in WaitForVSyncLocked()
712 bool EmulatedSensor::WaitForVSync(nsecs_t reltime) { in WaitForVSync()
718 status_t EmulatedSensor::Flush() { in Flush()
759 nsecs_t EmulatedSensor::getSystemTimeWithSource(uint32_t timestamp_source) { in getSystemTimeWithSource()
766 bool EmulatedSensor::threadLoop() { in threadLoop()
800 auto frame_duration = EmulatedSensor::kSupportedFrameDurationRange[0]; in threadLoop()
801 auto exposure_time = EmulatedSensor::kSupportedExposureTimeRange[0]; in threadLoop()
1232 void EmulatedSensor::ReturnResults( in ReturnResults()
1381 void EmulatedSensor::CalculateAndAppendNoiseProfile( in CalculateAndAppendNoiseProfile()
1398 EmulatedScene::ColorChannels EmulatedSensor::GetQuadBayerColor(uint32_t x, in GetQuadBayerColor()
1419 void EmulatedSensor::RemosaicQuadBayerBlock(uint16_t* img_in, uint16_t* img_out, in RemosaicQuadBayerBlock()
1444 status_t EmulatedSensor::RemosaicRAW16Image(uint16_t* img_in, uint16_t* img_out, in RemosaicRAW16Image()
1462 void EmulatedSensor::CaptureRawBinned(uint8_t* img, size_t row_stride_in_bytes, in CaptureRawBinned()
1470 void EmulatedSensor::CaptureRawInSensorZoom(uint8_t* img, in CaptureRawInSensorZoom()
1479 void EmulatedSensor::CaptureRawFullRes(uint8_t* img, size_t row_stride_in_bytes, in CaptureRawFullRes()
1487 void EmulatedSensor::CaptureRaw(uint8_t* img, size_t row_stride_in_bytes, in CaptureRaw()
1559 void EmulatedSensor::CaptureRGB(uint8_t* img, uint32_t width, uint32_t height, in CaptureRGB()
1618 void EmulatedSensor::CaptureYUV420(YCbCrPlanes yuv_layout, uint32_t width, in CaptureYUV420()
1735 void EmulatedSensor::CaptureDepth(uint8_t* img, uint32_t gain, uint32_t width, in CaptureDepth()
1765 status_t EmulatedSensor::ProcessYUV420(const YUV420Frame& input, in ProcessYUV420()
1923 int32_t EmulatedSensor::ApplysRGBGamma(int32_t value, int32_t saturation) { in ApplysRGBGamma()
1931 int32_t EmulatedSensor::ApplySMPTE170MGamma(int32_t value, int32_t saturation) { in ApplySMPTE170MGamma()
1938 int32_t EmulatedSensor::ApplyST2084Gamma(int32_t value, int32_t saturation) { in ApplyST2084Gamma()
1949 int32_t EmulatedSensor::ApplyHLGGamma(int32_t value, int32_t saturation) { in ApplyHLGGamma()
1957 int32_t EmulatedSensor::GammaTable(int32_t value, int32_t color_space) { in GammaTable()
1972 void EmulatedSensor::RgbToRgb(uint32_t* r_count, uint32_t* g_count, in RgbToRgb()
1988 void EmulatedSensor::CalculateRgbRgbMatrix(int32_t color_space, in CalculateRgbRgbMatrix()