FFmpeg
|
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "libavcodec/bytestream.h"
#include "libavcodec/codec_id.h"
#include "libavcodec/smpte_436m.h"
#include "libavutil/avstring.h"
#include "libavutil/avutil.h"
#include "libavutil/error.h"
#include "libavutil/internal.h"
#include "libavutil/log.h"
#include "libavutil/macros.h"
#include "libavutil/opt.h"
#include "libavutil/rational.h"
#include "libavutil/timecode.h"
#include "subtitles.h"
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
Go to the source code of this file.
Data Structures | |
struct | MCCContext |
struct | alias |
struct | TimeTracker |
struct | MCCTimecode |
struct | ValidTimeCodeRate |
Macros | |
#define | CCPAD "\xFA\x0\x0" |
#define | CCPAD3 CCPAD CCPAD CCPAD |
#define | OFFSET(x) offsetof(MCCContext, x) |
#define | SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static int | mcc_probe (const AVProbeData *p) |
static int | convert (uint8_t x) |
static int | time_tracker_init (TimeTracker *tt, AVStream *st, AVRational rate, void *log_ctx) |
static int | time_tracker_set_time (TimeTracker *tt, const MCCTimecode *tc, void *log_ctx) |
static int | parse_time_code_rate (AVFormatContext *s, AVStream *st, TimeTracker *tt, const char *time_code_rate) |
static int | mcc_parse_time_code_part (char **line_left, unsigned *value, unsigned max, const char *after_set) |
static int | mcc_parse_time_code (char **line_left, MCCTimecode *tc) |
static int | mcc_read_header (AVFormatContext *s) |
static int | mcc_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | mcc_read_seek (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) |
static int | mcc_read_close (AVFormatContext *s) |
Variables | |
static const char | cc_pad [27] = CCPAD3 CCPAD3 CCPAD3 |
static const alias | aliases [20] |
static struct ValidTimeCodeRate | valid_time_code_rates [] |
static const AVOption | mcc_options [] |
static const AVClass | mcc_class |
const FFInputFormat | ff_mcc_demuxer |
#define OFFSET | ( | x | ) | offsetof(MCCContext, x) |
#define SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM |
|
static |
|
static |
Definition at line 67 of file mccdec.c.
Referenced by mcc_read_header().
|
static |
Definition at line 120 of file mccdec.c.
Referenced by mcc_read_header(), and parse_time_code_rate().
|
static |
Definition at line 141 of file mccdec.c.
Referenced by mcc_read_header().
|
static |
Definition at line 171 of file mccdec.c.
Referenced by mcc_read_header().
|
static |
Definition at line 192 of file mccdec.c.
Referenced by mcc_parse_time_code().
|
static |
Definition at line 211 of file mccdec.c.
Referenced by mcc_read_header().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 89 of file mccdec.c.
Referenced by mcc_read_header().
|
static |
Definition at line 161 of file mccdec.c.
Referenced by parse_time_code_rate().
|
static |
|
static |
const FFInputFormat ff_mcc_demuxer |