VLC 4.0.0-dev
|
Data Structures | |
struct | epg_spu_updater_sys_t |
Macros | |
#define | OSDEPG_MARGIN 0.025 |
#define | OSDEPG_MARGINS (OSDEPG_MARGIN * 2) |
#define | OSDEPG_PADDING 0.05 /* inner margins */ |
#define | OSDEPG_WIDTH (1.0 - OSDEPG_MARGINS) |
#define | OSDEPG_HEIGHT 0.25 |
#define | OSDEPG_LEFT OSDEPG_MARGIN |
#define | OSDEPG_TOP (1.0 - OSDEPG_MARGINS - OSDEPG_HEIGHT + OSDEPG_MARGIN) |
#define | OSDEPG_ROWS_COUNT 10 |
#define | OSDEPG_ROW_HEIGHT (1.0 / OSDEPG_ROWS_COUNT) |
#define | OSDEPG_LOGO_SIZE (OSDEPG_HEIGHT) |
#define | OSDEPG_RIGHT (1.0 - OSDEPG_MARGIN) |
#define | OSDEPG_ROWS(x) (OSDEPG_ROW_HEIGHT * x) |
#define | OSDEPG_ROW(x) (OSDEPG_ROWS(x)) |
#define | EPGOSD_TEXTSIZE_NAME (OSDEPG_ROWS(2)) |
#define | EPGOSD_TEXTSIZE_PROG (OSDEPG_ROWS(2)) |
#define | EPGOSD_TEXTSIZE_NTWK (OSDEPG_ROWS(2)) |
#define | RGB_COLOR1 0xf48b00 |
#define | ARGB_BGCOLOR 0xC0333333 |
#define | GRADIENT_COLORS 40 |
Functions | |
static char * | GetDefaultArtUri (void) |
static subpicture_region_t * | vout_OSDBackground (int x, int y, int width, int height, uint32_t i_argb) |
static subpicture_region_t * | vout_OSDEpgSlider (int x, int y, int width, int height, float ratio) |
static void | vout_OSDSegmentSetNoWrap (text_segment_t *p_segment) |
static text_segment_t * | vout_OSDSegment (const char *psz_text, int size, uint32_t color) |
static subpicture_region_t * | vout_OSDImage (vlc_object_t *p_obj, int x, int y, int w, int h, const char *psz_uri) |
static void | vout_OSDRegionConstrain (subpicture_region_t *p_region, int w, int h) |
static subpicture_region_t * | vout_OSDTextRegion (text_segment_t *p_segment, int x, int y) |
static subpicture_region_t * | vout_OSDEpgText (const char *text, int x, int y, int size, uint32_t color) |
static char * | vout_OSDPrintTime (time_t t) |
static subpicture_region_t * | vout_OSDEpgEvent (const vlc_epg_event_t *p_evt, int x, int y, int size) |
static void | vout_FillRightPanel (epg_spu_updater_sys_t *p_sys, int x, int y, int width, int height, int rx, int ry, subpicture_region_t **last_ptr) |
static subpicture_region_t * | vout_BuildOSDEpg (epg_spu_updater_sys_t *p_sys, int x, int y, int visible_width, int visible_height) |
static int | OSDEpgValidate (subpicture_t *subpic, bool has_src_changed, const video_format_t *fmt_src, bool has_dst_changed, const video_format_t *fmt_dst, vlc_tick_t ts) |
static void | OSDEpgUpdate (subpicture_t *subpic, const video_format_t *fmt_src, const video_format_t *fmt_dst, vlc_tick_t ts) |
static void | OSDEpgDestroy (subpicture_t *subpic) |
int | vout_OSDEpg (vout_thread_t *vout, input_item_t *input) |
Show EPG information about the current program of an input item. More... | |
#define ARGB_BGCOLOR 0xC0333333 |
#define EPGOSD_TEXTSIZE_NAME (OSDEPG_ROWS(2)) |
#define EPGOSD_TEXTSIZE_NTWK (OSDEPG_ROWS(2)) |
#define EPGOSD_TEXTSIZE_PROG (OSDEPG_ROWS(2)) |
#define GRADIENT_COLORS 40 |
#define OSDEPG_HEIGHT 0.25 |
#define OSDEPG_LEFT OSDEPG_MARGIN |
#define OSDEPG_LOGO_SIZE (OSDEPG_HEIGHT) |
#define OSDEPG_MARGIN 0.025 |
#define OSDEPG_MARGINS (OSDEPG_MARGIN * 2) |
#define OSDEPG_PADDING 0.05 /* inner margins */ |
#define OSDEPG_RIGHT (1.0 - OSDEPG_MARGIN) |
#define OSDEPG_ROW | ( | x | ) | (OSDEPG_ROWS(x)) |
#define OSDEPG_ROW_HEIGHT (1.0 / OSDEPG_ROWS_COUNT) |
#define OSDEPG_ROWS | ( | x | ) | (OSDEPG_ROW_HEIGHT * x) |
#define OSDEPG_ROWS_COUNT 10 |
#define OSDEPG_TOP (1.0 - OSDEPG_MARGINS - OSDEPG_HEIGHT + OSDEPG_MARGIN) |
#define OSDEPG_WIDTH (1.0 - OSDEPG_MARGINS) |
#define RGB_COLOR1 0xf48b00 |
|
static |
References config_GetSysPath(), vlc_path2uri(), and VLC_SYSDATA_DIR.
Referenced by vout_OSDEpg().
|
static |
References epg_spu_updater_sys_t::art, epg_spu_updater_sys_t::epg, subpicture_updater_t::p_sys, subpicture_t::updater, and vlc_epg_Delete().
Referenced by vout_OSDEpg().
|
static |
References subpicture_t::i_original_picture_height, subpicture_t::i_original_picture_width, video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_width, video_format_t::i_x_offset, video_format_t::i_y_offset, subpicture_t::p_region, subpicture_updater_t::p_sys, subpicture_t::updater, VLC_UNUSED, and vout_BuildOSDEpg().
Referenced by vout_OSDEpg().
|
static |
References VLC_EGENERIC, VLC_SUCCESS, and VLC_UNUSED.
Referenced by vout_OSDEpg().
|
static |
References ARGB_BGCOLOR, epg_spu_updater_sys_t::art, epg_spu_updater_sys_t::obj, OSDEPG_HEIGHT, OSDEPG_LEFT, OSDEPG_LOGO_SIZE, OSDEPG_PADDING, OSDEPG_TOP, OSDEPG_WIDTH, subpicture_region_t::p_next, RGB_COLOR1, vout_FillRightPanel(), vout_OSDBackground(), and vout_OSDImage().
Referenced by OSDEpgUpdate().
|
static |
References epg_spu_updater_sys_t::epg, EPGOSD_TEXTSIZE_NAME, EPGOSD_TEXTSIZE_NTWK, EPGOSD_TEXTSIZE_PROG, vlc_epg_event_t::i_duration, vlc_epg_t::i_event, vlc_epg_event_t::i_id, vlc_epg_event_t::i_start, OSDEPG_ROW, OSDEPG_ROWS, vlc_epg_t::p_current, subpicture_region_t::p_next, vlc_epg_t::pp_event, vlc_epg_t::psz_name, RGB_COLOR1, SUBPICTURE_ALIGN_RIGHT, SUBPICTURE_ALIGN_TOP, epg_spu_updater_sys_t::time, VLC_UNUSED, vout_OSDEpgEvent(), vout_OSDEpgSlider(), vout_OSDEpgText(), vout_OSDPrintTime(), and vout_OSDRegionConstrain().
Referenced by vout_BuildOSDEpg().
|
static |
References GRADIENT_COLORS, subpicture_region_t::i_align, video_palette_t::i_entries, video_format_t::i_height, video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_width, subpicture_region_t::i_x, subpicture_region_t::i_y, picture_t::p, video_format_t::p_palette, subpicture_region_t::p_picture, spuregion_CreateVGradientFill(), spuregion_CreateVGradientPalette(), SUBPICTURE_ALIGN_LEFT, SUBPICTURE_ALIGN_TOP, subpicture_region_New(), video_format_Init(), and VLC_CODEC_YUVP.
Referenced by vout_BuildOSDEpg().
|
static |
|
static |
References HEX2YUV, subpicture_region_t::i_align, video_palette_t::i_entries, video_format_t::i_height, plane_t::i_pitch, video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_width, subpicture_region_t::i_x, subpicture_region_t::i_y, picture_t::p, video_format_t::p_palette, subpicture_region_t::p_picture, plane_t::p_pixels, RGB_COLOR1, SUBPICTURE_ALIGN_LEFT, SUBPICTURE_ALIGN_TOP, subpicture_region_New(), video_format_Init(), VLC_CLIP, and VLC_CODEC_YUVP.
Referenced by vout_FillRightPanel().
|
static |
References vout_OSDSegment(), and vout_OSDTextRegion().
Referenced by vout_FillRightPanel().
|
static |
References subpicture_region_t::i_align, video_format_t::i_height, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_width, subpicture_region_t::i_x, subpicture_region_t::i_y, spuregion_CreateFromPicture(), SUBPICTURE_ALIGN_LEFT, SUBPICTURE_ALIGN_TOP, video_format_Init(), and VLC_CODEC_YUVA.
Referenced by vout_BuildOSDEpg().
|
static |
References asprintf(), and localtime_r().
Referenced by vout_FillRightPanel(), and vout_OSDEpgEvent().
|
static |
References subpicture_region_t::i_max_height, and subpicture_region_t::i_max_width.
Referenced by vout_FillRightPanel().
|
static |
References text_style_t::i_features, text_style_t::i_font_alpha, text_style_t::i_font_color, text_style_t::i_font_size, text_style_t::i_outline_alpha, text_style_t::i_shadow_alpha, text_segment_t::style, STYLE_ALPHA_OPAQUE, STYLE_ALPHA_TRANSPARENT, STYLE_HAS_FONT_ALPHA, STYLE_HAS_FONT_COLOR, STYLE_HAS_OUTLINE_ALPHA, STYLE_HAS_SHADOW_ALPHA, STYLE_NO_DEFAULTS, text_segment_Delete(), text_segment_New(), text_style_Create(), and unlikely.
Referenced by vout_OSDEpgEvent(), and vout_OSDEpgText().
|
static |
References text_style_t::e_wrapinfo, text_style_t::i_features, text_segment_t::p_next, text_segment_t::style, and STYLE_HAS_WRAP_INFO.
Referenced by vout_OSDEpgEvent().
|
static |
References subpicture_region_t::b_balanced_text, subpicture_region_t::i_align, video_format_t::i_sar_den, video_format_t::i_sar_num, subpicture_region_t::i_text_align, subpicture_region_t::i_x, subpicture_region_t::i_y, subpicture_region_t::p_text, SUBPICTURE_ALIGN_LEFT, SUBPICTURE_ALIGN_TOP, subpicture_region_New(), video_format_Init(), and VLC_CODEC_TEXT.
Referenced by vout_OSDEpgEvent(), and vout_OSDEpgText().