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 | packet_after_outpoint (ConcatContext *cat, 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 103 of file concatdec.c.
Referenced by add_file(), and concat_read_header().
#define OFFSET | ( | x | ) | offsetof(ConcatContext, x) |
Definition at line 699 of file concatdec.c.
#define DEC AV_OPT_FLAG_DECODING_PARAM |
Definition at line 700 of file concatdec.c.
enum ConcatMatchMode |
Enumerator | |
---|---|
MATCH_ONE_TO_ONE | |
MATCH_EXACT_ID |
Definition at line 31 of file concatdec.c.
|
static |
Definition at line 67 of file concatdec.c.
|
static |
Definition at line 73 of file concatdec.c.
Referenced by concat_read_header().
|
static |
Definition at line 84 of file concatdec.c.
Referenced by add_file().
|
static |
Definition at line 105 of file concatdec.c.
Referenced by concat_read_header().
Definition at line 162 of file concatdec.c.
Referenced by match_streams_exact_id(), and match_streams_one_to_one().
|
static |
Definition at line 188 of file concatdec.c.
Referenced by match_streams().
|
static |
Definition at line 209 of file concatdec.c.
Referenced by match_streams().
|
static |
Definition at line 229 of file concatdec.c.
Referenced by match_streams().
|
static |
Definition at line 251 of file concatdec.c.
Referenced by concat_read_packet(), and open_file().
|
static |
Definition at line 288 of file concatdec.c.
Referenced by concat_read_header(), open_files(), open_next_file(), and real_seek().
|
static |
Definition at line 328 of file concatdec.c.
Referenced by concat_read_header().
|
static |
Definition at line 344 of file concatdec.c.
|
static |
Definition at line 467 of file concatdec.c.
Referenced by concat_read_packet().
|
static |
Definition at line 487 of file concatdec.c.
Referenced by concat_read_packet().
|
static |
Definition at line 528 of file concatdec.c.
Referenced by concat_read_packet().
|
static |
Definition at line 537 of file concatdec.c.
|
static |
Definition at line 609 of file concatdec.c.
Referenced by real_seek(), and try_seek().
|
static |
Definition at line 619 of file concatdec.c.
Referenced by real_seek().
|
static |
Definition at line 637 of file concatdec.c.
Referenced by concat_seek().
|
static |
Definition at line 674 of file concatdec.c.
|
static |
Definition at line 702 of file concatdec.c.
|
static |
Definition at line 710 of file concatdec.c.
AVInputFormat ff_concat_demuxer |
Definition at line 718 of file concatdec.c.