input.c File Reference

Include dependency graph for input.c:


Functions

static bool fd_dead (int fd)
static block_trtp_dgram_recv (vlc_object_t *obj, int fd)
 Gets a datagram from the network.
static block_trtp_stream_recv (vlc_object_t *obj, int fd)
 Gets a framed RTP packet.
static block_trtp_recv (demux_t *demux)
static void timer_cleanup (void *timer)
static void rtp_process (void *data)
 Process one RTP packet from the de-jitter queue.
void * rtp_thread (void *data)

Function Documentation

static bool fd_dead ( int  fd  )  [static]

References pollfd::fd, poll, POLLHUP, and pollfd::revents.

Referenced by rtp_dgram_recv().

static block_t* rtp_dgram_recv ( vlc_object_t obj,
int  fd 
) [static]

Gets a datagram from the network.

Parameters:
fd datagram file descriptor
Returns:
a block or NULL on fatal error (socket dead)

References block_Alloc(), block_cleanup_push, block_Realloc(), block_Release(), fd_dead(), block_t::i_buffer, net_Read, block_t::p_buffer, vlc_cleanup_pop, and vlc_object_alive.

Referenced by rtp_recv().

static void rtp_process ( void *  data  )  [static]

static block_t* rtp_recv ( demux_t demux  )  [static]

static block_t* rtp_stream_recv ( vlc_object_t obj,
int  fd 
) [static]

Gets a framed RTP packet.

Parameters:
fd stream file descriptor
Returns:
a block or NULL in case of fatal error

References block_Alloc(), block_cleanup_push, block_Release(), GetWBE, i, block_t::i_buffer, net_Read, block_t::p_buffer, and vlc_cleanup_pop.

Referenced by rtp_recv().

void* rtp_thread ( void *  data  ) 

static void timer_cleanup ( void *  timer  )  [static]

References vlc_timer_destroy().

Referenced by rtp_thread().


Generated on Tue May 25 08:05:33 2010 for VLC by  doxygen 1.5.6