#include <demux.h>
The public AVInputFormat.
See avformat.h for it.
Definition at line 70 of file demux.h.
Referenced by LLVMFuzzerTestOneInput(), and next_input().
Raw demuxers store their codec ID here.
Definition at line 75 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(), g728_read_header(), pcm_read_header(), raw_data_read_header(), and rawvideo_read_header().
Size of private data so that it can be allocated in the wrapper.
Definition at line 80 of file demux.h.
Referenced by avformat_open_input(), and ff_alloc_input_device_context().
Internal flags.
See FF_INFMT_FLAG_* above and FF_FMT_FLAG_* in internal.h.
Definition at line 85 of file demux.h.
Referenced by avformat_find_stream_info(), avformat_open_input(), and is_id3v2_format().
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 92 of file demux.h.
Referenced by av_probe_input_format3(), ff_img_read_header(), and probe().
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 99 of file demux.h.
Referenced by avformat_open_input(), and ff_img_read_header().
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 109 of file demux.h.
Referenced by ff_img_read_packet(), and ff_read_packet().
Close the stream.
The AVFormatContext and AVStreams are not freed by this function
Definition at line 115 of file demux.h.
Referenced by avformat_close_input(), and avformat_open_input().
Seek to a given timestamp relative to the frames in stream component stream_index.
Definition at line 125 of file demux.h.
Referenced by seek_frame_generic(), and seek_frame_internal().
Get the next timestamp in stream[stream_index].time_base units.
Definition at line 132 of file demux.h.
Referenced by ff_seek_frame_binary(), and seek_frame_internal().
Change the stream state - only meaningful if using a network-based format (RTSP).
Definition at line 139 of file demux.h.
Referenced by av_read_pause(), and av_read_play().
Handle demuxer commands This callback is used to either send a command to a demuxer (FF_INFMT_COMMAND_SUBMIT), or to retrieve the reply for a previously sent command (FF_INFMT_COMMAND_GET_REPLY).
Demuxers implementing this must return AVERROR(ENOTSUP) if the provided id is not handled by the demuxer. Demuxers should return AVERROR(EAGAIN) if they can handle a specific command but are not able to at the moment. When a reply is requested that is not available yet, the demuxer should also return AVERROR(EAGAIN).
Depending on opt, the data will be either a pointer to the command payload structure for the specified ID, or a pointer to the buffer for the command reply for the specified ID.
When a command is submitted, before a previous reply was requested from the demuxer, the demuxer should discard the old reply.
Definition at line 167 of file demux.h.
Referenced by avformat_receive_command_reply(), and avformat_send_command().
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 177 of file demux.h.
Referenced by av_seek_frame(), and avformat_seek_file().
Returns device list with it properties.
Definition at line 183 of file demux.h.
Referenced by avdevice_list_devices().