FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/timestamp.h"
#include "avformat.h"
#include "internal.h"
#include "url.h"
Go to the source code of this file.
Data Structures | |
struct | ConcatStream |
struct | ConcatFile |
struct | ConcatContext |
Macros | |
#define | FAIL(retcode) do { ret = (retcode); goto fail; } while(0) |
#define | OFFSET(x) offsetof(ConcatContext, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
Enumerations | |
enum | ConcatMatchMode { MATCH_ONE_TO_ONE, MATCH_EXACT_ID } |
Functions | |
static int | concat_probe (AVProbeData *probe) |
static char * | get_keyword (uint8_t **cursor) |
static int | safe_filename (const char *f) |
static int | add_file (AVFormatContext *avf, char *filename, ConcatFile **rfile, unsigned *nb_files_alloc) |
static int | copy_stream_props (AVStream *st, AVStream *source_st) |
static int | detect_stream_specific (AVFormatContext *avf, int idx) |
static int | match_streams_one_to_one (AVFormatContext *avf) |
static int | match_streams_exact_id (AVFormatContext *avf) |
static int | match_streams (AVFormatContext *avf) |
static int | open_file (AVFormatContext *avf, unsigned fileno) |
static int | concat_read_close (AVFormatContext *avf) |
static int | concat_read_header (AVFormatContext *avf) |
static int | open_next_file (AVFormatContext *avf) |
static int | filter_packet (AVFormatContext *avf, ConcatStream *cs, AVPacket *pkt) |
static int | concat_read_packet (AVFormatContext *avf, AVPacket *pkt) |
static void | rescale_interval (AVRational tb_in, AVRational tb_out, int64_t *min_ts, int64_t *ts, int64_t *max_ts) |
static int | try_seek (AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) |
static int | real_seek (AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) |
static int | concat_seek (AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) |
Variables | |
static const AVOption | options [] |
static const AVClass | concat_class |
AVInputFormat | ff_concat_demuxer |
#define FAIL | ( | retcode | ) | do { ret = (retcode); goto fail; } while(0) |
Definition at line 97 of file concatdec.c.
Referenced by add_file(), and concat_read_header().
#define OFFSET | ( | x | ) | offsetof(ConcatContext, x) |
Definition at line 617 of file concatdec.c.
#define DEC AV_OPT_FLAG_DECODING_PARAM |
Definition at line 618 of file concatdec.c.
enum ConcatMatchMode |
Definition at line 31 of file concatdec.c.
|
static |
Definition at line 61 of file concatdec.c.
|
static |
Definition at line 67 of file concatdec.c.
Referenced by concat_read_header().
|
static |
Definition at line 78 of file concatdec.c.
Referenced by add_file().
|
static |
Definition at line 99 of file concatdec.c.
Referenced by concat_read_header().
Definition at line 154 of file concatdec.c.
Referenced by match_streams_exact_id(), and match_streams_one_to_one().
|
static |
Definition at line 178 of file concatdec.c.
Referenced by match_streams().
|
static |
Definition at line 199 of file concatdec.c.
Referenced by match_streams().
|
static |
Definition at line 219 of file concatdec.c.
Referenced by match_streams().
|
static |
Definition at line 241 of file concatdec.c.
Referenced by concat_read_packet(), and open_file().
|
static |
Definition at line 278 of file concatdec.c.
Referenced by concat_read_header(), open_files(), open_next_file(), and real_seek().
|
static |
Definition at line 312 of file concatdec.c.
Referenced by concat_read_header().
|
static |
Definition at line 327 of file concatdec.c.
|
static |
Definition at line 424 of file concatdec.c.
Referenced by concat_read_packet().
|
static |
Definition at line 437 of file concatdec.c.
Referenced by concat_read_packet().
|
static |
Definition at line 477 of file concatdec.c.
|
static |
Definition at line 528 of file concatdec.c.
Referenced by real_seek(), and try_seek().
|
static |
Definition at line 538 of file concatdec.c.
Referenced by real_seek().
|
static |
Definition at line 556 of file concatdec.c.
Referenced by concat_seek().
|
static |
Definition at line 593 of file concatdec.c.
|
static |
Definition at line 620 of file concatdec.c.
|
static |
Definition at line 628 of file concatdec.c.
AVInputFormat ff_concat_demuxer |
Definition at line 636 of file concatdec.c.