You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<labelfor="contrast" title="Regelt den Kontrast des Sensors. Positive Werte erhöhen den Kontrast, negative verringern ihn. Bereich: -2 bis +2.">Contrast:</label>
Copy file name to clipboardExpand all lines: src/modcamera.c
+39-17Lines changed: 39 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ void mp_camera_hal_construct(
100
100
// configure camera based on arguments
101
101
self->camera_config.pixel_format=pixel_format;
102
102
self->camera_config.frame_size=frame_size;
103
-
self->camera_config.jpeg_quality= (int8_t)map(jpeg_quality,0,100,63,0); //0-63 lower number means higher quality. TODO: Harmonization in API and Validation
103
+
self->camera_config.jpeg_quality= (int8_t)map(jpeg_quality,0,100,63,0); //0-63 lower number means higher quality.
104
104
self->camera_config.pin_d0=data_pins[0];
105
105
self->camera_config.pin_d1=data_pins[1];
106
106
self->camera_config.pin_d2=data_pins[2];
@@ -128,7 +128,7 @@ void mp_camera_hal_construct(
128
128
mp_warning(NULL, "Frame buffer size limited to 2");
129
129
} elseif (fb_count<1) {
130
130
self->camera_config.fb_count=1;
131
-
mp_warning(NULL, "Frame buffer size must be >0. Set to 1");
131
+
mp_warning(NULL, "Frame buffer size must be >0. Setting it to 1");
132
132
}
133
133
else {
134
134
self->camera_config.fb_count=fb_count; //if more than one, i2s runs in continuous mode. TODO: Test with others than JPEG
0 commit comments