VLC  4.0.0-dev
Modules | Files | Data Structures | Macros | Typedefs | Functions
Collaboration diagram for Sub-picture channels:

Modules

 On-screen display
 

Files

file  vlc_spu.h
 

Data Structures

struct  spu_t
 Subpicture unit descriptor. More...
 

Macros

#define spu_Create(a, b)   spu_Create(VLC_OBJECT(a),b)
 

Typedefs

typedef struct spu_private_t spu_private_t
 

Functions

spu_tspu_Create (vlc_object_t *, vout_thread_t *)
 Creates the subpicture unit. More...
 
void spu_Destroy (spu_t *)
 Destroy the subpicture unit. More...
 
void spu_PutSubpicture (spu_t *, subpicture_t *)
 This function sends a subpicture to the spu_t core. More...
 
subpicture_tspu_Render (spu_t *, const vlc_fourcc_t *p_chroma_list, const video_format_t *p_fmt_dst, const video_format_t *p_fmt_src, vlc_tick_t system_now, vlc_tick_t pts, bool ignore_osd, bool external_scale)
 This function will return an unique subpicture containing the OSD and subtitles visibles at the requested date. More...
 
ssize_t spu_RegisterChannel (spu_t *)
 It registers a new SPU channel. More...
 
void spu_UnregisterChannel (spu_t *, size_t)
 
void spu_ClearChannel (spu_t *, size_t)
 It clears all subpictures associated to a SPU channel. More...
 
void spu_ChangeSources (spu_t *, const char *)
 It changes the sub sources list. More...
 
void spu_ChangeFilters (spu_t *, const char *)
 It changes the sub filters list. More...
 

Detailed Description

Macro Definition Documentation

◆ spu_Create

#define spu_Create (   a,
 
)    spu_Create(VLC_OBJECT(a),b)

Referenced by vout_Create().

Typedef Documentation

◆ spu_private_t

typedef struct spu_private_t spu_private_t

Function Documentation

◆ spu_ChangeFilters()

void spu_ChangeFilters ( spu_t ,
const char *   
)

◆ spu_ChangeSources()

void spu_ChangeSources ( spu_t ,
const char *   
)

◆ spu_ClearChannel()

void spu_ClearChannel ( spu_t ,
size_t   
)

◆ spu_Create()

spu_t* spu_Create ( vlc_object_t object,
vout_thread_t vout 
)

◆ spu_Destroy()

void spu_Destroy ( spu_t spu)

Destroy the subpicture unit.

Parameters
p_thisthe parent object which destroys the subpicture unit

References spu_t::p, spu_private_t::prerender, spu_Cleanup(), spu_private_t::thread, vlc_cancel(), vlc_join(), and vlc_object_delete.

Referenced by vout_Close(), and vout_Create().

◆ spu_PutSubpicture()

void spu_PutSubpicture ( spu_t spu,
subpicture_t subpic 
)

◆ spu_RegisterChannel()

ssize_t spu_RegisterChannel ( spu_t )

It registers a new SPU channel.

References spu_RegisterChannelInternal().

Referenced by SubSourceInit(), and vout_RegisterSubpictureChannel().

◆ spu_Render()

subpicture_t* spu_Render ( spu_t ,
const vlc_fourcc_t p_chroma_list,
const video_format_t p_fmt_dst,
const video_format_t p_fmt_src,
vlc_tick_t  system_now,
vlc_tick_t  pts,
bool  ignore_osd,
bool  external_scale 
)

◆ spu_UnregisterChannel()

void spu_UnregisterChannel ( spu_t ,
size_t   
)