
Data Structures | |
| struct | subpicture_updater_sys_t |
Functions | |
| static int | OSDTextValidate (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 | OSDTextUpdate (subpicture_t *subpic, const video_format_t *fmt_src, const video_format_t *fmt_dst, mtime_t ts) |
| static void | OSDTextDestroy (subpicture_t *subpic) |
| void | vout_OSDText (vout_thread_t *vout, int channel, int position, mtime_t duration, const char *text) |
| Write an informative message if the OSD option is enabled. | |
| void | vout_OSDMessage (vout_thread_t *vout, int channel, const char *format,...) |
| Write an informative message at the default location, for the default duration and only if the OSD option is enabled. | |
| static void OSDTextDestroy | ( | subpicture_t * | subpic | ) | [static] |
References subpicture_updater_t::p_sys, subpicture_updater_sys_t::text, and subpicture_t::updater.
| static void OSDTextUpdate | ( | subpicture_t * | subpic, | |
| const video_format_t * | fmt_src, | |||
| const video_format_t * | fmt_dst, | |||
| mtime_t | ts | |||
| ) | [static] |
References subpicture_t::b_absolute, fmt, subpicture_region_t::i_align, 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_height, video_format_t::i_visible_width, video_format_t::i_width, subpicture_region_t::i_x, video_format_t::i_x_offset, subpicture_region_t::i_y, video_format_t::i_y_offset, subpicture_t::p_region, subpicture_updater_t::p_sys, subpicture_updater_sys_t::position, subpicture_region_t::psz_text, strdup(), SUBPICTURE_ALIGN_BOTTOM, SUBPICTURE_ALIGN_LEFT, SUBPICTURE_ALIGN_RIGHT, SUBPICTURE_ALIGN_TOP, subpicture_region_New(), subpicture_updater_sys_t::text, subpicture_t::updater, video_format_Init(), VLC_CODEC_TEXT, and VLC_UNUSED.
| static int OSDTextValidate | ( | 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] |
References VLC_UNUSED.
| void vout_OSDMessage | ( | vout_thread_t * | , | |
| int | , | |||
| const char * | , | |||
| ... | ||||
| ) |
Write an informative message at the default location, for the default duration and only if the OSD option is enabled.
| vout | The vout on which the message will be displayed | |
| channel | Subpicture channel | |
| format | printf style formatting |
Provided for convenience.
References SUBPICTURE_ALIGN_RIGHT, SUBPICTURE_ALIGN_TOP, va_end(), va_start(), vasprintf(), and vout_OSDText().
Referenced by VoutOsdSnapshot().
| void vout_OSDText | ( | vout_thread_t * | vout, | |
| int | channel, | |||
| int | position, | |||
| mtime_t | duration, | |||
| const char * | text | |||
| ) |
Write an informative message if the OSD option is enabled.
| vout | The vout on which the message will be displayed | |
| channel | Subpicture channel | |
| position | Position of the text | |
| duration | Duration of the text being displayed | |
| text | Text to be displayed |
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(), subpicture_updater_sys_t::position, strdup(), SUBPICTURE_ALIGN_MASK, subpicture_New(), subpicture_updater_sys_t::text, var_InheritBool, and vout_PutSubpicture().
Referenced by ThreadDisplayOsdTitle(), and vout_OSDMessage().
1.7.1