public void StartIsoStreaming(ref StreamControl control, FrameCallback callback) { var error = NativeMethods.uvc_start_iso_streaming(handle, ref control, callback, IntPtr.Zero); UvcException.ThrowExceptionForUvcError(error); cb = callback; }
public void GetStreamControlFormatSize(FrameFormat format, int width, int height, int fps, out StreamControl control) { var error = NativeMethods.uvc_get_stream_ctrl_format_size(handle, out control, format, width, height, fps); UvcException.ThrowExceptionForUvcError(error); }
public void ProbeStreamControl(out StreamControl control) { var error = NativeMethods.uvc_probe_stream_ctrl(handle, out control); UvcException.ThrowExceptionForUvcError(error); }
internal static extern UvcError uvc_stream_ctrl(UvcStreamHandle strmh, ref StreamControl ctrl);
internal static extern UvcError uvc_stream_open_ctrl( UvcDeviceHandle devh, out UvcStreamHandle strmh, StreamControl ctrl);
internal static extern UvcError uvc_start_iso_streaming( UvcDeviceHandle devh, ref StreamControl ctrl, FrameCallback cb, IntPtr user_ptr);
internal static extern UvcError uvc_probe_stream_ctrl(UvcDeviceHandle devh, out StreamControl ctrl);
internal static extern UvcError uvc_get_stream_ctrl_format_size( UvcDeviceHandle devh, out StreamControl ctrl, FrameFormat format, int width, int height, int fps);