Lines Matching refs:EmulatedScene
34 #define G (EmulatedScene::GRASS * EmulatedScene::NUM_CHANNELS)
35 #define S (EmulatedScene::GRASS_SHADOW * EmulatedScene::NUM_CHANNELS)
36 #define H (EmulatedScene::HILL * EmulatedScene::NUM_CHANNELS)
37 #define W (EmulatedScene::WALL * EmulatedScene::NUM_CHANNELS)
38 #define R (EmulatedScene::ROOF * EmulatedScene::NUM_CHANNELS)
39 #define D (EmulatedScene::DOOR * EmulatedScene::NUM_CHANNELS)
40 #define C (EmulatedScene::CHIMNEY * EmulatedScene::NUM_CHANNELS)
41 #define I (EmulatedScene::WINDOW * EmulatedScene::NUM_CHANNELS)
42 #define U (EmulatedScene::SUN * EmulatedScene::NUM_CHANNELS)
43 #define K (EmulatedScene::SKY * EmulatedScene::NUM_CHANNELS)
44 #define M (EmulatedScene::MOON * EmulatedScene::NUM_CHANNELS)
46 const uint8_t EmulatedScene::kScene[EmulatedScene::kSceneWidth *
47 EmulatedScene::kSceneHeight] = {
84 EmulatedScene::EmulatedScene(int sensor_width_px, int sensor_height_px, in EmulatedScene() function in android::EmulatedScene
111 EmulatedScene::~EmulatedScene() { in ~EmulatedScene()
114 void EmulatedScene::Initialize(int sensor_width_px, int sensor_height_px, in Initialize()
132 void EmulatedScene::SetColorFilterXYZ(float rX, float rY, float rZ, float grX, in SetColorFilterXYZ()
149 void EmulatedScene::SetHour(int hour) { in SetHour()
154 int EmulatedScene::GetHour() const { in GetHour()
158 void EmulatedScene::SetScreenRotation(uint32_t screen_rotation) { in SetScreenRotation()
162 void EmulatedScene::SetExposureDuration(float seconds) { in SetExposureDuration()
166 void EmulatedScene::SetTestPattern(bool enabled) { in SetTestPattern()
170 void EmulatedScene::SetTestPatternData(uint32_t data[4]) { in SetTestPatternData()
174 void EmulatedScene::CalculateScene(nsecs_t time, int32_t handshake_divider) { in CalculateScene()
375 void EmulatedScene::InitiliazeSceneRotation(bool clock_wise) { in InitiliazeSceneRotation()
408 void EmulatedScene::SetReadoutPixel(int x, int y) { in SetReadoutPixel()
419 const uint32_t* EmulatedScene::GetPixelElectrons() { in GetPixelElectrons()
439 const uint32_t* EmulatedScene::GetPixelElectronsColumn() { in GetPixelElectronsColumn()
459 const float EmulatedScene::kHorizShakeFreq1 = 2 * M_PI * 2 / 1e9; // 2 Hz
460 const float EmulatedScene::kHorizShakeFreq2 = 2 * M_PI * 13 / 1e9; // 13 Hz
461 const float EmulatedScene::kVertShakeFreq1 = 2 * M_PI * 3 / 1e9; // 3 Hz
462 const float EmulatedScene::kVertShakeFreq2 = 2 * M_PI * 11 / 1e9; // 1 Hz
463 const float EmulatedScene::kFreq1Magnitude = 5;
464 const float EmulatedScene::kFreq2Magnitude = 1;
465 const float EmulatedScene::kShakeFraction =
469 const float EmulatedScene::kAperture = 2.8;
472 const float EmulatedScene::kSunlight[24 / kTimeStep] = {
487 const float EmulatedScene::kMoonlight[24 / kTimeStep] = {
501 const int EmulatedScene::kSunOverhead = 12;
502 const int EmulatedScene::kMoonOverhead = 0;
505 const float EmulatedScene::kDirectSunIllum = 100000;
506 const float EmulatedScene::kSunsetIllum = 400;
507 const float EmulatedScene::kTwilightIllum = 4;
509 const float EmulatedScene::kFullMoonIllum = 1;
511 const float EmulatedScene::kDaylightShadeIllum = 20000;
512 const float EmulatedScene::kClearNightIllum = 2e-3;
513 const float EmulatedScene::kStarIllum = 2e-6;
514 const float EmulatedScene::kLivingRoomIllum = 50;
516 const float EmulatedScene::kIncandescentXY[2] = {0.44757f, 0.40745f};
517 const float EmulatedScene::kDirectSunlightXY[2] = {0.34842f, 0.35161f};
518 const float EmulatedScene::kDaylightXY[2] = {0.31271f, 0.32902f};
519 const float EmulatedScene::kNoonSkyXY[2] = {0.346f, 0.359f};
520 const float EmulatedScene::kMoonlightXY[2] = {0.34842f, 0.35161f};
521 const float EmulatedScene::kSunsetXY[2] = {0.527f, 0.413f};
523 const uint8_t EmulatedScene::kSelfLit = 0x01;
524 const uint8_t EmulatedScene::kShadowed = 0x02;
525 const uint8_t EmulatedScene::kSky = 0x04;
529 const float EmulatedScene::kMaterials_xyY[EmulatedScene::NUM_MATERIALS][3] = {
543 const uint8_t EmulatedScene::kMaterialsFlags[EmulatedScene::NUM_MATERIALS] = {