Home
last modified time | relevance | path

Searched refs:URLContext (Results 1 - 25 of 69) sorted by relevance

123

/third_party/ffmpeg/libavformat/
H A Durl.h37 typedef struct URLContext { struct
51 } URLContext; typedef
55 int (*url_open)( URLContext *h, const char *url, int flags);
61 int (*url_open2)(URLContext *h, const char *url, int flags, AVDictionary **options);
62 int (*url_accept)(URLContext *s, URLContext **c);
63 int (*url_handshake)(URLContext *c);
77 int (*url_read)( URLContext *h, unsigned char *buf, int size);
78 int (*url_write)(URLContext *h, const unsigned char *buf, int size);
79 int64_t (*url_seek)( URLContext *
[all...]
H A Davio.c39 URLContext *h = (URLContext *)ptr; in urlcontext_to_name()
48 URLContext *h = obj; in urlcontext_child_next()
54 #define OFFSET(x) offsetof(URLContext,x)
60 {"rw_timeout", "Timeout for IO operations (in microseconds)", offsetof(URLContext, rw_timeout), AV_OPT_TYPE_INT64, { .i64 = 0 }, 0, INT64_MAX, AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_DECODING_PARAM },
65 .class_name = "URLContext",
74 static int url_alloc_for_protocol(URLContext **puc, const URLProtocol *up, in url_alloc_for_protocol()
78 URLContext *uc; in url_alloc_for_protocol()
95 uc = av_mallocz(sizeof(URLContext) + strlen(filename) + 1); in url_alloc_for_protocol()
166 int ffurl_connect(URLContext *u
[all...]
H A Dtls_mbedtls.c51 static int tls_close(URLContext *h) in tls_close()
68 static int handle_transport_error(URLContext *h, const char* func_name, int react_on_eagain, int ret) in handle_transport_error()
87 URLContext *h = (URLContext*) ctx; in mbedtls_send()
100 URLContext *h = (URLContext*) ctx; in mbedtls_recv()
111 static void handle_pk_parse_error(URLContext *h, int ret) in handle_pk_parse_error()
129 static void handle_handshake_error(URLContext *h, int ret) in handle_handshake_error()
167 static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **options) in tls_open()
288 static int handle_tls_error(URLContext *
[all...]
H A Dtls_libtls.c40 static int ff_tls_close(URLContext *h) in ff_tls_close()
53 URLContext *h = (URLContext*) cb_arg; in tls_read_callback()
64 URLContext *h = (URLContext*) cb_arg; in tls_write_callback()
73 static int ff_tls_open(URLContext *h, const char *uri, int flags, AVDictionary **options) in ff_tls_open()
152 static int ff_tls_read(URLContext *h, uint8_t *buf, int size) in ff_tls_read()
167 static int ff_tls_write(URLContext *h, const uint8_t *buf, int size) in ff_tls_write()
182 static int tls_get_file_handle(URLContext *h) in tls_get_file_handle()
188 static int tls_get_short_seek(URLContext *
[all...]
H A Dlibsmbclient.c48 static av_cold int libsmbc_connect(URLContext *h) in libsmbc_connect()
81 static av_cold int libsmbc_close(URLContext *h) in libsmbc_close()
95 static av_cold int libsmbc_open(URLContext *h, const char *url, int flags) in libsmbc_open()
136 static int64_t libsmbc_seek(URLContext *h, int64_t pos, int whence) in libsmbc_seek()
158 static int libsmbc_read(URLContext *h, unsigned char *buf, int size) in libsmbc_read()
172 static int libsmbc_write(URLContext *h, const unsigned char *buf, int size) in libsmbc_write()
186 static int libsmbc_open_dir(URLContext *h) in libsmbc_open_dir()
207 static int libsmbc_read_dir(URLContext *h, AVIODirEntry **next) in libsmbc_read_dir()
279 static int libsmbc_close_dir(URLContext *h) in libsmbc_close_dir()
290 static int libsmbc_delete(URLContext *
[all...]
H A Dhttp.h30 * Initialize the authentication state based on another HTTP URLContext.
38 void ff_http_init_auth_state(URLContext *dest, const URLContext *src);
48 int ff_http_do_new_request(URLContext *h, const char *uri);
61 int ff_http_do_new_request2(URLContext *h, const char *uri, AVDictionary **options);
H A Drtmpcrypt.h32 * @param h an URLContext
36 int ff_rtmpe_gen_pub_key(URLContext *h, uint8_t *buf);
41 * @param h an URLContext
47 int ff_rtmpe_compute_secret_key(URLContext *h, const uint8_t *serverdata,
53 * @param h an URLContext
58 void ff_rtmpe_encrypt_sig(URLContext *h, uint8_t *signature,
64 * @param h an URLContext
67 int ff_rtmpe_update_keystream(URLContext *h);
H A Dsrtpproto.c33 URLContext *rtp_hd;
57 static int srtp_close(URLContext *h) in srtp_close()
66 static int srtp_open(URLContext *h, const char *uri, int flags) in srtp_open()
96 static int srtp_read(URLContext *h, uint8_t *buf, int size) in srtp_read()
109 static int srtp_write(URLContext *h, const uint8_t *buf, int size) in srtp_write()
121 static int srtp_get_file_handle(URLContext *h) in srtp_get_file_handle()
127 static int srtp_get_multi_file_handle(URLContext *h, int **handles, in srtp_get_multi_file_handle()
H A Dgopher.c36 URLContext *hd;
39 static int gopher_write(URLContext *h, const uint8_t *buf, int size) in gopher_write()
45 static int gopher_connect(URLContext *h, const char *path) in gopher_connect()
72 static int gopher_close(URLContext *h) in gopher_close()
79 static int gopher_open(URLContext *h, const char *uri, int flags) in gopher_open()
114 static int gopher_read(URLContext *h, uint8_t *buf, int size) in gopher_read()
H A Dsubfile.c28 URLContext *h;
53 static int slave_seek(URLContext *h) in slave_seek()
68 static int subfile_open(URLContext *h, const char *filename, int flags, in subfile_open()
94 static int subfile_close(URLContext *h) in subfile_close()
100 static int subfile_read(URLContext *h, unsigned char *buf, int size) in subfile_read()
115 static int64_t subfile_seek(URLContext *h, int64_t pos, int whence) in subfile_seek()
H A Dfile.c111 static int file_read(URLContext *h, unsigned char *buf, int size) in file_read()
124 static int file_write(URLContext *h, const unsigned char *buf, int size) in file_write()
133 static int file_get_handle(URLContext *h) in file_get_handle()
139 static int file_check(URLContext *h, int mask) in file_check()
170 static int file_delete(URLContext *h) in file_delete()
193 static int file_move(URLContext *h_src, URLContext *h_dst) in file_move()
206 static int file_open(URLContext *h, const char *filename, int flags) in file_open()
248 static int64_t file_seek(URLContext *h, int64_t pos, int whence) in file_seek()
264 static int file_close(URLContext *
[all...]
H A Dtls_securetransport.c52 static int print_tls_error(URLContext *h, int ret) in print_tls_error()
70 static int import_pem(URLContext *h, char *path, CFArrayRef *array) in import_pem()
133 static int load_ca(URLContext *h) in load_ca()
153 static int load_cert(URLContext *h) in load_cert()
198 URLContext *h = (URLContext*)connection; in tls_read_cb()
227 URLContext *h = (URLContext*)connection; in tls_write_cb()
245 static int tls_close(URLContext *h) in tls_close()
267 static int tls_open(URLContext *
[all...]
H A Dhttp.c68 URLContext *hd;
184 static int http_connect(URLContext *h, const char *path, const char *local_path,
187 static int http_read_header(URLContext *h);
188 static int http_shutdown(URLContext *h, int flags);
190 void ff_http_init_auth_state(URLContext *dest, const URLContext *src) in ff_http_init_auth_state()
200 static int http_open_cnx_internal(URLContext *h, AVDictionary **options) in http_open_cnx_internal()
352 static int http_open_cnx(URLContext *h, AVDictionary **options) in http_open_cnx()
452 int ff_http_do_new_request(URLContext *h, const char *uri) { in ff_http_do_new_request()
456 int ff_http_do_new_request2(URLContext *
[all...]
H A Dtcp.c103 static int tcp_open(URLContext *h, const char *uri, int flags) in tcp_open()
219 static int tcp_accept(URLContext *s, URLContext **c) in tcp_accept()
237 static int tcp_read(URLContext *h, uint8_t *buf, int size) in tcp_read()
253 static int tcp_write(URLContext *h, const uint8_t *buf, int size) in tcp_write()
267 static int tcp_shutdown(URLContext *h, int flags) in tcp_shutdown()
283 static int tcp_close(URLContext *h) in tcp_close()
290 static int tcp_get_file_handle(URLContext *h) in tcp_get_file_handle()
296 static int tcp_get_window_size(URLContext *h) in tcp_get_window_size()
H A Dlibzmq.c47 static int zmq_proto_wait(URLContext *h, void *socket, int write) in zmq_proto_wait()
60 static int zmq_proto_wait_timeout(URLContext *h, void *socket, int write, int64_t timeout, AVIOInterruptCB *int_cb) in zmq_proto_wait_timeout()
80 static int zmq_proto_open(URLContext *h, const char *uri, int flags) in zmq_proto_open()
143 static int zmq_proto_write(URLContext *h, const unsigned char *buf, int size) in zmq_proto_write()
159 static int zmq_proto_read(URLContext *h, unsigned char *buf, int size) in zmq_proto_read()
180 static int zmq_proto_close(URLContext *h) in zmq_proto_close()
H A Dasync.c58 URLContext *inner;
134 URLContext *h = src; in wrapped_url_read()
145 static int ring_write(RingBuffer *ring, URLContext *h, size_t size) in ring_write()
172 URLContext *h = arg; in async_check_interrupt()
186 URLContext *h = arg; in async_buffer_task()
248 static int async_open(URLContext *h, const char *arg, int flags, AVDictionary **options) in async_open()
315 static int async_close(URLContext *h) in async_close()
338 static int async_read_internal(URLContext *h, void *dest, int size) in async_read_internal()
385 static int async_read(URLContext *h, unsigned char *buf, int size) in async_read()
390 static int64_t async_seek(URLContext *
[all...]
H A Dlibssh.c173 static av_cold int libssh_close(URLContext *h) in libssh_close()
192 static av_cold int libssh_connect(URLContext *h, const char *url, char *path, size_t path_size) in libssh_connect()
229 static av_cold int libssh_open(URLContext *h, const char *url, int flags) in libssh_open()
250 static int64_t libssh_seek(URLContext *h, int64_t pos, int whence) in libssh_seek()
289 static int libssh_read(URLContext *h, unsigned char *buf, int size) in libssh_read()
301 static int libssh_write(URLContext *h, const unsigned char *buf, int size) in libssh_write()
313 static int libssh_open_dir(URLContext *h) in libssh_open_dir()
335 static int libssh_read_dir(URLContext *h, AVIODirEntry **next) in libssh_read_dir()
385 static int libssh_close_dir(URLContext *h) in libssh_close_dir()
395 static int libssh_delete(URLContext *
[all...]
H A Dmd5proto.c35 static int md5_open(URLContext *h, const char *filename, int flags) in md5_open()
50 static int md5_write(URLContext *h, const unsigned char *buf, int size) in md5_write()
57 static int md5_close(URLContext *h) in md5_close()
62 URLContext *out; in md5_close()
H A Dconcat.c37 URLContext *uc; ///< node's URLContext
48 static av_cold int concat_close(URLContext *h) in concat_close()
64 static av_cold int concat_open(URLContext *h, const char *uri, int flags) in concat_open()
70 URLContext *uc; in concat_open()
101 /* creating URLContext */ in concat_open()
134 static int concat_read(URLContext *h, unsigned char *buf, int size) in concat_read()
159 static int64_t concat_seek(URLContext *h, int64_t pos, int whence) in concat_seek()
210 static av_cold int concatf_open(URLContext *h, const char *uri, int flags) in concatf_open()
246 URLContext *u in concatf_open()
[all...]
H A Drtmphttp.c41 URLContext *stream; ///< HTTP stream
55 static int rtmp_http_send_cmd(URLContext *h, const char *cmd) in rtmp_http_send_cmd()
85 static int rtmp_http_write(URLContext *h, const uint8_t *buf, int size) in rtmp_http_write()
105 static int rtmp_http_read(URLContext *h, uint8_t *buf, int size) in rtmp_http_read()
157 static int rtmp_http_close(URLContext *h) in rtmp_http_close()
184 static int rtmp_http_open(URLContext *h, const char *uri, int flags) in rtmp_http_open()
H A Dipfsgateway.c37 URLContext *inner;
50 static int populate_ipfs_gateway(URLContext *h) in populate_ipfs_gateway()
197 static int translate_ipfs_to_http(URLContext *h, const char *uri, int flags, AVDictionary **options) in translate_ipfs_to_http()
306 static int ipfs_read(URLContext *h, unsigned char *buf, int size) in ipfs_read()
312 static int64_t ipfs_seek(URLContext *h, int64_t pos, int whence) in ipfs_seek()
318 static int ipfs_close(URLContext *h) in ipfs_close()
H A Dbluray.c61 static int check_disc_info(URLContext *h) in check_disc_info()
104 static int bluray_close(URLContext *h) in bluray_close()
114 static int bluray_open(URLContext *h, const char *path, int flags) in bluray_open()
190 static int bluray_read(URLContext *h, unsigned char *buf, int size) in bluray_read()
204 static int64_t bluray_seek(URLContext *h, int64_t pos, int whence) in bluray_seek()
H A Dunix.c63 static int unix_open(URLContext *h, const char *filename, int flags) in unix_open()
103 static int unix_read(URLContext *h, uint8_t *buf, int size) in unix_read()
119 static int unix_write(URLContext *h, const uint8_t *buf, int size) in unix_write()
133 static int unix_close(URLContext *h) in unix_close()
142 static int unix_get_file_handle(URLContext *h) in unix_get_file_handle()
H A Dlibrtmp.c74 static int rtmp_close(URLContext *s) in rtmp_close()
96 static int rtmp_open(URLContext *s, const char *uri, int flags) in rtmp_open()
201 static int rtmp_write(URLContext *s, const uint8_t *buf, int size) in rtmp_write()
212 static int rtmp_read(URLContext *s, uint8_t *buf, int size) in rtmp_read()
223 static int rtmp_read_pause(URLContext *s, int pause) in rtmp_read_pause()
233 static int64_t rtmp_read_seek(URLContext *s, int stream_index, in rtmp_read_seek()
252 static int rtmp_get_file_handle(URLContext *s) in rtmp_get_file_handle()
H A Dtls_gnutls.c75 static int print_tls_error(URLContext *h, int ret) in print_tls_error()
102 static int tls_close(URLContext *h) in tls_close()
152 static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **options) in tls_open()
248 static int tls_read(URLContext *h, uint8_t *buf, int size) in tls_read()
263 static int tls_write(URLContext *h, const uint8_t *buf, int size) in tls_write()
278 static int tls_get_file_handle(URLContext *h) in tls_get_file_handle()
284 static int tls_get_short_seek(URLContext *h) in tls_get_short_seek()

Completed in 14 milliseconds

123