Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/tracker/platform/camera_control_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ void camera_control_set_parameters(CameraControl* cc, int autoE, int autoG, int
cvReleaseCapture(&cc->capture);
}

#ifdef CAMERA_CONTROL_USE_PS3EYE_DRIVER
//autoE... setAutoExposure not defined in ps3eye.h
ps3eye_set_parameter(cc->eye, PS3EYE_AUTO_GAIN, autoG > 0);
ps3eye_set_parameter(cc->eye, PS3EYE_AUTO_WHITEBALANCE, autoWB > 0);
Expand All @@ -198,7 +199,8 @@ void camera_control_set_parameters(CameraControl* cc, int autoE, int autoG, int
* ps3eye_set_parameter(cc->eye, PS3EYE_HFLIP, ??);
* ps3eye_set_parameter(cc->eye, PS3EYE_VFLIP, ??);
**/

#endif //CAMERA_CONTROL_USE_PS3EYE_DRIVER

int width, height;
get_metrics(&width, &height);

Expand Down