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 105 of file concatdec.c.
Referenced by add_file(), and concat_read_header().
#define OFFSET | ( | x | ) | offsetof(ConcatContext, x) |
Definition at line 753 of file concatdec.c.
#define DEC AV_OPT_FLAG_DECODING_PARAM |
Definition at line 754 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 69 of file concatdec.c.
|
static |
Definition at line 75 of file concatdec.c.
Referenced by concat_read_header().
|
static |
Definition at line 86 of file concatdec.c.
Referenced by add_file().
|
static |
Definition at line 107 of file concatdec.c.
Referenced by concat_read_header().
Definition at line 164 of file concatdec.c.
Referenced by match_streams_exact_id(), and match_streams_one_to_one().
|
static |
Definition at line 194 of file concatdec.c.
Referenced by match_streams().
|
static |
Definition at line 233 of file concatdec.c.
Referenced by match_streams().
|
static |
Definition at line 253 of file concatdec.c.
Referenced by match_streams().
|
static |
Definition at line 275 of file concatdec.c.
Referenced by concat_read_packet(), and open_file().
|
static |
Definition at line 312 of file concatdec.c.
Referenced by concat_read_header(), open_files(), open_next_file(), and real_seek().
|
static |
Definition at line 361 of file concatdec.c.
Referenced by concat_read_header().
|
static |
Definition at line 383 of file concatdec.c.
|
static |
Definition at line 506 of file concatdec.c.
Referenced by concat_read_packet().
|
static |
Definition at line 521 of file concatdec.c.
Referenced by concat_read_packet(), and cuvid_decode_frame().
|
static |
Definition at line 578 of file concatdec.c.
Referenced by concat_read_packet().
|
static |
Definition at line 587 of file concatdec.c.
|
static |
Definition at line 663 of file concatdec.c.
Referenced by real_seek(), and try_seek().
|
static |
Definition at line 673 of file concatdec.c.
Referenced by real_seek().
|
static |
Definition at line 691 of file concatdec.c.
Referenced by concat_seek().
|
static |
Definition at line 728 of file concatdec.c.
|
static |
Definition at line 756 of file concatdec.c.
|
static |
Definition at line 766 of file concatdec.c.
AVInputFormat ff_concat_demuxer |
Definition at line 774 of file concatdec.c.