24 #ifndef LIBVLC_INPUT_DECODER_H 25 #define LIBVLC_INPUT_DECODER_H 1 42 unsigned lost,
unsigned displayed,
45 unsigned lost,
unsigned played,
void *userdata);
void(* vlc_mouse_event)(const vlc_mouse_t *mouse, void *user_data)
Mouse event callback.
Definition: vlc_mouse.h:62
Video picture.
Definition: vlc_picture.h:126
void input_DecoderChangeDelay(decoder_t *, vlc_tick_t i_delay)
This function changes the delay.
Definition: decoder.c:2464
int input_DecoderDelVoutOverlay(decoder_t *, size_t)
Definition: decoder.c:2624
int input_DecoderSetCcState(decoder_t *, vlc_fourcc_t, int i_channel, bool b_decode)
This function activates the request closed caption channel.
Definition: decoder.c:2369
This file is a collection of common definitions and types.
Video subtitle.
Definition: vlc_subpicture.h:166
Definition: vlc_codec.h:207
void input_DecoderStartWait(decoder_t *)
This function makes the decoder start waiting for a valid data block from its fifo.
Definition: decoder.c:2473
int64_t vlc_tick_t
High precision date or time interval.
Definition: vlc_tick.h:45
uint32_t vlc_fourcc_t
Definition: fourcc_gen.c:33
void input_DecoderChangePause(decoder_t *, bool b_paused, vlc_tick_t i_date)
This function changes the pause state.
Definition: decoder.c:2440
Video output thread descriptor.
Definition: vlc_vout.h:60
bool input_DecoderIsEmpty(decoder_t *)
This function returns true if the decoder fifo is empty and false otherwise.
Definition: decoder.c:2257
int input_DecoderAddVoutOverlay(decoder_t *, subpicture_t *, size_t *)
Definition: decoder.c:2593
void input_DecoderChangeRate(decoder_t *dec, float rate)
Changes the decoder rate.
Definition: decoder.c:2455
void input_DecoderSetVoutMouseEvent(decoder_t *, vlc_mouse_event, void *)
Definition: decoder.c:2579
vlc_vout_order
vout or spu_channel order
Definition: vlc_vout.h:78
void input_DecoderWait(decoder_t *)
This function waits for the decoder to actually receive data.
Definition: decoder.c:2499
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.
Definition: decoder.c:2525
Definition: vlc_codec.h:103
void input_DecoderGetCcDesc(decoder_t *, decoder_cc_desc_t *)
This function get cc channels descriptions.
Definition: decoder.c:2339
Stream output instance (FIXME: should be private to src/ to avoid invalid unsynchronized access) ...
Definition: vlc_sout.h:48
size_t input_DecoderGetFifoSize(decoder_t *p_dec)
This function returns the current size in bytes of the decoder fifo.
Definition: decoder.c:2572
void input_DecoderStopWait(decoder_t *)
This function exits the waiting mode of the decoder.
Definition: decoder.c:2487
Decoder and encoder modules interface.
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 chann...
Definition: decoder.c:2426
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...
Definition: decoder.c:2546
VLC object common members.
Definition: vlc_objects.h:43
#define VLC_USED
Definition: fourcc_gen.c:32
decoder_t * input_DecoderNew(vlc_object_t *parent, es_format_t *, vlc_clock_t *, input_resource_t *, sout_instance_t *, bool thumbnailing, const struct input_decoder_callbacks *cbs, void *userdata)
Spawns a new decoder thread from the input thread.
Definition: decoder.c:2149