26 #ifndef VLC_SUBPICTURE_H
27 #define VLC_SUBPICTURE_H 1
35 #include <vlc_text_style.h>
77 #define SUBPICTURE_ALIGN_LEFT 0x1
78 #define SUBPICTURE_ALIGN_RIGHT 0x2
79 #define SUBPICTURE_ALIGN_TOP 0x4
80 #define SUBPICTURE_ALIGN_BOTTOM 0x8
81 #define SUBPICTURE_ALIGN_LEAVETEXT 0x10
82 #define SUBPICTURE_ALIGN_MASK ( SUBPICTURE_ALIGN_LEFT|SUBPICTURE_ALIGN_RIGHT| \
83 SUBPICTURE_ALIGN_TOP |SUBPICTURE_ALIGN_BOTTOM| \
84 SUBPICTURE_ALIGN_LEAVETEXT )
111 typedef struct subpicture_updater_sys_t subpicture_updater_sys_t;
123 subpicture_updater_sys_t *p_sys;
126 typedef struct subpicture_private_t subpicture_private_t;
175 subpicture_private_t *p_private;
bool b_fade
Definition: vlc_subpicture.h:158
int i_alpha
Definition: vlc_subpicture.h:65
Definition: vlc_picture.h:69
video_format_t fmt
Definition: vlc_subpicture.h:59
Definition: vlc_subpicture.h:57
VLC_API void subpicture_Update(subpicture_t *, const video_format_t *src, const video_format_t *, mtime_t)
subpicture_region_t * p_next
Definition: vlc_subpicture.h:72
picture_t * p_picture
Definition: vlc_subpicture.h:60
text_style_t * p_style
Definition: vlc_subpicture.h:69
VLC_API subpicture_t * subpicture_New(const subpicture_updater_t *)
Definition: vlc_subpicture.h:136
char * psz_html
Definition: vlc_subpicture.h:68
bool b_subtitle
Definition: vlc_subpicture.h:166
bool b_ephemer
Definition: vlc_subpicture.h:156
int i_y
Definition: vlc_subpicture.h:63
bool b_absolute
Definition: vlc_subpicture.h:167
int i_original_picture_width
Definition: vlc_subpicture.h:168
mtime_t i_stop
Definition: vlc_subpicture.h:155
VLC_API void subpicture_Delete(subpicture_t *p_subpic)
subpicture_t * p_next
Definition: vlc_subpicture.h:147
mtime_t i_start
Definition: vlc_subpicture.h:154
bool b_renderbg
Definition: vlc_subpicture.h:70
VLC_API void subpicture_region_Delete(subpicture_region_t *p_region)
char * psz_text
Definition: vlc_subpicture.h:67
struct subpicture_region_private_t subpicture_region_private_t
Definition: vlc_subpicture.h:48
int i_original_picture_height
Definition: vlc_subpicture.h:169
Definition: vlc_text_style.h:39
subpicture_region_t * p_region
Definition: vlc_subpicture.h:150
subpicture_region_private_t * p_private
Definition: vlc_subpicture.h:73
int64_t mtime_t
Definition: vlc_common.h:153
uint32_t vlc_fourcc_t
Definition: vlc_common.h:160
VLC_API subpicture_t * subpicture_NewFromPicture(vlc_object_t *, picture_t *, vlc_fourcc_t i_chroma)
Definition: vlc_subpicture.h:112
VLC_API subpicture_region_t * subpicture_region_New(const video_format_t *p_fmt)
int i_align
Definition: vlc_subpicture.h:64
int i_alpha
Definition: vlc_subpicture.h:170
Definition: vlc_objects.h:42
int i_channel
Definition: vlc_subpicture.h:140
VLC_API void subpicture_region_ChainDelete(subpicture_region_t *p_head)
int i_x
Definition: vlc_subpicture.h:62