VLC  4.0.0-dev
Functions
resource.h File Reference
Include dependency graph for resource.h:

Go to the source code of this file.

Functions

void input_resource_SetInput (input_resource_t *, input_thread_t *)
 This function set the associated input. More...
 
sout_stream_tinput_resource_RequestSout (input_resource_t *, const char *)
 This function handles sout request. More...
 
void input_resource_PutSout (input_resource_t *, sout_stream_t *)
 
vout_thread_tinput_resource_RequestVout (input_resource_t *, vlc_video_context *, const vout_configuration_t *, enum vlc_vout_order *order, bool *has_started)
 
void input_resource_PutVout (input_resource_t *, vout_thread_t *, bool *has_stopped)
 
vout_thread_tinput_resource_HoldVout (input_resource_t *)
 This function returns one of the current vout if any. More...
 
vout_thread_tinput_resource_HoldDummyVout (input_resource_t *)
 This function returns the dummy vout. More...
 
void input_resource_HoldVouts (input_resource_t *, vout_thread_t ***, size_t *)
 This function returns all current vouts if any. More...
 
void input_resource_StopFreeVout (input_resource_t *)
 
input_resource_tinput_resource_Hold (input_resource_t *)
 This function holds the input_resource_t itself. More...
 
void input_resource_ResetAout (input_resource_t *)
 

Function Documentation

◆ input_resource_Hold()

input_resource_t* input_resource_Hold ( input_resource_t p_resource)

This function holds the input_resource_t itself.

References input_resource_t::rc, and vlc_atomic_rc_inc().

Referenced by Create().

◆ input_resource_HoldDummyVout()

vout_thread_t* input_resource_HoldDummyVout ( input_resource_t p_resource)

This function returns the dummy vout.

It will be the parent of the future main vout and can be used to pre-configure it.

References input_resource_t::p_vout_dummy, and vout_Hold().

Referenced by vlc_player_vout_Hold(), and vlc_player_vout_HoldAll().

◆ input_resource_HoldVout()

vout_thread_t* input_resource_HoldVout ( input_resource_t p_resource)

This function returns one of the current vout if any.

You must call vout_Release() on the value returned (if non NULL).

References input_resource_t::lock_hold, resource_GetFirstVoutRsc, vlc_mutex_lock(), vlc_mutex_unlock(), vout_resource::vout, and vout_Hold().

Referenced by ModuleThread_NewSpuBuffer(), vlc_player_vout_Hold(), and vlc_player_vout_TriggerOption().

◆ input_resource_HoldVouts()

void input_resource_HoldVouts ( input_resource_t p_resource,
vout_thread_t ***  ppp_vout,
size_t *  pi_vout 
)

◆ input_resource_PutSout()

void input_resource_PutSout ( input_resource_t resource,
sout_stream_t sout 
)

◆ input_resource_PutVout()

void input_resource_PutVout ( input_resource_t p_resource,
vout_thread_t vout,
bool *  has_stopped 
)

◆ input_resource_RequestSout()

sout_stream_t* input_resource_RequestSout ( input_resource_t p_resource,
const char *  psz_sout 
)

◆ input_resource_RequestVout()

vout_thread_t* input_resource_RequestVout ( input_resource_t p_resource,
vlc_video_context vctx,
const vout_configuration_t cfg,
enum vlc_vout_order order,
bool *  has_started 
)

◆ input_resource_ResetAout()

void input_resource_ResetAout ( input_resource_t p_resource)

◆ input_resource_SetInput()

void input_resource_SetInput ( input_resource_t p_resource,
input_thread_t p_input 
)

◆ input_resource_StopFreeVout()

void input_resource_StopFreeVout ( input_resource_t p_resource)