Go to the source code of this file.
Classes | |
| struct | URLContext |
| struct | URLPollEntry |
| struct | URLProtocol |
| struct | ByteIOContext |
Defines | |
| #define | URL_RDONLY 0 |
| #define | URL_WRONLY 1 |
| #define | URL_RDWR 2 |
| #define | AVSEEK_SIZE 0x10000 |
| #define | URL_EOF (-1) |
Typedefs | |
| typedef int64_t | offset_t |
| typedef struct URLContext | URLContext |
| typedef int | URLInterruptCB (void) |
Functions | |
| int | url_open (URLContext **h, const char *filename, int flags) |
| int | url_read (URLContext *h, unsigned char *buf, int size) |
| int | url_write (URLContext *h, unsigned char *buf, int size) |
| offset_t | url_seek (URLContext *h, offset_t pos, int whence) |
| int | url_close (URLContext *h) |
| int | url_exist (const char *filename) |
| offset_t | url_filesize (URLContext *h) |
| int | url_get_max_packet_size (URLContext *h) |
| void | url_get_filename (URLContext *h, char *buf, int buf_size) |
| void | url_set_interrupt_cb (URLInterruptCB *interrupt_cb) |
| int | url_poll (URLPollEntry *poll_table, int n, int timeout) |
| int | register_protocol (URLProtocol *protocol) |
| int | init_put_byte (ByteIOContext *s, unsigned char *buffer, int buffer_size, int write_flag, void *opaque, int(*read_packet)(void *opaque, uint8_t *buf, int buf_size), int(*write_packet)(void *opaque, uint8_t *buf, int buf_size), offset_t(*seek)(void *opaque, offset_t offset, int whence)) |
| void | put_byte (ByteIOContext *s, int b) |
| void | put_buffer (ByteIOContext *s, const unsigned char *buf, int size) |
| void | put_le64 (ByteIOContext *s, uint64_t val) |
| void | put_be64 (ByteIOContext *s, uint64_t val) |
| void | put_le32 (ByteIOContext *s, unsigned int val) |
| void | put_be32 (ByteIOContext *s, unsigned int val) |
| void | put_le24 (ByteIOContext *s, unsigned int val) |
| void | put_be24 (ByteIOContext *s, unsigned int val) |
| void | put_le16 (ByteIOContext *s, unsigned int val) |
| void | put_be16 (ByteIOContext *s, unsigned int val) |
| void | put_tag (ByteIOContext *s, const char *tag) |
| void | put_strz (ByteIOContext *s, const char *buf) |
| offset_t | url_fseek (ByteIOContext *s, offset_t offset, int whence) |
| void | url_fskip (ByteIOContext *s, offset_t offset) |
| offset_t | url_ftell (ByteIOContext *s) |
| offset_t | url_fsize (ByteIOContext *s) |
| int | url_feof (ByteIOContext *s) |
| int | url_ferror (ByteIOContext *s) |
| int | url_fgetc (ByteIOContext *s) |
| int | url_fprintf (ByteIOContext *s, const char *fmt,...) |
| char * | url_fgets (ByteIOContext *s, char *buf, int buf_size) |
| void | put_flush_packet (ByteIOContext *s) |
| int | get_buffer (ByteIOContext *s, unsigned char *buf, int size) |
| int | get_partial_buffer (ByteIOContext *s, unsigned char *buf, int size) |
| int | get_byte (ByteIOContext *s) |
| unsigned int | get_le24 (ByteIOContext *s) |
| unsigned int | get_le32 (ByteIOContext *s) |
| uint64_t | get_le64 (ByteIOContext *s) |
| unsigned int | get_le16 (ByteIOContext *s) |
| char * | get_strz (ByteIOContext *s, char *buf, int maxlen) |
| unsigned int | get_be16 (ByteIOContext *s) |
| unsigned int | get_be24 (ByteIOContext *s) |
| unsigned int | get_be32 (ByteIOContext *s) |
| uint64_t | get_be64 (ByteIOContext *s) |
| static int | url_is_streamed (ByteIOContext *s) |
| int | url_fdopen (ByteIOContext *s, URLContext *h) |
| int | url_setbufsize (ByteIOContext *s, int buf_size) |
| int | url_fopen (ByteIOContext *s, const char *filename, int flags) |
| int | url_fclose (ByteIOContext *s) |
| URLContext * | url_fileno (ByteIOContext *s) |
| int | url_fget_max_packet_size (ByteIOContext *s) |
| int | url_open_buf (ByteIOContext *s, uint8_t *buf, int buf_size, int flags) |
| int | url_close_buf (ByteIOContext *s) |
| int | url_open_dyn_buf (ByteIOContext *s) |
| int | url_open_dyn_packet_buf (ByteIOContext *s, int max_packet_size) |
| int | url_close_dyn_buf (ByteIOContext *s, uint8_t **pbuffer) |
| unsigned long | get_checksum (ByteIOContext *s) |
| void | init_checksum (ByteIOContext *s, unsigned long(*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), unsigned long checksum) |
| int | udp_set_remote_url (URLContext *h, const char *uri) |
| int | udp_get_local_port (URLContext *h) |
| int | udp_get_file_handle (URLContext *h) |
Variables | |
| URLProtocol * | first_protocol |
| URLInterruptCB * | url_interrupt_cb |
| URLProtocol | file_protocol |
| URLProtocol | pipe_protocol |
| URLProtocol | udp_protocol |
| URLProtocol | tcp_protocol |
| URLProtocol | http_protocol |
| #define URL_WRONLY 1 |
| typedef struct URLContext URLContext |
| typedef int URLInterruptCB(void) |
| unsigned int get_be16 | ( | ByteIOContext * | s | ) |
| unsigned int get_be24 | ( | ByteIOContext * | s | ) |
| unsigned int get_be32 | ( | ByteIOContext * | s | ) |
| uint64_t get_be64 | ( | ByteIOContext * | s | ) |
| int get_buffer | ( | ByteIOContext * | s, | |
| unsigned char * | buf, | |||
| int | size | |||
| ) |
| int get_byte | ( | ByteIOContext * | s | ) |
| unsigned long get_checksum | ( | ByteIOContext * | s | ) |
| unsigned int get_le16 | ( | ByteIOContext * | s | ) |
| unsigned int get_le24 | ( | ByteIOContext * | s | ) |
| unsigned int get_le32 | ( | ByteIOContext * | s | ) |
| uint64_t get_le64 | ( | ByteIOContext * | s | ) |
| int get_partial_buffer | ( | ByteIOContext * | s, | |
| unsigned char * | buf, | |||
| int | size | |||
| ) |
| char* get_strz | ( | ByteIOContext * | s, | |
| char * | buf, | |||
| int | maxlen | |||
| ) |
| void init_checksum | ( | ByteIOContext * | s, | |
| unsigned long(*)(unsigned long c, const uint8_t *p, unsigned int len) | update_checksum, | |||
| unsigned long | checksum | |||
| ) |
| int init_put_byte | ( | ByteIOContext * | s, | |
| unsigned char * | buffer, | |||
| int | buffer_size, | |||
| int | write_flag, | |||
| void * | opaque, | |||
| int(*)(void *opaque, uint8_t *buf, int buf_size) | read_packet, | |||
| int(*)(void *opaque, uint8_t *buf, int buf_size) | write_packet, | |||
| offset_t(*)(void *opaque, offset_t offset, int whence) | seek | |||
| ) |
| void put_be16 | ( | ByteIOContext * | s, | |
| unsigned int | val | |||
| ) |
| void put_be24 | ( | ByteIOContext * | s, | |
| unsigned int | val | |||
| ) |
| void put_be32 | ( | ByteIOContext * | s, | |
| unsigned int | val | |||
| ) |
| void put_be64 | ( | ByteIOContext * | s, | |
| uint64_t | val | |||
| ) |
| void put_buffer | ( | ByteIOContext * | s, | |
| const unsigned char * | buf, | |||
| int | size | |||
| ) |
| void put_byte | ( | ByteIOContext * | s, | |
| int | b | |||
| ) |
| void put_flush_packet | ( | ByteIOContext * | s | ) |
| void put_le16 | ( | ByteIOContext * | s, | |
| unsigned int | val | |||
| ) |
| void put_le24 | ( | ByteIOContext * | s, | |
| unsigned int | val | |||
| ) |
| void put_le32 | ( | ByteIOContext * | s, | |
| unsigned int | val | |||
| ) |
| void put_le64 | ( | ByteIOContext * | s, | |
| uint64_t | val | |||
| ) |
| void put_strz | ( | ByteIOContext * | s, | |
| const char * | buf | |||
| ) |
| void put_tag | ( | ByteIOContext * | s, | |
| const char * | tag | |||
| ) |
| int register_protocol | ( | URLProtocol * | protocol | ) |
| int udp_get_file_handle | ( | URLContext * | h | ) |
| int udp_get_local_port | ( | URLContext * | h | ) |
| int udp_set_remote_url | ( | URLContext * | h, | |
| const char * | uri | |||
| ) |
| int url_close | ( | URLContext * | h | ) |
| int url_close_buf | ( | ByteIOContext * | s | ) |
| int url_close_dyn_buf | ( | ByteIOContext * | s, | |
| uint8_t ** | pbuffer | |||
| ) |
| int url_exist | ( | const char * | filename | ) |
| int url_fclose | ( | ByteIOContext * | s | ) |
Referenced by ConvertMediaFile().
| int url_fdopen | ( | ByteIOContext * | s, | |
| URLContext * | h | |||
| ) |
| int url_feof | ( | ByteIOContext * | s | ) |
| int url_ferror | ( | ByteIOContext * | s | ) |
| int url_fget_max_packet_size | ( | ByteIOContext * | s | ) |
| int url_fgetc | ( | ByteIOContext * | s | ) |
| char* url_fgets | ( | ByteIOContext * | s, | |
| char * | buf, | |||
| int | buf_size | |||
| ) |
| URLContext* url_fileno | ( | ByteIOContext * | s | ) |
| offset_t url_filesize | ( | URLContext * | h | ) |
| int url_fopen | ( | ByteIOContext * | s, | |
| const char * | filename, | |||
| int | flags | |||
| ) |
Referenced by opt_output_file().
| int url_fprintf | ( | ByteIOContext * | s, | |
| const char * | fmt, | |||
| ... | ||||
| ) |
| offset_t url_fseek | ( | ByteIOContext * | s, | |
| offset_t | offset, | |||
| int | whence | |||
| ) |
| offset_t url_fsize | ( | ByteIOContext * | s | ) |
| void url_fskip | ( | ByteIOContext * | s, | |
| offset_t | offset | |||
| ) |
| offset_t url_ftell | ( | ByteIOContext * | s | ) |
Referenced by av_encode().
| void url_get_filename | ( | URLContext * | h, | |
| char * | buf, | |||
| int | buf_size | |||
| ) |
| int url_get_max_packet_size | ( | URLContext * | h | ) |
| static int url_is_streamed | ( | ByteIOContext * | s | ) | [inline, static] |
| int url_open | ( | URLContext ** | h, | |
| const char * | filename, | |||
| int | flags | |||
| ) |
| int url_open_buf | ( | ByteIOContext * | s, | |
| uint8_t * | buf, | |||
| int | buf_size, | |||
| int | flags | |||
| ) |
| int url_open_dyn_buf | ( | ByteIOContext * | s | ) |
| int url_open_dyn_packet_buf | ( | ByteIOContext * | s, | |
| int | max_packet_size | |||
| ) |
| int url_poll | ( | URLPollEntry * | poll_table, | |
| int | n, | |||
| int | timeout | |||
| ) |
| int url_read | ( | URLContext * | h, | |
| unsigned char * | buf, | |||
| int | size | |||
| ) |
| offset_t url_seek | ( | URLContext * | h, | |
| offset_t | pos, | |||
| int | whence | |||
| ) |
| void url_set_interrupt_cb | ( | URLInterruptCB * | interrupt_cb | ) |
| int url_setbufsize | ( | ByteIOContext * | s, | |
| int | buf_size | |||
| ) |
| int url_write | ( | URLContext * | h, | |
| unsigned char * | buf, | |||
| int | size | |||
| ) |
1.5.6