hdhomerun_video.c File Reference

Go to the source code of this file.

Classes

struct  hdhomerun_video_sock_t

Functions

static THREAD_FUNC_PREFIX hdhomerun_video_thread_execute (void *arg)
struct hdhomerun_video_sock_thdhomerun_video_create (uint16_t listen_port, bool_t allow_port_reuse, size_t buffer_size, struct hdhomerun_debug_t *dbg)
void hdhomerun_video_destroy (struct hdhomerun_video_sock_t *vs)
hdhomerun_sock_t hdhomerun_video_get_sock (struct hdhomerun_video_sock_t *vs)
uint16_t hdhomerun_video_get_local_port (struct hdhomerun_video_sock_t *vs)
int hdhomerun_video_join_multicast_group (struct hdhomerun_video_sock_t *vs, uint32_t multicast_ip, uint32_t local_ip)
int hdhomerun_video_leave_multicast_group (struct hdhomerun_video_sock_t *vs)
static void hdhomerun_video_stats_ts_pkt (struct hdhomerun_video_sock_t *vs, uint8_t *ptr)
static void hdhomerun_video_parse_rtp (struct hdhomerun_video_sock_t *vs, struct hdhomerun_pkt_t *pkt)
uint8_thdhomerun_video_recv (struct hdhomerun_video_sock_t *vs, size_t max_size, size_t *pactual_size)
void hdhomerun_video_flush (struct hdhomerun_video_sock_t *vs)
void hdhomerun_video_debug_print_stats (struct hdhomerun_video_sock_t *vs)
void hdhomerun_video_get_stats (struct hdhomerun_video_sock_t *vs, struct hdhomerun_video_stats_t *stats)

Function Documentation

static THREAD_FUNC_PREFIX hdhomerun_video_thread_execute ( void *  arg  )  [static]

Definition at line 258 of file hdhomerun_video.c.

Referenced by hdhomerun_video_create().

struct hdhomerun_video_sock_t* hdhomerun_video_create ( uint16_t  listen_port,
bool_t  allow_port_reuse,
size_t  buffer_size,
struct hdhomerun_debug_t dbg 
) [read]

Definition at line 63 of file hdhomerun_video.c.

Referenced by hdhomerun_device_get_video_sock().

void hdhomerun_video_destroy ( struct hdhomerun_video_sock_t vs  ) 

Definition at line 131 of file hdhomerun_video.c.

Referenced by hdhomerun_device_destroy().

hdhomerun_sock_t hdhomerun_video_get_sock ( struct hdhomerun_video_sock_t vs  ) 

Definition at line 142 of file hdhomerun_video.c.

uint16_t hdhomerun_video_get_local_port ( struct hdhomerun_video_sock_t vs  ) 

Definition at line 147 of file hdhomerun_video.c.

Referenced by hdhomerun_device_set_tuner_target_to_local().

int hdhomerun_video_join_multicast_group ( struct hdhomerun_video_sock_t vs,
uint32_t  multicast_ip,
uint32_t  local_ip 
)

Definition at line 158 of file hdhomerun_video.c.

Referenced by hdhomerun_device_stream_start().

int hdhomerun_video_leave_multicast_group ( struct hdhomerun_video_sock_t vs  ) 
static void hdhomerun_video_stats_ts_pkt ( struct hdhomerun_video_sock_t vs,
uint8_t ptr 
) [static]

Definition at line 197 of file hdhomerun_video.c.

Referenced by hdhomerun_video_thread_execute().

static void hdhomerun_video_parse_rtp ( struct hdhomerun_video_sock_t vs,
struct hdhomerun_pkt_t pkt 
) [static]

Definition at line 229 of file hdhomerun_video.c.

Referenced by hdhomerun_video_thread_execute().

uint8_t* hdhomerun_video_recv ( struct hdhomerun_video_sock_t vs,
size_t  max_size,
size_t *  pactual_size 
)

Definition at line 323 of file hdhomerun_video.c.

Referenced by hdhomerun_device_stream_recv().

void hdhomerun_video_flush ( struct hdhomerun_video_sock_t vs  ) 
void hdhomerun_video_debug_print_stats ( struct hdhomerun_video_sock_t vs  ) 

Definition at line 394 of file hdhomerun_video.c.

Referenced by hdhomerun_device_debug_print_video_stats().

void hdhomerun_video_get_stats ( struct hdhomerun_video_sock_t vs,
struct hdhomerun_video_stats_t stats 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sat May 26 06:41:48 2012 for MythTV by  doxygen 1.6.3