CameraSettings.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #pragma once
  2. #ifndef JOMJOL_CAMERA_SETTINGS_H
  3. #define JOMJOL_CAMERA_SETTINGS_H
  4. #include "esp_camera.h"
  5. // Shared sensor/image parameters. Runtime state and temporary-flow flags live
  6. // in their respective status structures, not in this common settings object.
  7. struct CameraSettings
  8. {
  9. framesize_t ImageFrameSize = FRAMESIZE_VGA;
  10. int ImageWidth = 640;
  11. int ImageHeight = 480;
  12. int CamXclkFreqMhz = 20;
  13. gainceiling_t ImageGainceiling;
  14. int ImageQuality;
  15. int ImageBrightness;
  16. int ImageContrast;
  17. int ImageSaturation;
  18. int ImageSharpness;
  19. bool ImageAutoSharpness;
  20. int ImageSpecialEffect;
  21. int ImageWbMode;
  22. int ImageAwb;
  23. int ImageAwbGain;
  24. int ImageAec;
  25. int ImageAec2;
  26. int ImageAeLevel;
  27. int ImageAecValue;
  28. int ImageAgc;
  29. int ImageAgcGain;
  30. int ImageBpc;
  31. int ImageWpc;
  32. int ImageRawGma;
  33. int ImageLenc;
  34. int ImageHmirror;
  35. int ImageVflip;
  36. int ImageDcw;
  37. int ImageDenoiseLevel;
  38. int ImageLedIntensity;
  39. bool ImageZoomEnabled;
  40. int ImageZoomOffsetX;
  41. int ImageZoomOffsetY;
  42. int ImageZoomSize;
  43. int WaitBeforePicture;
  44. };
  45. #endif // JOMJOL_CAMERA_SETTINGS_H