xine-lib 1.2.11
|
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <libavformat/avformat.h>
#include <libavformat/avio.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/input_plugin.h>
#include <xine/demux.h>
#include "ffmpeg_decoder.h"
#include "ffmpeg_compat.h"
Data Structures | |
struct | avformat_input_plugin_t |
struct | avformat_demux_plugin_t |
Macros | |
#define | LOG_MODULE "libavformat" |
#define | LOG_VERBOSE |
#define | CODEC_ID(st) ((st)->codec->codec_id) |
#define | WRAP_THRESHOLD 360000 |
#define CODEC_ID | ( | st | ) | ((st)->codec->codec_id) |
#define LOG_MODULE "libavformat" |
#define LOG_VERBOSE |
#define WRAP_THRESHOLD 360000 |
|
static |
References NULL.
Referenced by find_avformat_streams().
|
static |
References BUF_AUDIO_A52, BUF_AUDIO_LPCM_BE, BUF_AUDIO_LPCM_LE, BUF_AUDIO_MPEG, ff_audio_lookup, ff_audio_lookup_entries, LOG_MODULE, XINE_VERBOSITY_LOG, and xprintf.
Referenced by find_avformat_streams().
|
static |
Referenced by demux_avformat_seek().
|
static |
References _x_demux_control_newpts(), and WRAP_THRESHOLD.
Referenced by send_avpacket().
|
static |
References _x_freep().
Referenced by open_demux_avformat_plugin().
|
static |
References DEMUX_CAP_AUDIOLANG.
Referenced by open_demux_avformat_plugin().
|
static |
References DEMUX_OPTIONAL_DATA_AUDIOLANG, DEMUX_OPTIONAL_SUCCESS, DEMUX_OPTIONAL_UNSUPPORTED, INPUT_CAP_AUDIOLANG, and NULL.
Referenced by open_demux_avformat_plugin().
|
static |
Referenced by open_demux_avformat_plugin().
|
static |
Referenced by open_demux_avformat_plugin().
|
static |
References _x_demux_flush_engine(), avformat_seek(), and BUF_FLAG_SEEK.
Referenced by open_demux_avformat_plugin().
|
static |
References DEMUX_FINISHED, DEMUX_OK, and send_avpacket().
Referenced by open_demux_avformat_plugin().
|
static |
References _x_demux_control_start(), _x_stream_info_set(), DEMUX_OK, send_headers_audio(), send_headers_video(), XINE_STREAM_INFO_HAS_AUDIO, and XINE_STREAM_INFO_HAS_VIDEO.
Referenced by open_demux_avformat_plugin().
|
static |
References _find_program_from_stream(), audio_codec_lookup(), CODEC_ID, LOG_MODULE, NULL, video_codec_lookup(), XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_demux_avformat_plugin().
|
static |
References DEMUX_AVFORMAT_ID, get_io_context(), input(), INPUT_OPTIONAL_DATA_fmt_ctx, INPUT_OPTIONAL_SUCCESS, LOG_MODULE, NULL, xine_stream_s::xine, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_demux_avformat_plugin().
|
static |
References input(), INPUT_AVIO_ID, INPUT_CAP_SEEKABLE, INPUT_OPTIONAL_DATA_pb, INPUT_OPTIONAL_SUCCESS, LOG_MODULE, NULL, pb_input_read_packet(), pb_input_seek(), xine_stream_s::xine, XINE_VERBOSITY_LOG, and xprintf.
Referenced by get_format_context().
void * init_avformat_demux_plugin | ( | xine_t * | xine, |
const void * | data | ||
) |
References DEMUX_AVFORMAT_ID, N_, NULL, open_demux_avformat_plugin(), and demux_class_s::open_plugin.
void * init_avformat_input_plugin | ( | xine_t * | xine, |
const void * | data | ||
) |
References DEMUX_AVFORMAT_ID, input_class_s::get_instance, input_avformat_get_instance(), N_, and NULL.
|
static |
References _x_freep().
Referenced by input_avformat_get_instance().
|
static |
Referenced by input_avformat_get_instance().
|
static |
References INPUT_CAP_SEEKABLE.
Referenced by input_avformat_get_instance().
|
static |
Referenced by input_avformat_get_instance().
|
static |
References _x_freep(), _x_meta_info_set(), _x_mrl_remove_auth(), DEMUX_AVFORMAT_ID, init_once_routine(), input_avformat_dispose(), input_avformat_get_blocksize(), input_avformat_get_capabilities(), input_avformat_get_current_pos(), input_avformat_get_length(), input_avformat_get_mrl(), input_avformat_get_optional_data(), input_avformat_open(), input_avformat_read(), input_avformat_read_block(), input_avformat_seek(), LOG_MODULE, NULL, xine_stream_s::xine, XINE_META_INFO_TITLE, XINE_VERBOSITY_LOG, and xprintf.
Referenced by init_avformat_input_plugin().
|
static |
Referenced by input_avformat_get_instance().
|
static |
Referenced by input_avformat_get_instance().
|
static |
References DEMUX_AVFORMAT_ID, INPUT_OPTIONAL_DATA_DEMUXER, INPUT_OPTIONAL_DATA_fmt_ctx, INPUT_OPTIONAL_SUCCESS, INPUT_OPTIONAL_UNSUPPORTED, and NULL.
Referenced by input_avformat_get_instance().
|
static |
Referenced by input_avformat_get_instance().
|
static |
Referenced by input_avformat_get_instance().
|
static |
References NULL.
Referenced by input_avformat_get_instance().
|
static |
Referenced by input_avformat_get_instance().
|
static |
References demux_avformat_dispose(), demux_avformat_get_capabilities(), demux_avformat_get_optional_data(), demux_avformat_get_status(), demux_avformat_get_stream_length(), demux_avformat_seek(), demux_avformat_send_chunk(), demux_avformat_send_headers(), DEMUX_FINISHED, find_avformat_streams(), get_format_context(), init_once_routine(), input(), LOG_MODULE, NULL, xine_stream_s::xine, XINE_VERBOSITY_LOG, and xprintf.
Referenced by init_avformat_demux_plugin().
|
static |
References input().
Referenced by get_io_context().
|
static |
References input().
Referenced by get_io_context().
|
static |
References _x_demux_send_data(), check_newpts(), LOG_MODULE, NULL, fifo_buffer_s::size, XFF_PACKET_UNREF, XINE_VERBOSITY_LOG, and xprintf.
Referenced by demux_avformat_send_chunk().
|
static |
References _x_stream_info_set(), BUF_FLAG_FRAME_END, BUF_FLAG_HEADER, BUF_FLAG_STDHEADER, xine_waveformatex::cbSize, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, LOG_MODULE, buf_element_s::max_size, xine_waveformatex::nAvgBytesPerSec, xine_waveformatex::nBlockAlign, buf_element_s::size, buf_element_s::type, XINE_STREAM_INFO_AUDIO_FOURCC, XINE_VERBOSITY_LOG, and xprintf.
Referenced by demux_avformat_send_headers().
|
static |
References _x_stream_info_set(), xine_bmiheader::biBitCount, xine_bmiheader::biHeight, xine_bmiheader::biSize, xine_bmiheader::biWidth, BUF_FLAG_FRAME_END, BUF_FLAG_HEADER, BUF_FLAG_STDHEADER, buf_element_s::content, buf_element_s::decoder_flags, LOG_MODULE, buf_element_s::max_size, buf_element_s::size, buf_element_s::type, XINE_STREAM_INFO_VIDEO_FOURCC, XINE_VERBOSITY_LOG, and xprintf.
Referenced by demux_avformat_send_headers().
|
static |
References ff_video_lookup, ff_video_lookup_entries, LOG_MODULE, XINE_VERBOSITY_LOG, and xprintf.
Referenced by find_avformat_streams().