libuvcc
0.41a
simple uvc implementation for os x
|
Functions | |
int | uvccRWScanningMode (uvccCam *cam, uint8_t request, uint8_t *value) |
int | uvccRWAutoExposureMode (uvccCam *cam, uint8_t request, int8_t *value) |
int | uvccRWAutoExposurePrio (uvccCam *cam, uint8_t request, uint8_t *value) |
int | uvccRWExposure (uvccCam *cam, uint8_t request, uint32_t *value) |
int | uvccRWAutoFocus (uvccCam *cam, uint8_t request, uint8_t *value) |
int | uvccRWFocus (uvccCam *cam, uint8_t request, uint16_t *value) |
int | uvccRWIris (uvccCam *cam, uint8_t request, int16_t *value) |
int | uvccRWBacklightCompensation (uvccCam *cam, uint8_t request, uint16_t *value) |
int | uvccRWBrightness (uvccCam *cam, uint8_t request, int16_t *value) |
int | uvccRWContrast (uvccCam *cam, uint8_t request, uint16_t *value) |
int | uvccRWGain (uvccCam *cam, uint8_t request, uint16_t *value) |
int | uvccRWPowerLineFrequency (uvccCam *cam, uint8_t request, uint8_t *value) |
int | uvccRWAutoHue (uvccCam *cam, uint8_t request, uint8_t *value) |
int | uvccRWHue (uvccCam *cam, uint8_t request, int16_t *value) |
int | uvccRWSaturation (uvccCam *cam, uint8_t request, uint16_t *value) |
int | uvccRWSharpness (uvccCam *cam, uint8_t request, uint16_t *value) |
int | uvccRWGamma (uvccCam *cam, uint8_t request, uint16_t *value) |
int | uvccRWAutoWhiteBalanceTemp (uvccCam *cam, uint8_t request, uint8_t *value) |
int | uvccRWWhiteBalanceTemp (uvccCam *cam, uint8_t request, uint16_t *value) |
int | uvccRWAutoWhiteBalanceComponent (uvccCam *cam, uint8_t request, uint8_t *value) |
int | uvccRWWhiteBalanceComponent (uvccCam *cam, uint8_t request, uint16_t *blue, uint16_t *red) |
Wrapper functions to easily send requests to a cam.
int uvccRWAutoExposureMode | ( | uvccCam * | cam, |
uint8_t | request, | ||
int8_t * | value | ||
) |
Params and return as uvccRWAutoFocus(), UVC_GET_CUR result can be found in Exposure mode values.
int uvccRWAutoExposurePrio | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint8_t * | value | ||
) |
Params and return as uvccRWAutoFocus(), UVC_GET_CUR result can be found in Exposure priority values.
int uvccRWAutoFocus | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint8_t * | value | ||
) |
uvccRequest wrapper function for auto focus, UVC_GET_CUR result can be found in Auto values.
cam | |
request | uvc request, valid values are those in UVC bRequest values |
value | value to set or buf to receive value in |
int uvccRWAutoHue | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint8_t * | value | ||
) |
Params and return as uvccRWAutoFocus(), UVC_GET_CUR result can be found in Auto values.
int uvccRWAutoWhiteBalanceComponent | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint8_t * | value | ||
) |
Params and return as uvccRWAutoFocus(), UVC_GET_CUR result can be found in Auto values.
int uvccRWAutoWhiteBalanceTemp | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint8_t * | value | ||
) |
Params and return as uvccRWAutoFocus(), UVC_GET_CUR result can be found in Auto values.
int uvccRWBacklightCompensation | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWBrightness | ( | uvccCam * | cam, |
uint8_t | request, | ||
int16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWContrast | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWExposure | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint32_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWFocus | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWGain | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWGamma | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWHue | ( | uvccCam * | cam, |
uint8_t | request, | ||
int16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWIris | ( | uvccCam * | cam, |
uint8_t | request, | ||
int16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWPowerLineFrequency | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint8_t * | value | ||
) |
Params and return as uvccRWAutoFocus(), UVC_GET_CUR result can be found in Power line frequency values.
int uvccRWSaturation | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWScanningMode | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint8_t * | value | ||
) |
Params and return as uvccRWAutoFocus(), UVC_GET_CUR result can be found in Scanning mode values.
int uvccRWSharpness | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().
int uvccRWWhiteBalanceComponent | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint16_t * | blue, | ||
uint16_t * | red | ||
) |
uvccRequest wrapper function for white balance component, see table 4-39 in UVC spec, p.98 (111) for further info.
cam | |
request | uvc request, valid values are those in UVC bRequest values |
blue | blue component |
red | red component |
int uvccRWWhiteBalanceTemp | ( | uvccCam * | cam, |
uint8_t | request, | ||
uint16_t * | value | ||
) |
Params and return as uvccRWAutoFocus().