Searched defs:v4l2_max (Results 1 - 2 of 2) sorted by relevance

/external/opencv3/modules/videoio/src/
H A Dcap_libv4l.cpp1451 int v4l2_max = v4l2_get_ctrl_max(capture, capture->control.id); local
1453 if ((v4l2_min == -1) && (v4l2_max == -1)) {
1459 return ((float)capture->control.value - v4l2_min) / (v4l2_max - v4l2_min);
1619 int v4l2_max = 255; local
1659 v4l2_max = v4l2_get_ctrl_max(capture, capture->control.id);
1661 if ((v4l2_min == -1) && (v4l2_max == -1)) {
1672 if (v4l2_max != 0) {
1679 ctrl_value = val * (double)(v4l2_max - v4l2_min) + v4l2_min;
1681 ctrl_value = v4l2_get_ctrl_default(capture, capture->control.id) * (double)(v4l2_max - v4l2_min) + v4l2_min;
H A Dcap_v4l.cpp2305 int v4l2_max = 255; local
2391 v4l2_max = capture->v4l2_brightness_max;
2395 v4l2_max = capture->v4l2_contrast_max;
2399 v4l2_max = capture->v4l2_saturation_max;
2403 v4l2_max = capture->v4l2_hue_max;
2407 v4l2_max = capture->v4l2_gain_max;
2411 v4l2_max = capture->v4l2_exposure_max;
2416 return ((float)capture->control.value - v4l2_min + 1) / (v4l2_max - v4l2_min);
2609 int v4l2_max = 255; local
2654 v4l2_max
[all...]

Completed in 80 milliseconds