public static void send_send_video_async(IntPtr p_instance, ref video_frame_t p_video_data)
 {
     if (IntPtr.Size == 8)
     {
         UnsafeNativeMethods.send_send_video_async_64(p_instance, ref p_video_data);
     }
     else
     {
         UnsafeNativeMethods.send_send_video_async_32(p_instance, ref p_video_data);
     }
 }
 public static void recv_free_video(IntPtr p_instance, ref video_frame_t p_video_data)
 {
     if (IntPtr.Size == 8)
     {
         UnsafeNativeMethods.recv_free_video_64(p_instance, ref p_video_data);
     }
     else
     {
         UnsafeNativeMethods.recv_free_video_32(p_instance, ref p_video_data);
     }
 }
 public static frame_type_e recv_capture(IntPtr p_instance, ref video_frame_t p_video_data, ref audio_frame_t p_audio_data, ref metadata_frame_t p_metadata, UInt32 timeout_in_ms)
 {
     if (IntPtr.Size == 8)
     {
         return(UnsafeNativeMethods.recv_capture_64(p_instance, ref p_video_data, ref p_audio_data, ref p_metadata, timeout_in_ms));
     }
     else
     {
         return(UnsafeNativeMethods.recv_capture_32(p_instance, ref p_video_data, ref p_audio_data, ref p_metadata, timeout_in_ms));
     }
 }
 internal static extern void send_send_video_async_32(IntPtr p_instance, ref video_frame_t p_video_data);
 internal static extern void recv_free_video_32(IntPtr p_instance, ref video_frame_t p_video_data);
 internal static extern frame_type_e recv_capture_32(IntPtr p_instance, ref video_frame_t p_video_data, ref audio_frame_t p_audio_data, ref metadata_frame_t p_metadata, UInt32 timeout_in_ms);