|
VLC
2.1.0-git
|

Data Structures | |
| struct | subpicture_updater_sys_t |
Macros | |
| #define | STYLE_EMPTY 0 |
| #define | STYLE_FILLED 1 |
Functions | |
| static void | DrawRect (subpicture_region_t *r, int fill, int x1, int y1, int x2, int y2) |
| Draws a rectangle at the given position in the region. | |
| static void | DrawTriangle (subpicture_region_t *r, int fill, int x1, int y1, int x2, int y2) |
| Draws a triangle at the given position in the region. | |
| static subpicture_region_t * | OSDRegion (int x, int y, int width, int height) |
| Create a region with a white transparent picture. | |
| static subpicture_region_t * | OSDSlider (int type, int position, const video_format_t *fmt) |
| Create the region for an OSD slider. | |
| static subpicture_region_t * | OSDIcon (int type, const video_format_t *fmt) |
| Create the region for an OSD slider. | |
| static int | OSDWidgetValidate (subpicture_t *subpic, bool has_src_changed, const video_format_t *fmt_src, bool has_dst_changed, const video_format_t *fmt_dst, mtime_t ts) |
| static void | OSDWidgetUpdate (subpicture_t *subpic, const video_format_t *fmt_src, const video_format_t *fmt_dst, mtime_t ts) |
| static void | OSDWidgetDestroy (subpicture_t *subpic) |
| static void | OSDWidget (vout_thread_t *vout, int channel, int type, int position) |
| void | vout_OSDSlider (vout_thread_t *vout, int channel, int position, short type) |
| Display a slider on the video output. | |
| void | vout_OSDIcon (vout_thread_t *vout, int channel, short type) |
| Display an Icon on the video output. | |
| #define STYLE_EMPTY 0 |
Referenced by OSDSlider().
| #define STYLE_FILLED 1 |
Referenced by DrawRect(), DrawTriangle(), OSDIcon(), and OSDSlider().
|
static |
Draws a rectangle at the given position in the region.
It may be filled (fill == STYLE_FILLED) or empty (fill == STYLE_EMPTY).
References plane_t::i_pitch, picture_t::p, subpicture_region_t::p_picture, plane_t::p_pixels, and STYLE_FILLED.
Referenced by OSDIcon(), and OSDSlider().
|
static |
Draws a triangle at the given position in the region.
It may be filled (fill == STYLE_FILLED) or empty (fill == STYLE_EMPTY).
References plane_t::i_pitch, picture_t::p, subpicture_region_t::p_picture, plane_t::p_pixels, and STYLE_FILLED.
Referenced by OSDIcon().
|
static |
Create the region for an OSD slider.
Types are: OSD_PLAY_ICON, OSD_PAUSE_ICON, OSD_SPEAKER_ICON, OSD_MUTE_ICON
References DrawRect(), DrawTriangle(), video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_x_offset, video_format_t::i_y_offset, OSD_MUTE_ICON, OSD_PAUSE_ICON, OSD_PLAY_ICON, OSDRegion(), subpicture_region_t::p_picture, and STYLE_FILLED.
Referenced by OSDWidgetUpdate().
|
static |
Create a region with a white transparent picture.
References 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, subpicture_region_New(), video_format_Init(), and VLC_CODEC_YUVP.
Referenced by OSDIcon(), and OSDSlider().
|
static |
Create the region for an OSD slider.
Types are: OSD_HOR_SLIDER and OSD_VERT_SLIDER.
References DrawRect(), video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_x_offset, video_format_t::i_y_offset, OSD_HOR_SLIDER, OSDRegion(), STYLE_EMPTY, and STYLE_FILLED.
Referenced by OSDWidgetUpdate().
|
static |
References subpicture_t::b_absolute, subpicture_t::b_ephemer, subpicture_t::b_fade, subpicture_t::i_channel, subpicture_t::i_start, subpicture_t::i_stop, mdate(), OSD_HOR_SLIDER, OSD_VERT_SLIDER, OSDWidgetDestroy(), OSDWidgetUpdate(), OSDWidgetValidate(), subpicture_updater_t::pf_validate, subpicture_updater_sys_t::position, subpicture_New(), subpicture_updater_sys_t::type, var_InheritBool, VLC_CLIP, and vout_PutSubpicture().
Referenced by vout_OSDIcon(), and vout_OSDSlider().
|
static |
References subpicture_updater_t::p_sys, and subpicture_t::updater.
Referenced by OSDWidget().
|
static |
References video_format_t::i_height, 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_width, video_format_t::i_width, video_format_t::i_x_offset, OSD_HOR_SLIDER, OSD_VERT_SLIDER, OSDIcon(), OSDSlider(), subpicture_t::p_region, subpicture_updater_t::p_sys, subpicture_updater_sys_t::position, subpicture_updater_sys_t::type, subpicture_t::updater, and VLC_UNUSED.
Referenced by OSDWidget().
|
static |
< No error
< Unspecified error
References VLC_EGENERIC, VLC_SUCCESS, and VLC_UNUSED.
Referenced by OSDWidget().
| void vout_OSDIcon | ( | vout_thread_t * | , |
| int | , | ||
| short | |||
| ) |
Display an Icon on the video output.
| p_this | The object that called the function. |
| i_channel | Subpicture channel |
| i_type | Types are: OSD_PLAY_ICON, OSD_PAUSE_ICON, OSD_SPEAKER_ICON, OSD_MUTE_ICON |
References OSDWidget().
| void vout_OSDSlider | ( | vout_thread_t * | , |
| int | , | ||
| int | , | ||
| short | |||
| ) |
Display a slider on the video output.
| p_this | The object that called the function. |
| i_channel | Subpicture channel |
| i_postion | Current position in the slider |
| i_type | Types are: OSD_HOR_SLIDER and OSD_VERT_SLIDER. |
References OSDWidget().
1.8.1.2