Beispiel #1
0
 /// <summary>
 /// Free buffers returned by capture for video
 /// </summary>
 /// <param name="p_instance"></param>
 /// <param name="p_video_data"></param>
 public static void NDIlib_recv_free_video(IntPtr p_instance, ref NDIlib_video_frame_t p_video_data)
 {
     if (Is64Bit)
     {
         NDIlib64_recv_free_video(p_instance, ref p_video_data);
     }
     else
     {
         NDIlib32_recv_free_video(p_instance, ref p_video_data);
     }
 }
Beispiel #2
0
 //
 /// <summary>
 /// Same as NDIlib_recv_capture, but only asks for video
 /// </summary>
 /// <param name="p_instance"></param>
 /// <param name="p_video_data"></param>
 /// <param name="timeout_in_ms"></param>
 /// <returns></returns>
 public static NDIlib_frame_type_e NDIlib_recv_capture(
     IntPtr p_instance,                                      // The library instance
     ref NDIlib_video_frame_t p_video_data,                  // The video data received (can be null)
     uint timeout_in_ms)                                     // The ammount of time in milliseconds to wait for data.
 {
     if (Is64Bit)
     {
         return(NDIlib64_recv_capture(p_instance, ref p_video_data, IntPtr.Zero, IntPtr.Zero, timeout_in_ms));
     }
     else
     {
         return(NDIlib32_recv_capture(p_instance, ref p_video_data, IntPtr.Zero, IntPtr.Zero, timeout_in_ms));
     }
 }
Beispiel #3
0
 private static extern void NDIlib64_recv_free_video(IntPtr p_instance, ref NDIlib_video_frame_t p_video_data);
Beispiel #4
0
 private static extern NDIlib_frame_type_e NDIlib64_recv_capture(
     IntPtr p_instance,                                      // The library instance
     ref NDIlib_video_frame_t p_video_data,                  // The video data received (can be null)
     IntPtr p_audio_data,                                    // The audio data received (can be null)
     IntPtr p_meta_data,                                     // The meta data data received (can be null)
     uint timeout_in_ms);
Beispiel #5
0
 private static extern NDIlib_frame_type_e NDIlib32_recv_capture(
     IntPtr p_instance,                                      // The library instance
     ref NDIlib_video_frame_t p_video_data,                  // The video data received (can be null)
     IntPtr p_audio_data,                                    // The audio data received (can be null)
     IntPtr p_meta_data,                                     // The meta data data received (can be null)
     uint timeout_in_ms);                                    // The ammount of time in milliseconds to wait for data.