src/w2/scripts/HWTVideo/libhdhomerun/hdhomerun_device.h File Reference


Classes

struct  hdhomerun_tuner_status_t
struct  hdhomerun_plotsample_t

Functions

hdhomerun_device_t * hdhomerun_device_create (uint32_t device_id, uint32_t device_ip, unsigned int tuner)
hdhomerun_device_t * hdhomerun_device_create_from_str (const char *device_str)
void hdhomerun_device_destroy (struct hdhomerun_device_t *hd)
uint32_t hdhomerun_device_get_device_id (struct hdhomerun_device_t *hd)
uint32_t hdhomerun_device_get_device_ip (struct hdhomerun_device_t *hd)
uint32_t hdhomerun_device_get_device_id_requested (struct hdhomerun_device_t *hd)
uint32_t hdhomerun_device_get_device_ip_requested (struct hdhomerun_device_t *hd)
unsigned int hdhomerun_device_get_tuner (struct hdhomerun_device_t *hd)
void hdhomerun_device_set_device (struct hdhomerun_device_t *hd, uint32_t device_id, uint32_t device_ip)
void hdhomerun_device_set_tuner (struct hdhomerun_device_t *hd, unsigned int tuner)
int hdhomerun_device_set_tuner_from_str (struct hdhomerun_device_t *hd, const char *tuner_str)
uint32_t hdhomerun_device_get_local_machine_addr (struct hdhomerun_device_t *hd)
int hdhomerun_device_get_tuner_status (struct hdhomerun_device_t *hd, struct hdhomerun_tuner_status_t *status)
int hdhomerun_device_get_tuner_streaminfo (struct hdhomerun_device_t *hd, char **pstreaminfo)
int hdhomerun_device_get_tuner_channel (struct hdhomerun_device_t *hd, char **pchannel)
int hdhomerun_device_get_tuner_channelmap (struct hdhomerun_device_t *hd, char **pchannelmap)
int hdhomerun_device_get_tuner_filter (struct hdhomerun_device_t *hd, char **pfilter)
int hdhomerun_device_get_tuner_program (struct hdhomerun_device_t *hd, char **pprogram)
int hdhomerun_device_get_tuner_target (struct hdhomerun_device_t *hd, char **ptarget)
int hdhomerun_device_get_tuner_plotsample (struct hdhomerun_device_t *hd, struct hdhomerun_plotsample_t **psamples, size_t *pcount)
int hdhomerun_device_get_ir_target (struct hdhomerun_device_t *hd, char **ptarget)
int hdhomerun_device_get_lineup_location (struct hdhomerun_device_t *hd, char **plocation)
int hdhomerun_device_get_version (struct hdhomerun_device_t *hd, char **pversion_str, uint32_t *pversion_num)
uint32_t hdhomerun_device_get_tuner_status_ss_color (struct hdhomerun_tuner_status_t *status)
uint32_t hdhomerun_device_get_tuner_status_snq_color (struct hdhomerun_tuner_status_t *status)
uint32_t hdhomerun_device_get_tuner_status_seq_color (struct hdhomerun_tuner_status_t *status)
int hdhomerun_device_set_tuner_channel (struct hdhomerun_device_t *hd, const char *channel)
int hdhomerun_device_set_tuner_channelmap (struct hdhomerun_device_t *hd, const char *channelmap)
int hdhomerun_device_set_tuner_filter (struct hdhomerun_device_t *hd, const char *filter)
int hdhomerun_device_set_tuner_filter_by_array (struct hdhomerun_device_t *hd, unsigned char filter_array[0x2000])
int hdhomerun_device_set_tuner_program (struct hdhomerun_device_t *hd, const char *program)
int hdhomerun_device_set_tuner_target (struct hdhomerun_device_t *hd, char *target)
int hdhomerun_device_set_tuner_target_to_local (struct hdhomerun_device_t *hd)
int hdhomerun_device_set_ir_target (struct hdhomerun_device_t *hd, const char *target)
int hdhomerun_device_set_lineup_location (struct hdhomerun_device_t *hd, const char *location)
int hdhomerun_device_get_var (struct hdhomerun_device_t *hd, const char *name, char **pvalue, char **perror)
int hdhomerun_device_set_var (struct hdhomerun_device_t *hd, const char *name, const char *value, char **pvalue, char **perror)
int hdhomerun_device_wait_for_lock (struct hdhomerun_device_t *hd, struct hdhomerun_tuner_status_t *status)
int hdhomerun_device_stream_start (struct hdhomerun_device_t *hd)
uint8_thdhomerun_device_stream_recv (struct hdhomerun_device_t *hd, size_t max_size, size_t *pactual_size)
void hdhomerun_device_stream_flush (struct hdhomerun_device_t *hd)
void hdhomerun_device_stream_stop (struct hdhomerun_device_t *hd)
int hdhomerun_device_firmware_version_check (struct hdhomerun_device_t *hd, uint32_t features)
int hdhomerun_device_upgrade (struct hdhomerun_device_t *hd, FILE *upgrade_file)
hdhomerun_control_sock_t * hdhomerun_device_get_control_sock (struct hdhomerun_device_t *hd)
hdhomerun_video_sock_t * hdhomerun_device_get_video_sock (struct hdhomerun_device_t *hd)
void hdhomerun_device_debug_print_video_stats (struct hdhomerun_device_t *hd, struct hdhomerun_debug_t *dbg)


Function Documentation

struct hdhomerun_device_t* hdhomerun_device_create ( uint32_t  device_id,
uint32_t  device_ip,
unsigned int  tuner 
)

struct hdhomerun_device_t* hdhomerun_device_create_from_str ( const char *  device_str  ) 

void hdhomerun_device_debug_print_video_stats ( struct hdhomerun_device_t *  hd,
struct hdhomerun_debug_t *  dbg 
)

void hdhomerun_device_destroy ( struct hdhomerun_device_t *  hd  ) 

int hdhomerun_device_firmware_version_check ( struct hdhomerun_device_t *  hd,
uint32_t  features 
)

struct hdhomerun_control_sock_t* hdhomerun_device_get_control_sock ( struct hdhomerun_device_t *  hd  ) 

uint32_t hdhomerun_device_get_device_id ( struct hdhomerun_device_t *  hd  ) 

uint32_t hdhomerun_device_get_device_id_requested ( struct hdhomerun_device_t *  hd  ) 

uint32_t hdhomerun_device_get_device_ip ( struct hdhomerun_device_t *  hd  ) 

uint32_t hdhomerun_device_get_device_ip_requested ( struct hdhomerun_device_t *  hd  ) 

int hdhomerun_device_get_ir_target ( struct hdhomerun_device_t *  hd,
char **  ptarget 
)

int hdhomerun_device_get_lineup_location ( struct hdhomerun_device_t *  hd,
char **  plocation 
)

uint32_t hdhomerun_device_get_local_machine_addr ( struct hdhomerun_device_t *  hd  ) 

unsigned int hdhomerun_device_get_tuner ( struct hdhomerun_device_t *  hd  ) 

int hdhomerun_device_get_tuner_channel ( struct hdhomerun_device_t *  hd,
char **  pchannel 
)

int hdhomerun_device_get_tuner_channelmap ( struct hdhomerun_device_t *  hd,
char **  pchannelmap 
)

int hdhomerun_device_get_tuner_filter ( struct hdhomerun_device_t *  hd,
char **  pfilter 
)

int hdhomerun_device_get_tuner_plotsample ( struct hdhomerun_device_t *  hd,
struct hdhomerun_plotsample_t **  psamples,
size_t *  pcount 
)

int hdhomerun_device_get_tuner_program ( struct hdhomerun_device_t *  hd,
char **  pprogram 
)

int hdhomerun_device_get_tuner_status ( struct hdhomerun_device_t *  hd,
struct hdhomerun_tuner_status_t status 
)

uint32_t hdhomerun_device_get_tuner_status_seq_color ( struct hdhomerun_tuner_status_t status  ) 

uint32_t hdhomerun_device_get_tuner_status_snq_color ( struct hdhomerun_tuner_status_t status  ) 

uint32_t hdhomerun_device_get_tuner_status_ss_color ( struct hdhomerun_tuner_status_t status  ) 

int hdhomerun_device_get_tuner_streaminfo ( struct hdhomerun_device_t *  hd,
char **  pstreaminfo 
)

int hdhomerun_device_get_tuner_target ( struct hdhomerun_device_t *  hd,
char **  ptarget 
)

int hdhomerun_device_get_var ( struct hdhomerun_device_t *  hd,
const char *  name,
char **  pvalue,
char **  perror 
)

int hdhomerun_device_get_version ( struct hdhomerun_device_t *  hd,
char **  pversion_str,
uint32_t pversion_num 
)

struct hdhomerun_video_sock_t* hdhomerun_device_get_video_sock ( struct hdhomerun_device_t *  hd  ) 

void hdhomerun_device_set_device ( struct hdhomerun_device_t *  hd,
uint32_t  device_id,
uint32_t  device_ip 
)

int hdhomerun_device_set_ir_target ( struct hdhomerun_device_t *  hd,
const char *  target 
)

int hdhomerun_device_set_lineup_location ( struct hdhomerun_device_t *  hd,
const char *  location 
)

void hdhomerun_device_set_tuner ( struct hdhomerun_device_t *  hd,
unsigned int  tuner 
)

int hdhomerun_device_set_tuner_channel ( struct hdhomerun_device_t *  hd,
const char *  channel 
)

int hdhomerun_device_set_tuner_channelmap ( struct hdhomerun_device_t *  hd,
const char *  channelmap 
)

int hdhomerun_device_set_tuner_filter ( struct hdhomerun_device_t *  hd,
const char *  filter 
)

int hdhomerun_device_set_tuner_filter_by_array ( struct hdhomerun_device_t *  hd,
unsigned char  filter_array[0x2000] 
)

int hdhomerun_device_set_tuner_from_str ( struct hdhomerun_device_t *  hd,
const char *  tuner_str 
)

int hdhomerun_device_set_tuner_program ( struct hdhomerun_device_t *  hd,
const char *  program 
)

int hdhomerun_device_set_tuner_target ( struct hdhomerun_device_t *  hd,
char *  target 
)

int hdhomerun_device_set_tuner_target_to_local ( struct hdhomerun_device_t *  hd  ) 

int hdhomerun_device_set_var ( struct hdhomerun_device_t *  hd,
const char *  name,
const char *  value,
char **  pvalue,
char **  perror 
)

void hdhomerun_device_stream_flush ( struct hdhomerun_device_t *  hd  ) 

uint8_t* hdhomerun_device_stream_recv ( struct hdhomerun_device_t *  hd,
size_t  max_size,
size_t *  pactual_size 
)

int hdhomerun_device_stream_start ( struct hdhomerun_device_t *  hd  ) 

void hdhomerun_device_stream_stop ( struct hdhomerun_device_t *  hd  ) 

int hdhomerun_device_upgrade ( struct hdhomerun_device_t *  hd,
FILE *  upgrade_file 
)

int hdhomerun_device_wait_for_lock ( struct hdhomerun_device_t *  hd,
struct hdhomerun_tuner_status_t status 
)


Generated on Fri May 4 13:40:10 2012 for WDSS-IIw2 by  doxygen 1.4.7