xine-lib 1.2.11
|
#include <inttypes.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <xine/xine_internal.h>
#include <xine/buffer.h>
#include <xine/xineutils.h>
#include <xine/video_out.h>
#include <xine/video_overlay.h>
Data Structures | |
struct | subtitle_clut_s |
struct | subtitle_object_s |
struct | window_def_s |
struct | composition_object_s |
struct | composition_descriptor_s |
struct | presentation_segment_s |
struct | segment_buffer_t |
struct | spuhdmv_decoder_s |
Macros | |
#define | LOG_MODULE "spu_hdmv" |
#define | XINE_HDMV_TRACE lprintf |
#define | MAX(a, b) (a>b)?(a):(b) |
#define | LIST_REPLACE(list, obj, FREE_FUNC) |
#define | LIST_DESTROY(list, FREE_FUNC) |
Typedefs | |
typedef struct subtitle_clut_s | subtitle_clut_t |
typedef struct subtitle_object_s | subtitle_object_t |
typedef struct window_def_s | window_def_t |
typedef struct composition_object_s | composition_object_t |
typedef struct composition_descriptor_s | composition_descriptor_t |
typedef struct presentation_segment_s | presentation_segment_t |
typedef struct spuhdmv_decoder_s | spuhdmv_decoder_t |
Enumerations | |
enum | { SEGTYPE_PALETTE = 0x14 , SEGTYPE_OBJECT = 0x15 , SEGTYPE_PRESENTATION_SEGMENT = 0x16 , SEGTYPE_WINDOW_DEFINITION = 0x17 , SEGTYPE_INTERACTIVE = 0x18 , SEGTYPE_END_OF_DISPLAY = 0x80 } |
Variables | |
enum { ... } | eSegmentType |
static const uint32_t | supported_types [] = { BUF_SPU_HDMV, 0 } |
static const decoder_info_t | dec_info_data |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define LIST_DESTROY | ( | list, | |
FREE_FUNC | |||
) |
#define LIST_REPLACE | ( | list, | |
obj, | |||
FREE_FUNC | |||
) |
#define LOG_MODULE "spu_hdmv" |
#define MAX | ( | a, | |
b | |||
) | (a>b)?(a):(b) |
#define XINE_HDMV_TRACE lprintf |
typedef struct composition_descriptor_s composition_descriptor_t |
typedef struct composition_object_s composition_object_t |
typedef struct presentation_segment_s presentation_segment_t |
typedef struct spuhdmv_decoder_s spuhdmv_decoder_t |
typedef struct subtitle_clut_s subtitle_clut_t |
typedef struct subtitle_object_s subtitle_object_t |
typedef struct window_def_s window_def_t |
anonymous enum |
|
static |
References video_overlay_manager_s::free_handle.
Referenced by spudec_discontinuity(), spudec_dispose(), and spudec_reset().
|
static |
References subtitle_object_s::num_rle, and subtitle_object_s::rle.
Referenced by show_overlay().
|
static |
References free_subtitle_object(), LIST_REPLACE, and segbuf_decode_object().
Referenced by decode_segment().
|
static |
References LIST_REPLACE, and segbuf_decode_palette().
Referenced by decode_segment().
|
static |
|
static |
References decode_object(), decode_palette(), decode_presentation_segment(), decode_window_definition(), free_objs(), LOG_MODULE, segbuf_segment_type(), SEGTYPE_END_OF_DISPLAY, SEGTYPE_INTERACTIVE, SEGTYPE_OBJECT, SEGTYPE_PALETTE, SEGTYPE_PRESENTATION_SEGMENT, SEGTYPE_WINDOW_DEFINITION, update_overlays(), XINE_HDMV_TRACE, XINE_VERBOSITY_LOG, and xprintf.
Referenced by spudec_decode_data().
|
static |
References LIST_REPLACE, and segbuf_decode_window_definition().
Referenced by decode_segment().
|
static |
References free_presentation_segment(), free_subtitle_object(), and LIST_DESTROY.
Referenced by decode_presentation_segment(), decode_segment(), spudec_dispose(), and spudec_reset().
|
static |
References presentation_segment_s::comp_objs, and LIST_DESTROY.
Referenced by decode_presentation_segment(), free_objs(), and segbuf_decode_presentation_segment().
|
static |
References _x_freep().
Referenced by decode_object(), free_objs(), and segbuf_decode_object().
|
static |
References video_overlay_manager_s::add_event, metronom_s::got_spu_packet, NULL, OVERLAY_EVENT_HIDE, video_overlay_event_s::vpts, and XINE_HDMV_TRACE.
Referenced by update_overlays().
|
static |
References spu_decoder_s::dispose, NULL, open_plugin(), and spu_decoder_class_s::open_plugin.
|
static |
References NULL, segbuf_init(), spudec_decode_data(), spudec_discontinuity(), spudec_dispose(), and spudec_reset().
Referenced by init_plugin().
|
static |
References segment_buffer_t::segment_data, and segment_buffer_t::segment_end.
Referenced by segbuf_decode_object(), and segbuf_decode_palette().
|
static |
References segment_buffer_t::error, composition_descriptor_s::number, segbuf_get_u16(), segbuf_get_u8(), composition_descriptor_s::state, and XINE_HDMV_TRACE.
Referenced by segbuf_decode_presentation_segment().
|
static |
References composition_object_s::crop_height, composition_object_s::crop_horiz_pos, composition_object_s::crop_vert_pos, composition_object_s::crop_width, composition_object_s::cropped_flag, segment_buffer_t::error, composition_object_s::forced_flag, NULL, composition_object_s::object_id_ref, segbuf_get_u16(), segbuf_get_u8(), composition_object_s::window_id_ref, XINE_HDMV_TRACE, composition_object_s::xpos, and composition_object_s::ypos.
Referenced by segbuf_decode_presentation_segment().
|
static |
References _x_freep(), subtitle_object_s::data_len, segment_buffer_t::error, free_subtitle_object(), subtitle_object_s::height, subtitle_object_s::id, MAX, subtitle_object_s::next, NULL, subtitle_object_s::raw_data, subtitle_object_s::raw_data_len, subtitle_object_s::raw_data_size, segbuf_data_length(), segbuf_decode_rle(), segbuf_get_u16(), segbuf_get_u24(), segbuf_get_u8(), segment_buffer_t::segment_data, subtitle_object_s::width, and XINE_HDMV_TRACE.
Referenced by decode_object().
|
static |
References _X_SET_CLUT_CM, subtitle_clut_s::color, segment_buffer_t::error, subtitle_clut_s::id, NULL, segbuf_data_length(), segbuf_get_u8(), subtitle_clut_s::trans, and XINE_HDMV_TRACE.
Referenced by decode_palette().
|
static |
References presentation_segment_s::comp_descr, presentation_segment_s::comp_objs, segment_buffer_t::error, free_presentation_segment(), composition_object_s::next, NULL, presentation_segment_s::object_number, presentation_segment_s::palette_id_ref, presentation_segment_s::palette_update_flag, segbuf_decode_composition_descriptor(), segbuf_decode_composition_object(), segbuf_decode_video_descriptor(), segbuf_get_u8(), and XINE_HDMV_TRACE.
Referenced by decode_presentation_segment().
|
static |
|
static |
References segment_buffer_t::error, height, segbuf_get_u16(), segbuf_get_u8(), width, and XINE_HDMV_TRACE.
Referenced by segbuf_decode_presentation_segment().
|
static |
References segment_buffer_t::error, window_def_s::height, window_def_s::id, NULL, segbuf_get_u16(), segbuf_get_u8(), window_def_s::width, XINE_HDMV_TRACE, window_def_s::xpos, and window_def_s::ypos.
Referenced by decode_window_definition().
|
static |
References _x_freep(), and segment_buffer_t::buf.
Referenced by spudec_dispose().
|
static |
References segment_buffer_t::buf, segment_buffer_t::data_size, segment_buffer_t::len, and segbuf_parse_segment_header().
Referenced by spudec_decode_data().
|
static |
|
static |
References segbuf_get_u8().
Referenced by segbuf_decode_object().
|
static |
References segment_buffer_t::error, segment_buffer_t::segment_data, segment_buffer_t::segment_end, and XINE_HDMV_TRACE.
Referenced by segbuf_decode_composition_descriptor(), segbuf_decode_composition_object(), segbuf_decode_object(), segbuf_decode_palette(), segbuf_decode_presentation_segment(), segbuf_decode_rle(), segbuf_decode_video_descriptor(), segbuf_decode_window_definition(), segbuf_get_u16(), and segbuf_get_u24().
|
static |
Referenced by open_plugin().
|
static |
References segment_buffer_t::buf, segment_buffer_t::error, segment_buffer_t::len, segbuf_reset(), segment_buffer_t::segment_data, segment_buffer_t::segment_end, segment_buffer_t::segment_len, segment_buffer_t::segment_type, and XINE_HDMV_TRACE.
Referenced by segbuf_fill(), and segbuf_skip_segment().
|
static |
|
static |
References segment_buffer_t::len, and segment_buffer_t::segment_len.
Referenced by segbuf_skip_segment(), and spudec_decode_data().
|
static |
References segment_buffer_t::segment_type.
Referenced by decode_segment().
|
static |
References _x_assert, segment_buffer_t::buf, segment_buffer_t::len, segbuf_parse_segment_header(), segbuf_segment_complete(), segment_buffer_t::segment_len, and XINE_HDMV_TRACE.
Referenced by spudec_decode_data().
|
static |
References video_overlay_manager_s::add_event, vo_overlay_s::color, subtitle_clut_s::color, copy_crop_rle(), vo_overlay_s::data_size, video_overlay_manager_s::get_handle, metronom_s::got_spu_packet, vo_overlay_s::height, subtitle_object_s::height, vo_overlay_s::hili_bottom, vo_overlay_s::hili_left, vo_overlay_s::hili_right, vo_overlay_s::hili_top, subtitle_clut_s::id, subtitle_object_s::id, window_def_s::id, subtitle_clut_s::next, subtitle_object_s::next, window_def_s::next, vo_overlay_s::num_rle, subtitle_object_s::num_rle, composition_object_s::object_id_ref, OVERLAY_EVENT_SHOW, vo_overlay_s::rgb_clut, vo_overlay_s::rle, subtitle_object_s::rle, subtitle_clut_s::shown, subtitle_object_s::shown, window_def_s::shown, composition_object_s::shown, vo_overlay_s::trans, subtitle_clut_s::trans, vo_overlay_s::unscaled, video_overlay_event_s::vpts, vo_overlay_s::width, subtitle_object_s::width, composition_object_s::window_id_ref, vo_overlay_s::x, XINE_HDMV_TRACE, composition_object_s::xpos, vo_overlay_s::y, and composition_object_s::ypos.
Referenced by update_overlays().
|
static |
|
static |
References close_osd().
Referenced by open_plugin().
|
static |
References close_osd(), free_objs(), and segbuf_dispose().
Referenced by open_plugin().
|
static |
References close_osd(), free_objs(), and segbuf_reset().
Referenced by open_plugin().
|
static |
References presentation_segment_s::comp_objs, hide_overlays(), LOG_MODULE, composition_object_s::next, presentation_segment_s::next, presentation_segment_s::object_number, presentation_segment_s::palette_id_ref, presentation_segment_s::pts, show_overlay(), presentation_segment_s::shown, XINE_VERBOSITY_LOG, and xprintf.
Referenced by decode_segment().
|
static |
enum { ... } eSegmentType |
const plugin_info_t xine_plugin_info [] EXPORTED |
|
static |