Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
iizukanao committed Jul 21, 2022
1 parent 77ff3a7 commit 76ce10f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions picam_option/picam_option.hpp
Original file line number Diff line number Diff line change
@@ -173,9 +173,19 @@ class PicamOption
int manual_exposure_sensitivity = 0; // ISO
unsigned int exposure_sensitivity = 0;

// https://libcamera.org/api-html/namespacelibcamera_1_1controls.html
// Positive values (up to 1.0) produce brighter images;
// negative values (up to -1.0) produce darker images and 0.0 leaves pixels unchanged.
float video_brightness = 0.0f;

// 1.0 = Normal contrast; larger values produce images with more contrast
float video_contrast = 1.0f;

// 1.0 = Normal saturation; larger values produce more saturated colours;
// 0.0 produces a greyscale image.
float video_saturation = 1.0f;

// 0.0 means no sharpening
float video_sharpness = 0.0f;

char state_dir[256] = "state";

0 comments on commit 76ce10f

Please sign in to comment.