示例#1
0
        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;
        }
示例#2
0
        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);
        }
示例#3
0
        public void ProbeStreamControl(out StreamControl control)
        {
            var error = NativeMethods.uvc_probe_stream_ctrl(handle, out control);

            UvcException.ThrowExceptionForUvcError(error);
        }
示例#4
0
 internal static extern UvcError uvc_stream_ctrl(UvcStreamHandle strmh, ref StreamControl ctrl);
示例#5
0
 internal static extern UvcError uvc_stream_open_ctrl(
     UvcDeviceHandle devh,
     out UvcStreamHandle strmh,
     StreamControl ctrl);
示例#6
0
 internal static extern UvcError uvc_start_iso_streaming(
     UvcDeviceHandle devh,
     ref StreamControl ctrl,
     FrameCallback cb,
     IntPtr user_ptr);
示例#7
0
 internal static extern UvcError uvc_probe_stream_ctrl(UvcDeviceHandle devh, out StreamControl ctrl);
示例#8
0
 internal static extern UvcError uvc_get_stream_ctrl_format_size(
     UvcDeviceHandle devh,
     out StreamControl ctrl,
     FrameFormat format,
     int width, int height,
     int fps);