xine-lib 1.2.13-20230125hg15249
|
#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_block_s |
Macros | |
#define | LOG_MODULE "demux_mpeg_block" |
#define | LOG_VERBOSE |
#define | NUM_PREVIEW_BUFFERS 250 |
#define | DISC_TRESHOLD 90000 |
#define | WRAP_THRESHOLD 120000 |
#define | PTS_AUDIO 0 |
#define | PTS_VIDEO 1 |
#define | abs(x) ( ((x)<0) ? -(x) : (x) ) |
Typedefs | |
typedef struct demux_mpeg_block_s | demux_mpeg_block_t |
#define abs | ( | x | ) | ( ((x)<0) ? -(x) : (x) ) |
Referenced by check_newpts().
#define DISC_TRESHOLD 90000 |
#define LOG_MODULE "demux_mpeg_block" |
#define LOG_VERBOSE |
#define NUM_PREVIEW_BUFFERS 250 |
Referenced by demux_mpeg_block_send_headers().
#define PTS_AUDIO 0 |
Referenced by parse_audio_stream(), parse_private_stream_1(), and parse_private_stream_2().
#define PTS_VIDEO 1 |
Referenced by parse_private_stream_2(), and parse_video_stream().
#define WRAP_THRESHOLD 120000 |
Referenced by check_newpts().
typedef struct demux_mpeg_block_s demux_mpeg_block_t |
|
static |
References _x_demux_control_newpts(), abs, BUF_FLAG_SEEK, lprintf, and WRAP_THRESHOLD.
Referenced by parse_audio_stream(), parse_private_stream_1(), and parse_video_stream().
|
static |
Referenced by open_plugin().
|
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().
void * demux_mpeg_block_init_class | ( | xine_t * | xine, |
const void * | data ) |
References demux_plugin_s::dispose, N_, NULL, open_plugin(), and demux_class_s::open_plugin.
|
static |
References _, BUF_AUDIO_BASE, BUF_CONTROL_AUDIO_CHANNEL, BUF_CONTROL_BASE, BUF_CONTROL_SPU_CHANNEL, BUF_DECODER_MASK, BUF_DEMUX_BLOCK, BUF_FLAG_PREVIEW, BUF_MAJOR_MASK, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, buf_element_s::decoder_info_ptr, DEMUX_FINISHED, buf_element_s::extra_info, buf_element_s::free_buffer, input(), extra_info_s::input_normpos, lprintf, 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_private_stream_2(), parse_program_stream_directory(), parse_program_stream_map(), parse_program_stream_pack_header(), parse_program_stream_system_header(), parse_video_stream(), buf_element_s::type, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by demux_mpeg_block_send_chunk(), and demux_mpeg_block_send_headers().
|
static |
References _x_demux_flush_engine(), DEMUX_OK, input(), INPUT_CAP_SEEKABLE, and demux_plugin_s::seek.
Referenced by open_plugin().
|
static |
References demux_mpeg_block_parse_pack().
Referenced by open_plugin().
|
static |
|
static |
References input().
Referenced by demux_mpeg_block_send_headers(), and open_plugin().
|
static |
References xine_stream_s::content_detection_method, DEMUX_FINISHED, demux_mpeg_block_dispose(), demux_mpeg_block_get_capabilities(), demux_mpeg_block_get_optional_data(), demux_mpeg_block_get_status(), demux_mpeg_block_get_stream_length(), demux_mpeg_block_seek(), demux_mpeg_block_send_chunk(), demux_mpeg_block_send_headers(), demux_mpeg_detect_blocksize(), input(), INPUT_CAP_BLOCK, INPUT_CAP_SEEKABLE, lprintf, METHOD_BY_CONTENT, METHOD_BY_MRL, METHOD_EXPLICIT, NULL, and input_plugin_s::seek.
Referenced by demux_mpeg_block_init_class().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_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_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer.
Referenced by demux_mpeg_block_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_LPCM_BE, 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, lprintf, parse_pes_for_pts(), buf_element_s::pts, PTS_AUDIO, buf_element_s::size, SPU_DVD_SUBTYPE_PACKAGE, buf_element_s::type, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References _x_demux_control_newpts(), BUF_FLAG_SEEK, BUF_FLAG_SPECIAL, BUF_SPECIAL_SPU_DVD_SUBTYPE, BUF_SPU_DVD, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, buf_element_s::extra_info, input(), extra_info_s::input_time, lprintf, buf_element_s::pts, PTS_AUDIO, PTS_VIDEO, buf_element_s::size, SPU_DVD_SUBTYPE_NAV, and buf_element_s::type.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References buf_element_s::free_buffer, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
References lprintf.
Referenced by demux_mpeg_block_parse_pack().
|
static |
Referenced by demux_mpeg_block_parse_pack().
|
static |
References BUF_VIDEO_MPEG, check_newpts(), buf_element_s::content, buf_element_s::decoder_info, lprintf, parse_pes_for_pts(), buf_element_s::pts, PTS_VIDEO, buf_element_s::size, and buf_element_s::type.
Referenced by demux_mpeg_block_parse_pack().