|
VLC
3.0.22-rc1
|

Go to the source code of this file.
Functions | |
| decoder_t * | input_DecoderNew (input_thread_t *, es_format_t *, input_clock_t *, sout_instance_t *) |
| Spawns a new decoder thread from the input thread. More... | |
| void | input_DecoderChangePause (decoder_t *, bool b_paused, vlc_tick_t i_date) |
| This function changes the pause state. More... | |
| void | input_DecoderChangeDelay (decoder_t *, vlc_tick_t i_delay) |
| This function changes the delay. More... | |
| void | input_DecoderStartWait (decoder_t *) |
| This function makes the decoder start waiting for a valid data block from its fifo. More... | |
| void | input_DecoderWait (decoder_t *) |
| This function waits for the decoder to actually receive data. More... | |
| void | input_DecoderStopWait (decoder_t *) |
| This function exits the waiting mode of the decoder. More... | |
| bool | input_DecoderIsEmpty (decoder_t *) |
| This function returns true if the decoder fifo is empty and false otherwise. More... | |
| int | input_DecoderSetCcState (decoder_t *, vlc_fourcc_t, int i_channel, bool b_decode) |
| This function activates the request closed caption channel. More... | |
| int | input_DecoderGetCcState (decoder_t *, vlc_fourcc_t, int i_channel, bool *pb_decode) |
| This function returns an error if the requested channel does not exist and set pb_decode to the channel status(active or not) otherwise. More... | |
| void | input_DecoderGetCcDesc (decoder_t *, decoder_cc_desc_t *) |
| This function get cc channels descriptions. More... | |
| void | input_DecoderFrameNext (decoder_t *p_dec, vlc_tick_t *pi_duration) |
| This function force the display of the next picture and fills the stream time consumed. More... | |
| bool | input_DecoderHasFormatChanged (decoder_t *p_dec, es_format_t *p_fmt, vlc_meta_t **pp_meta) |
| This function will return true if the ES format or meta data have changed since the last call. More... | |
| size_t | input_DecoderGetFifoSize (decoder_t *p_dec) |
| This function returns the current size in bytes of the decoder fifo. More... | |
| void | input_DecoderGetObjects (decoder_t *, vout_thread_t **, audio_output_t **) |
| This function returns the objects associated to a decoder. More... | |
| void input_DecoderChangeDelay | ( | decoder_t * | , |
| vlc_tick_t | i_delay | ||
| ) |
This function changes the delay.
| void input_DecoderChangePause | ( | decoder_t * | , |
| bool | b_paused, | ||
| vlc_tick_t | i_date | ||
| ) |
This function changes the pause state.
The date parameter MUST hold the exact date at which the change has been done for proper vout/aout pausing.
| void input_DecoderFrameNext | ( | decoder_t * | p_dec, |
| vlc_tick_t * | pi_duration | ||
| ) |
This function force the display of the next picture and fills the stream time consumed.
| void input_DecoderGetCcDesc | ( | decoder_t * | , |
| decoder_cc_desc_t * | |||
| ) |
This function get cc channels descriptions.
Referenced by EsOutSend().
| int input_DecoderGetCcState | ( | decoder_t * | , |
| vlc_fourcc_t | , | ||
| int | i_channel, | ||
| bool * | pb_decode | ||
| ) |
This function returns an error if the requested channel does not exist and set pb_decode to the channel status(active or not) otherwise.
< Unspecified error
< No error
| size_t input_DecoderGetFifoSize | ( | decoder_t * | p_dec | ) |
This function returns the current size in bytes of the decoder fifo.
| void input_DecoderGetObjects | ( | decoder_t * | , |
| vout_thread_t ** | , | ||
| audio_output_t ** | |||
| ) |
This function returns the objects associated to a decoder.
They must be released using vlc_object_release().
Referenced by EsOutControlLocked().
| bool input_DecoderHasFormatChanged | ( | decoder_t * | p_dec, |
| es_format_t * | p_fmt, | ||
| vlc_meta_t ** | pp_meta | ||
| ) |
This function will return true if the ES format or meta data have changed since the last call.
In which case, it will do a copy of the current es_format_t if p_fmt is not NULL and will do a copy of the current description if pp_meta is non NULL. The es_format_t MUST be freed by es_format_Clean and *pp_meta MUST be freed by vlc_meta_Delete. Otherwise it will return false and will not initialize p_fmt and *pp_meta.
Referenced by EsOutSend().
| bool input_DecoderIsEmpty | ( | decoder_t * | ) |
This function returns true if the decoder fifo is empty and false otherwise.
Referenced by EsOutControlLocked().
| decoder_t* input_DecoderNew | ( | input_thread_t * | p_input, |
| es_format_t * | fmt, | ||
| input_clock_t * | p_clock, | ||
| sout_instance_t * | p_sout | ||
| ) |
Spawns a new decoder thread from the input thread.
| p_input | the input thread |
| p_es | the es descriptor |
References decoder_New(), input_priv(), and VLC_OBJECT.
| int input_DecoderSetCcState | ( | decoder_t * | , |
| vlc_fourcc_t | , | ||
| int | i_channel, | ||
| bool | b_decode | ||
| ) |
This function activates the request closed caption channel.
< Unspecified error
< Unspecified error
< Unspecified error
< No error
Referenced by input_DecoderDelete().
| void input_DecoderStartWait | ( | decoder_t * | ) |
This function makes the decoder start waiting for a valid data block from its fifo.
| void input_DecoderStopWait | ( | decoder_t * | ) |
This function exits the waiting mode of the decoder.
| void input_DecoderWait | ( | decoder_t * | ) |
This function waits for the decoder to actually receive data.
1.8.16