Go to the source code of this file.
|
static Demuxer * | demuxer_from_ifile (InputFile *f) |
|
static void | report_new_stream (Demuxer *d, const AVPacket *pkt) |
|
static void | ifile_duration_update (Demuxer *d, InputStream *ist, int64_t last_duration) |
|
static int | seek_to_start (Demuxer *d) |
|
static void | ts_fixup (Demuxer *d, AVPacket *pkt, int *repeat_pict) |
|
static void | thread_set_name (InputFile *f) |
|
static void * | input_thread (void *arg) |
|
static void | thread_stop (Demuxer *d) |
|
static int | thread_start (Demuxer *d) |
|
int | ifile_get_packet (InputFile *f, AVPacket **pkt) |
|
static void | ist_free (InputStream **pist) |
|
void | ifile_close (InputFile **pf) |
|
static const AVCodec * | choose_decoder (const OptionsContext *o, AVFormatContext *s, AVStream *st, enum HWAccelID hwaccel_id, enum AVHWDeviceType hwaccel_device_type) |
|
static int | guess_input_channel_layout (InputStream *ist) |
|
static void | add_display_matrix_to_stream (const OptionsContext *o, AVFormatContext *ctx, AVStream *st) |
|
static void | add_input_streams (const OptionsContext *o, Demuxer *d) |
|
static void | dump_attachment (AVStream *st, const char *filename) |
|
int | ifile_open (const OptionsContext *o, const char *filename) |
|
|
static const char *const | opt_name_discard [] = {"discard", NULL} |
|
static const char *const | opt_name_reinit_filters [] = {"reinit_filter", NULL} |
|
static const char *const | opt_name_fix_sub_duration [] = {"fix_sub_duration", NULL} |
|
static const char *const | opt_name_canvas_sizes [] = {"canvas_size", NULL} |
|
static const char *const | opt_name_guess_layout_max [] = {"guess_layout_max", NULL} |
|
static const char *const | opt_name_ts_scale [] = {"itsscale", NULL} |
|
static const char *const | opt_name_hwaccels [] = {"hwaccel", NULL} |
|
static const char *const | opt_name_hwaccel_devices [] = {"hwaccel_device", NULL} |
|
static const char *const | opt_name_hwaccel_output_formats [] = {"hwaccel_output_format", NULL} |
|
static const char *const | opt_name_autorotate [] = {"autorotate", NULL} |
|
static const char *const | opt_name_display_rotations [] = {"display_rotation", NULL} |
|
static const char *const | opt_name_display_hflips [] = {"display_hflip", NULL} |
|
static const char *const | opt_name_display_vflips [] = {"display_vflip", NULL} |
|
◆ Demuxer
◆ DemuxMsg
◆ add_display_matrix_to_stream()
static void add_display_matrix_to_stream |
( |
const OptionsContext * |
o, |
|
|
AVFormatContext * |
ctx, |
|
|
AVStream * |
st |
|
) |
| |
|
static |
◆ add_input_streams()
◆ choose_decoder()
static const AVCodec * choose_decoder |
( |
const OptionsContext * |
o, |
|
|
AVFormatContext * |
s, |
|
|
AVStream * |
st, |
|
|
enum HWAccelID |
hwaccel_id, |
|
|
enum AVHWDeviceType |
hwaccel_device_type |
|
) |
| |
|
static |
◆ demuxer_from_ifile()
◆ dump_attachment()
static void dump_attachment |
( |
AVStream * |
st, |
|
|
const char * |
filename |
|
) |
| |
|
static |
◆ guess_input_channel_layout()
◆ ifile_close()
◆ ifile_duration_update()
static void ifile_duration_update |
( |
Demuxer * |
d, |
|
|
InputStream * |
ist, |
|
|
int64_t |
last_duration |
|
) |
| |
|
static |
◆ ifile_get_packet()
Get next input packet from the demuxer.
- Parameters
-
pkt | the packet is written here when this function returns 0 |
- Returns
- 0 when a packet has been read successfully
- 1 when stream end was reached, but the stream is looped; caller should flush decoders and read from this demuxer again
- a negative error code on failure
Definition at line 427 of file fftools_ffmpeg_demux.c.
◆ ifile_open()
◆ input_thread()
static void * input_thread |
( |
void * |
arg | ) |
|
|
static |
◆ ist_free()
◆ report_new_stream()
static void report_new_stream |
( |
Demuxer * |
d, |
|
|
const AVPacket * |
pkt |
|
) |
| |
|
static |
◆ seek_to_start()
◆ thread_set_name()
◆ thread_start()
◆ thread_stop()
static void thread_stop |
( |
Demuxer * |
d | ) |
|
|
static |
◆ ts_fixup()
static void ts_fixup |
( |
Demuxer * |
d, |
|
|
AVPacket * |
pkt, |
|
|
int * |
repeat_pict |
|
) |
| |
|
static |
◆ opt_name_autorotate
const char* const opt_name_autorotate[] = {"autorotate", NULL} |
|
static |
◆ opt_name_canvas_sizes
const char* const opt_name_canvas_sizes[] = {"canvas_size", NULL} |
|
static |
◆ opt_name_discard
const char* const opt_name_discard[] = {"discard", NULL} |
|
static |
◆ opt_name_display_hflips
const char* const opt_name_display_hflips[] = {"display_hflip", NULL} |
|
static |
◆ opt_name_display_rotations
const char* const opt_name_display_rotations[] = {"display_rotation", NULL} |
|
static |
◆ opt_name_display_vflips
const char* const opt_name_display_vflips[] = {"display_vflip", NULL} |
|
static |
◆ opt_name_fix_sub_duration
const char* const opt_name_fix_sub_duration[] = {"fix_sub_duration", NULL} |
|
static |
◆ opt_name_guess_layout_max
const char* const opt_name_guess_layout_max[] = {"guess_layout_max", NULL} |
|
static |
◆ opt_name_hwaccel_devices
const char* const opt_name_hwaccel_devices[] = {"hwaccel_device", NULL} |
|
static |
◆ opt_name_hwaccel_output_formats
const char* const opt_name_hwaccel_output_formats[] = {"hwaccel_output_format", NULL} |
|
static |
◆ opt_name_hwaccels
const char* const opt_name_hwaccels[] = {"hwaccel", NULL} |
|
static |
◆ opt_name_reinit_filters
const char* const opt_name_reinit_filters[] = {"reinit_filter", NULL} |
|
static |
◆ opt_name_ts_scale
const char* const opt_name_ts_scale[] = {"itsscale", NULL} |
|
static |