示例#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);