#include "libavutil/avstring.h"
#include "avformat.h"
#include "internal.h"
#include <unistd.h>
Go to the source code of this file.
Data Structures | |
| struct | segment |
| struct | variant |
| struct | AppleHTTPContext |
| struct | variant_info |
Defines | |
| #define | _XOPEN_SOURCE 600 |
Functions | |
| static int | read_chomp_line (ByteIOContext *s, char *buf, int maxlen) |
| static void | make_absolute_url (char *buf, int size, const char *base, const char *rel) |
| static void | free_segment_list (struct variant *var) |
| static void | free_variant_list (AppleHTTPContext *c) |
| static void | reset_packet (AVPacket *pkt) |
| static struct variant * | new_variant (AppleHTTPContext *c, int bandwidth, const char *url, const char *base) |
| static void | handle_variant_args (struct variant_info *info, const char *key, int key_len, char **dest, int *dest_len) |
| static int | parse_playlist (AppleHTTPContext *c, const char *url, struct variant *var, ByteIOContext *in) |
| static int | applehttp_read_header (AVFormatContext *s, AVFormatParameters *ap) |
| static int | open_variant (AppleHTTPContext *c, struct variant *var, int skip) |
| static int | applehttp_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | applehttp_close (AVFormatContext *s) |
| static int | applehttp_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) |
| static int | applehttp_probe (AVProbeData *p) |
Variables | |
| AVInputFormat | applehttp_demuxer |
Definition in file applehttp.c.
| #define _XOPEN_SOURCE 600 |
Definition at line 28 of file applehttp.c.
| static int applehttp_close | ( | AVFormatContext * | s | ) | [static] |
Definition at line 524 of file applehttp.c.
| static int applehttp_probe | ( | AVProbeData * | p | ) | [static] |
Definition at line 569 of file applehttp.c.
| static int applehttp_read_header | ( | AVFormatContext * | s, | |
| AVFormatParameters * | ap | |||
| ) | [static] |
Definition at line 277 of file applehttp.c.
| static int applehttp_read_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
Definition at line 393 of file applehttp.c.
| static int applehttp_read_seek | ( | AVFormatContext * | s, | |
| int | stream_index, | |||
| int64_t | timestamp, | |||
| int | flags | |||
| ) | [static] |
Definition at line 532 of file applehttp.c.
| static void free_segment_list | ( | struct variant * | var | ) | [static] |
Definition at line 126 of file applehttp.c.
Referenced by free_variant_list(), and parse_playlist().
| static void free_variant_list | ( | AppleHTTPContext * | c | ) | [static] |
Definition at line 135 of file applehttp.c.
Referenced by applehttp_close(), and applehttp_read_header().
| static void handle_variant_args | ( | struct variant_info * | info, | |
| const char * | key, | |||
| int | key_len, | |||
| char ** | dest, | |||
| int * | dest_len | |||
| ) | [static] |
| static void make_absolute_url | ( | char * | buf, | |
| int | size, | |||
| const char * | base, | |||
| const char * | rel | |||
| ) | [static] |
| static struct variant* new_variant | ( | AppleHTTPContext * | c, | |
| int | bandwidth, | |||
| const char * | url, | |||
| const char * | base | |||
| ) | [static, read] |
| static int open_variant | ( | AppleHTTPContext * | c, | |
| struct variant * | var, | |||
| int | skip | |||
| ) | [static] |
| static int parse_playlist | ( | AppleHTTPContext * | c, | |
| const char * | url, | |||
| struct variant * | var, | |||
| ByteIOContext * | in | |||
| ) | [static] |
Definition at line 190 of file applehttp.c.
Referenced by applehttp_read_header(), and applehttp_read_packet().
| static int read_chomp_line | ( | ByteIOContext * | s, | |
| char * | buf, | |||
| int | maxlen | |||
| ) | [static] |
| static void reset_packet | ( | AVPacket * | pkt | ) | [static] |
Definition at line 158 of file applehttp.c.
Referenced by applehttp_read_packet(), applehttp_read_seek(), new_variant(), and open_variant().
Initial value:
{
"applehttp",
NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming format"),
sizeof(AppleHTTPContext),
applehttp_probe,
applehttp_read_header,
applehttp_read_packet,
applehttp_close,
applehttp_read_seek,
}
Definition at line 582 of file applehttp.c.
1.5.6