| FFmpeg
    | 
#include <demux.h>
| Data Fields | |
| AVInputFormat | p | 
| The public AVInputFormat.  More... | |
| enum AVCodecID | raw_codec_id | 
| Raw demuxers store their codec ID here.  More... | |
| int | priv_data_size | 
| Size of private data so that it can be allocated in the wrapper.  More... | |
| int | flags_internal | 
| Internal flags.  More... | |
| int(* | read_probe )(const AVProbeData *) | 
| Tell if a given file has a chance of being parsed as this format.  More... | |
| int(* | read_header )(struct AVFormatContext *) | 
| Read the format header and initialize the AVFormatContext structure.  More... | |
| int(* | read_packet )(struct AVFormatContext *, AVPacket *pkt) | 
| Read one packet and put it in 'pkt'.  More... | |
| int(* | read_close )(struct AVFormatContext *) | 
| Close the stream.  More... | |
| int(* | read_seek )(struct AVFormatContext *, int stream_index, int64_t timestamp, int flags) | 
| Seek to a given timestamp relative to the frames in stream component stream_index.  More... | |
| int64_t(* | read_timestamp )(struct AVFormatContext *s, int stream_index, int64_t *pos, int64_t pos_limit) | 
| Get the next timestamp in stream[stream_index].time_base units.  More... | |
| int(* | read_play )(struct AVFormatContext *) | 
| Start/resume playing - only meaningful if using a network-based format (RTSP).  More... | |
| int(* | read_pause )(struct AVFormatContext *) | 
| Pause playing - only meaningful if using a network-based format (RTSP).  More... | |
| int(* | read_seek2 )(struct AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) | 
| Seek to timestamp ts.  More... | |
| int(* | get_device_list )(struct AVFormatContext *s, struct AVDeviceInfoList *device_list) | 
| Returns device list with it properties.  More... | |
| AVInputFormat FFInputFormat::p | 
The public AVInputFormat.
See avformat.h for it.
Definition at line 41 of file demux.h.
Referenced by dvdvideo_subdemux_open(), LLVMFuzzerTestOneInput(), mpegts_read_header(), next_input(), and rdt_init().
| enum AVCodecID FFInputFormat::raw_codec_id | 
Raw demuxers store their codec ID here.
Definition at line 46 of file demux.h.
Referenced by ff_img_read_header(), ff_img_read_packet(), ff_raw_audio_read_header(), ff_raw_subtitle_read_header(), ff_raw_video_read_header(), g726_read_header(), pcm_read_header(), raw_data_read_header(), and rawvideo_read_header().
| int FFInputFormat::priv_data_size | 
Size of private data so that it can be allocated in the wrapper.
Definition at line 51 of file demux.h.
Referenced by avformat_open_input(), and ff_alloc_input_device_context().
| int FFInputFormat::flags_internal | 
Internal flags.
See FF_INFMT_FLAG_* above and FF_FMT_FLAG_* in internal.h.
Definition at line 56 of file demux.h.
Referenced by avformat_open_input().
| int(* FFInputFormat::read_probe) (const AVProbeData *) | 
Tell if a given file has a chance of being parsed as this format.
The buffer provided is guaranteed to be AVPROBE_PADDING_SIZE bytes big so you do not have to check for that unless you need more.
Definition at line 63 of file demux.h.
Referenced by av_probe_input_format3(), ff_img_read_header(), and probe().
| int(* FFInputFormat::read_header) (struct AVFormatContext *) | 
Read the format header and initialize the AVFormatContext structure.
Return 0 if OK. 'avformat_new_stream' should be called to create new streams.
Definition at line 70 of file demux.h.
Referenced by avformat_open_input(), and ff_img_read_header().
| int(* FFInputFormat::read_packet) (struct AVFormatContext *, AVPacket *pkt) | 
Read one packet and put it in 'pkt'.
pts and flags are also set. 'avformat_new_stream' can be called only if the flag AVFMTCTX_NOHEADER is used and only in the calling thread (not in a background thread).
Definition at line 80 of file demux.h.
Referenced by ff_img_read_packet(), and ff_read_packet().
| int(* FFInputFormat::read_close) (struct AVFormatContext *) | 
Close the stream.
The AVFormatContext and AVStreams are not freed by this function
Definition at line 86 of file demux.h.
Referenced by avformat_close_input(), and avformat_open_input().
| int(* FFInputFormat::read_seek) (struct AVFormatContext *, int stream_index, int64_t timestamp, int flags) | 
Seek to a given timestamp relative to the frames in stream component stream_index.
| stream_index | Must not be -1. | 
| flags | Selects which direction should be preferred if no exact match is available. | 
Definition at line 96 of file demux.h.
Referenced by av_seek_frame(), avformat_seek_file(), seek_frame_generic(), and seek_frame_internal().
| int64_t(* FFInputFormat::read_timestamp) (struct AVFormatContext *s, int stream_index, int64_t *pos, int64_t pos_limit) | 
Get the next timestamp in stream[stream_index].time_base units.
Definition at line 103 of file demux.h.
Referenced by avformat_seek_file(), ff_seek_frame_binary(), and seek_frame_internal().
| int(* FFInputFormat::read_play) (struct AVFormatContext *) | 
Start/resume playing - only meaningful if using a network-based format (RTSP).
Definition at line 110 of file demux.h.
Referenced by av_read_play().
| int(* FFInputFormat::read_pause) (struct AVFormatContext *) | 
Pause playing - only meaningful if using a network-based format (RTSP).
Definition at line 116 of file demux.h.
Referenced by av_read_pause().
| int(* FFInputFormat::read_seek2) (struct AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) | 
Seek to timestamp ts.
Seeking will be done so that the point from which all active streams can be presented successfully will be closest to ts and within min/max_ts. Active streams are all streams that have AVStream.discard < AVDISCARD_ALL.
Definition at line 124 of file demux.h.
Referenced by av_seek_frame(), and avformat_seek_file().
| int(* FFInputFormat::get_device_list) (struct AVFormatContext *s, struct AVDeviceInfoList *device_list) | 
Returns device list with it properties.
Definition at line 130 of file demux.h.
Referenced by avdevice_list_devices().
 1.8.17
 1.8.17