xine-lib 1.2.11
|
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include "group_video.h"
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/demux.h>
Data Structures | |
struct | demux_mpeg_pes_s |
Macros | |
#define | LOG_MODULE "demux_mpeg_pes" |
#define | LOG_VERBOSE |
#define | NUM_PREVIEW_BUFFERS 250 |
#define | DISC_TRESHOLD 90000 |
#define | WRAP_THRESHOLD 270000 |
#define | PTS_AUDIO 0 |
#define | PTS_VIDEO 1 |
#define | abs(x) ( ((x)<0) ? -(x) : (x) ) |
Typedefs | |
typedef struct demux_mpeg_pes_s | demux_mpeg_pes_t |
#define abs | ( | x | ) | ( ((x)<0) ? -(x) : (x) ) |
#define DISC_TRESHOLD 90000 |
#define LOG_MODULE "demux_mpeg_pes" |
#define LOG_VERBOSE |
#define NUM_PREVIEW_BUFFERS 250 |
#define PTS_AUDIO 0 |
#define PTS_VIDEO 1 |
#define WRAP_THRESHOLD 270000 |
typedef struct demux_mpeg_pes_s demux_mpeg_pes_t |
|
static |
References _x_demux_control_newpts(), BUF_FLAG_SEEK, detect_pts_discontinuity(), and lprintf.
Referenced by parse_audio_stream(), parse_private_stream_1(), and parse_video_stream().
|
static |
References DEMUX_CAP_NOCAP.
Referenced by open_plugin().
|
static |
References DEMUX_OPTIONAL_UNSUPPORTED.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
References input().
Referenced by open_plugin().
|
static |
References _, BUF_FLAG_PREVIEW, buf_element_s::decoder_flags, DEMUX_FINISHED, buf_element_s::extra_info, buf_element_s::free_buffer, input(), extra_info_s::input_normpos, lprintf, buf_element_s::max_size, buf_element_s::mem, NULL, parse_ancillary_stream(), parse_audio_stream(), parse_dsmcc_stream(), parse_ecm_stream(), parse_emm_stream(), parse_h222_typeA_stream(), parse_h222_typeB_stream(), parse_h222_typeC_stream(), parse_h222_typeD_stream(), parse_h222_typeE_stream(), parse_IEC14496_FlexMux_stream(), parse_IEC14496_SL_packetized_stream(), parse_iec_13522_stream(), parse_padding_stream(), parse_private_stream_1(), parse_program_stream_directory(), parse_program_stream_map(), parse_program_stream_pack_header(), parse_program_stream_system_header(), parse_video_stream(), read_data(), buf_element_s::size, xine_log(), XINE_LOG_MSG, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by demux_mpeg_pes_send_chunk(), and demux_mpeg_pes_send_headers().
|
static |
References _x_demux_flush_engine(), DEMUX_OK, input(), and INPUT_CAP_SEEKABLE.
Referenced by open_plugin().
|
static |
References demux_mpeg_pes_parse_pack().
Referenced by open_plugin().
|
static |
References _x_demux_control_start(), _x_stream_info_set(), DEMUX_FINISHED, demux_mpeg_pes_parse_pack(), DEMUX_OK, input(), INPUT_CAP_PREVIEW, INPUT_CAP_SEEKABLE, INPUT_OPTIONAL_DATA_PREVIEW, NUM_PREVIEW_BUFFERS, XINE_STREAM_INFO_BITRATE, XINE_STREAM_INFO_HAS_AUDIO, and XINE_STREAM_INFO_HAS_VIDEO.
Referenced by open_plugin().
|
static |
References DEMUX_OK, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by parse_padding_stream().
void * demux_pes_init_class | ( | xine_t * | xine, |
const void * | data | ||
) |
References N_, NULL, open_plugin(), and demux_class_s::open_plugin.
|
static |
References abs, and WRAP_THRESHOLD.
Referenced by check_newpts().
|
static |
References _x_demux_read_header(), xine_stream_s::content_detection_method, default_demux_plugin_dispose, DEMUX_FINISHED, demux_mpeg_pes_get_capabilities(), demux_mpeg_pes_get_optional_data(), demux_mpeg_pes_get_status(), demux_mpeg_pes_get_stream_length(), demux_mpeg_pes_seek(), demux_mpeg_pes_send_chunk(), demux_mpeg_pes_send_headers(), input(), INPUT_CAP_BLOCK, lprintf, METHOD_BY_CONTENT, METHOD_BY_MRL, METHOD_EXPLICIT, and NULL.
Referenced by demux_pes_init_class().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References BUF_AUDIO_MPEG, check_newpts(), buf_element_s::content, buf_element_s::free_buffer, lprintf, parse_pes_for_pts(), buf_element_s::pts, PTS_AUDIO, buf_element_s::size, and buf_element_s::type.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::content, demux_mpeg_pes_vdr_seek_0(), buf_element_s::free_buffer, buf_element_s::max_size, buf_element_s::mem, read_data(), and buf_element_s::size.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References _, _x_message(), DEMUX_FINISHED, buf_element_s::extra_info, buf_element_s::free_buffer, input(), extra_info_s::input_time, lprintf, NULL, extra_info_s::total_time, xine_log(), XINE_LOG_MSG, XINE_MSG_ENCRYPTED_SOURCE, XINE_VERBOSITY_LOG, and xprintf.
Referenced by parse_audio_stream(), parse_private_stream_1(), and parse_video_stream().
|
static |
References _, BUF_AUDIO_A52, BUF_AUDIO_DTS, BUF_AUDIO_EAC3, BUF_AUDIO_LPCM_BE, BUF_FLAG_FRAME_END, BUF_FLAG_SPECIAL, BUF_SPECIAL_LPCM_CONFIG, BUF_SPECIAL_SPU_DVD_SUBTYPE, BUF_SPU_CVD, BUF_SPU_DVD, BUF_SPU_SVCD, check_newpts(), buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, buf_element_s::free_buffer, input(), lprintf, buf_element_s::max_size, buf_element_s::mem, parse_pes_for_pts(), buf_element_s::pts, PTS_AUDIO, read_data(), buf_element_s::size, SPU_DVD_SUBTYPE_PACKAGE, buf_element_s::type, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References DEMUX_FINISHED, buf_element_s::free_buffer, lprintf, buf_element_s::mem, and read_data().
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References buf_element_s::free_buffer.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References BUF_FLAG_FRAME_END, BUF_FLAG_PREVIEW, buf_type, BUF_VIDEO_H264, BUF_VIDEO_MPEG, check_newpts(), buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, DEMUX_FINISHED, buf_element_s::free_buffer, lprintf, buf_element_s::max_size, buf_element_s::mem, parse_pes_for_pts(), buf_element_s::pts, PTS_VIDEO, read_data(), buf_element_s::size, and buf_element_s::type.
Referenced by demux_mpeg_pes_parse_pack().
|
static |
References input().
Referenced by demux_mpeg_pes_parse_pack(), parse_padding_stream(), parse_private_stream_1(), parse_program_stream_pack_header(), and parse_video_stream().