Пример #1
0
 public static extern long url_seek(ref URLContext h, long pos, int whence);
Пример #2
0
 public static extern int url_write(ref URLContext h, [In, Out]byte[] buf, int size);
Пример #3
0
 public static extern int url_get_max_packet_size(ref URLContext h);
Пример #4
0
        public static int url_open(out URLContext h, string filename, int flags)
        {
            IntPtr ptr;
            int ret = url_open(out ptr, filename, flags);

            h = *(URLContext*)ptr.ToPointer();

            av_free(ptr);

            return ret;
        }
Пример #5
0
 public static extern long url_filesize(ref URLContext h);
Пример #6
0
 public static extern void url_get_filename(ref URLContext h, [In, Out]StringBuilder buf, int buf_size);
Пример #7
0
 public static extern int url_fdopen(ref ByteIOContext s, ref URLContext h);
Пример #8
0
 public static extern int url_close(ref URLContext h);
Пример #9
0
 public static extern int udp_set_remote_url(ref URLContext h, string uri);
Пример #10
0
 public static extern int udp_get_local_port(ref URLContext h);
Пример #11
0
 public static extern int udp_get_file_handle(ref URLContext h);