hdhomerun_device.h File Reference

Go to the source code of this file.

Functions

LIBTYPE struct hdhomerun_device_thdhomerun_device_create (uint32_t device_id, uint32_t device_ip, unsigned int tuner, struct hdhomerun_debug_t *dbg)
LIBTYPE struct hdhomerun_device_thdhomerun_device_create_from_str (const char *device_str, struct hdhomerun_debug_t *dbg)
LIBTYPE void hdhomerun_device_destroy (struct hdhomerun_device_t *hd)
LIBTYPE const char * hdhomerun_device_get_name (struct hdhomerun_device_t *hd)
LIBTYPE uint32_t hdhomerun_device_get_device_id (struct hdhomerun_device_t *hd)
LIBTYPE uint32_t hdhomerun_device_get_device_ip (struct hdhomerun_device_t *hd)
LIBTYPE uint32_t hdhomerun_device_get_device_id_requested (struct hdhomerun_device_t *hd)
LIBTYPE uint32_t hdhomerun_device_get_device_ip_requested (struct hdhomerun_device_t *hd)
LIBTYPE unsigned int hdhomerun_device_get_tuner (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_set_device (struct hdhomerun_device_t *hd, uint32_t device_id, uint32_t device_ip)
LIBTYPE int hdhomerun_device_set_tuner (struct hdhomerun_device_t *hd, unsigned int tuner)
LIBTYPE int hdhomerun_device_set_tuner_from_str (struct hdhomerun_device_t *hd, const char *tuner_str)
LIBTYPE uint32_t hdhomerun_device_get_local_machine_addr (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_get_tuner_status (struct hdhomerun_device_t *hd, char **pstatus_str, struct hdhomerun_tuner_status_t *status)
LIBTYPE int hdhomerun_device_get_tuner_vstatus (struct hdhomerun_device_t *hd, char **pvstatus_str, struct hdhomerun_tuner_vstatus_t *vstatus)
LIBTYPE int hdhomerun_device_get_tuner_streaminfo (struct hdhomerun_device_t *hd, char **pstreaminfo)
LIBTYPE int hdhomerun_device_get_tuner_channel (struct hdhomerun_device_t *hd, char **pchannel)
LIBTYPE int hdhomerun_device_get_tuner_vchannel (struct hdhomerun_device_t *hd, char **pvchannel)
LIBTYPE int hdhomerun_device_get_tuner_channelmap (struct hdhomerun_device_t *hd, char **pchannelmap)
LIBTYPE int hdhomerun_device_get_tuner_filter (struct hdhomerun_device_t *hd, char **pfilter)
LIBTYPE int hdhomerun_device_get_tuner_program (struct hdhomerun_device_t *hd, char **pprogram)
LIBTYPE int hdhomerun_device_get_tuner_target (struct hdhomerun_device_t *hd, char **ptarget)
LIBTYPE int hdhomerun_device_get_tuner_plotsample (struct hdhomerun_device_t *hd, struct hdhomerun_plotsample_t **psamples, size_t *pcount)
LIBTYPE int hdhomerun_device_get_tuner_lockkey_owner (struct hdhomerun_device_t *hd, char **powner)
LIBTYPE int hdhomerun_device_get_oob_status (struct hdhomerun_device_t *hd, char **pstatus_str, struct hdhomerun_tuner_status_t *status)
LIBTYPE int hdhomerun_device_get_oob_plotsample (struct hdhomerun_device_t *hd, struct hdhomerun_plotsample_t **psamples, size_t *pcount)
LIBTYPE int hdhomerun_device_get_ir_target (struct hdhomerun_device_t *hd, char **ptarget)
LIBTYPE int hdhomerun_device_get_lineup_location (struct hdhomerun_device_t *hd, char **plocation)
LIBTYPE int hdhomerun_device_get_version (struct hdhomerun_device_t *hd, char **pversion_str, uint32_t *pversion_num)
LIBTYPE int hdhomerun_device_get_supported (struct hdhomerun_device_t *hd, char *prefix, char **pstr)
LIBTYPE uint32_t hdhomerun_device_get_tuner_status_ss_color (struct hdhomerun_tuner_status_t *status)
LIBTYPE uint32_t hdhomerun_device_get_tuner_status_snq_color (struct hdhomerun_tuner_status_t *status)
LIBTYPE uint32_t hdhomerun_device_get_tuner_status_seq_color (struct hdhomerun_tuner_status_t *status)
LIBTYPE const char * hdhomerun_device_get_model_str (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_set_tuner_channel (struct hdhomerun_device_t *hd, const char *channel)
LIBTYPE int hdhomerun_device_set_tuner_vchannel (struct hdhomerun_device_t *hd, const char *vchannel)
LIBTYPE int hdhomerun_device_set_tuner_channelmap (struct hdhomerun_device_t *hd, const char *channelmap)
LIBTYPE int hdhomerun_device_set_tuner_filter (struct hdhomerun_device_t *hd, const char *filter)
LIBTYPE int hdhomerun_device_set_tuner_filter_by_array (struct hdhomerun_device_t *hd, unsigned char filter_array[0x2000])
LIBTYPE int hdhomerun_device_set_tuner_program (struct hdhomerun_device_t *hd, const char *program)
LIBTYPE int hdhomerun_device_set_tuner_target (struct hdhomerun_device_t *hd, const char *target)
LIBTYPE int hdhomerun_device_set_ir_target (struct hdhomerun_device_t *hd, const char *target)
LIBTYPE int hdhomerun_device_set_lineup_location (struct hdhomerun_device_t *hd, const char *location)
LIBTYPE int hdhomerun_device_set_sys_dvbc_modulation (struct hdhomerun_device_t *hd, const char *modulation_list)
LIBTYPE int hdhomerun_device_get_var (struct hdhomerun_device_t *hd, const char *name, char **pvalue, char **perror)
LIBTYPE int hdhomerun_device_set_var (struct hdhomerun_device_t *hd, const char *name, const char *value, char **pvalue, char **perror)
LIBTYPE int hdhomerun_device_tuner_lockkey_request (struct hdhomerun_device_t *hd, char **perror)
LIBTYPE int hdhomerun_device_tuner_lockkey_release (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_tuner_lockkey_force (struct hdhomerun_device_t *hd)
LIBTYPE void hdhomerun_device_tuner_lockkey_use_value (struct hdhomerun_device_t *hd, uint32_t lockkey)
LIBTYPE int hdhomerun_device_wait_for_lock (struct hdhomerun_device_t *hd, struct hdhomerun_tuner_status_t *status)
LIBTYPE int hdhomerun_device_stream_start (struct hdhomerun_device_t *hd)
LIBTYPE uint8_thdhomerun_device_stream_recv (struct hdhomerun_device_t *hd, size_t max_size, size_t *pactual_size)
LIBTYPE void hdhomerun_device_stream_flush (struct hdhomerun_device_t *hd)
LIBTYPE void hdhomerun_device_stream_stop (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_channelscan_init (struct hdhomerun_device_t *hd, const char *channelmap)
LIBTYPE int hdhomerun_device_channelscan_advance (struct hdhomerun_device_t *hd, struct hdhomerun_channelscan_result_t *result)
LIBTYPE int hdhomerun_device_channelscan_detect (struct hdhomerun_device_t *hd, struct hdhomerun_channelscan_result_t *result)
LIBTYPE uint8_t hdhomerun_device_channelscan_get_progress (struct hdhomerun_device_t *hd)
LIBTYPE int hdhomerun_device_upgrade (struct hdhomerun_device_t *hd, FILE *upgrade_file)
LIBTYPE struct
hdhomerun_control_sock_t
hdhomerun_device_get_control_sock (struct hdhomerun_device_t *hd)
LIBTYPE struct
hdhomerun_video_sock_t
hdhomerun_device_get_video_sock (struct hdhomerun_device_t *hd)
LIBTYPE void hdhomerun_device_debug_print_video_stats (struct hdhomerun_device_t *hd)
LIBTYPE void hdhomerun_device_get_video_stats (struct hdhomerun_device_t *hd, struct hdhomerun_video_stats_t *stats)

Function Documentation

LIBTYPE struct hdhomerun_device_t* hdhomerun_device_create ( uint32_t  device_id,
uint32_t  device_ip,
unsigned int  tuner,
struct hdhomerun_debug_t dbg 
) [read]
LIBTYPE struct hdhomerun_device_t* hdhomerun_device_create_from_str ( const char *  device_str,
struct hdhomerun_debug_t dbg 
) [read]
LIBTYPE void hdhomerun_device_destroy ( struct hdhomerun_device_t hd  ) 
LIBTYPE const char* hdhomerun_device_get_name ( struct hdhomerun_device_t hd  ) 

Definition at line 312 of file hdhomerun_device.c.

Referenced by hdhomerun_device_selector_choose_test().

LIBTYPE uint32_t hdhomerun_device_get_device_id ( struct hdhomerun_device_t hd  ) 
LIBTYPE uint32_t hdhomerun_device_get_device_ip ( struct hdhomerun_device_t hd  ) 

Definition at line 322 of file hdhomerun_device.c.

Referenced by HDHomeRunConfigurationGroup::ProbeCard().

LIBTYPE uint32_t hdhomerun_device_get_device_id_requested ( struct hdhomerun_device_t hd  ) 

Definition at line 334 of file hdhomerun_device.c.

Referenced by main_internal().

LIBTYPE uint32_t hdhomerun_device_get_device_ip_requested ( struct hdhomerun_device_t hd  ) 

Definition at line 346 of file hdhomerun_device.c.

LIBTYPE unsigned int hdhomerun_device_get_tuner ( struct hdhomerun_device_t hd  ) 
LIBTYPE int hdhomerun_device_set_device ( struct hdhomerun_device_t hd,
uint32_t  device_id,
uint32_t  device_ip 
)

Definition at line 97 of file hdhomerun_device.c.

Referenced by hdhomerun_device_create().

LIBTYPE int hdhomerun_device_set_tuner ( struct hdhomerun_device_t hd,
unsigned int  tuner 
)
LIBTYPE int hdhomerun_device_set_tuner_from_str ( struct hdhomerun_device_t hd,
const char *  tuner_str 
)

Definition at line 297 of file hdhomerun_device.c.

Referenced by cmd_save(), and cmd_scan().

LIBTYPE uint32_t hdhomerun_device_get_local_machine_addr ( struct hdhomerun_device_t hd  ) 
LIBTYPE int hdhomerun_device_get_tuner_status ( struct hdhomerun_device_t hd,
char **  pstatus_str,
struct hdhomerun_tuner_status_t status 
)
LIBTYPE int hdhomerun_device_get_tuner_vstatus ( struct hdhomerun_device_t hd,
char **  pvstatus_str,
struct hdhomerun_tuner_vstatus_t vstatus 
)

Definition at line 565 of file hdhomerun_device.c.

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

Definition at line 635 of file hdhomerun_device.c.

Referenced by channelscan_detect_programs().

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

Definition at line 647 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_tuner_vchannel ( struct hdhomerun_device_t hd,
char **  pvchannel 
)

Definition at line 659 of file hdhomerun_device.c.

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

Definition at line 671 of file hdhomerun_device.c.

Referenced by cmd_scan().

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

Definition at line 683 of file hdhomerun_device.c.

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

Definition at line 695 of file hdhomerun_device.c.

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

Definition at line 707 of file hdhomerun_device.c.

Referenced by hdhomerun_device_selector_choose_test().

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

Definition at line 765 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_tuner_lockkey_owner ( struct hdhomerun_device_t hd,
char **  powner 
)

Definition at line 787 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_get_oob_status ( struct hdhomerun_device_t hd,
char **  pstatus_str,
struct hdhomerun_tuner_status_t status 
)

Definition at line 526 of file hdhomerun_device.c.

Referenced by CardUtil::IsCableCardPresent().

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

Definition at line 777 of file hdhomerun_device.c.

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

Definition at line 799 of file hdhomerun_device.c.

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

Definition at line 809 of file hdhomerun_device.c.

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

Definition at line 819 of file hdhomerun_device.c.

Referenced by cmd_upgrade(), and CardUtil::GetHDHRdesc().

LIBTYPE int hdhomerun_device_get_supported ( struct hdhomerun_device_t hd,
char *  prefix,
char **  pstr 
)

Definition at line 848 of file hdhomerun_device.c.

LIBTYPE uint32_t hdhomerun_device_get_tuner_status_ss_color ( struct hdhomerun_tuner_status_t status  ) 

Definition at line 425 of file hdhomerun_device.c.

LIBTYPE uint32_t hdhomerun_device_get_tuner_status_snq_color ( struct hdhomerun_tuner_status_t status  ) 

Definition at line 452 of file hdhomerun_device.c.

LIBTYPE uint32_t hdhomerun_device_get_tuner_status_seq_color ( struct hdhomerun_tuner_status_t status  ) 

Definition at line 464 of file hdhomerun_device.c.

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

Definition at line 882 of file hdhomerun_device.c.

Referenced by channelscan_find_lock().

LIBTYPE int hdhomerun_device_set_tuner_vchannel ( struct hdhomerun_device_t hd,
const char *  vchannel 
)

Definition at line 894 of file hdhomerun_device.c.

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

Definition at line 906 of file hdhomerun_device.c.

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

Definition at line 918 of file hdhomerun_device.c.

Referenced by hdhomerun_device_set_tuner_filter_by_array().

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

Definition at line 951 of file hdhomerun_device.c.

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

Definition at line 998 of file hdhomerun_device.c.

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

Definition at line 1047 of file hdhomerun_device.c.

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

Definition at line 1057 of file hdhomerun_device.c.

LIBTYPE int hdhomerun_device_set_sys_dvbc_modulation ( struct hdhomerun_device_t hd,
const char *  modulation_list 
)

Definition at line 1067 of file hdhomerun_device.c.

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

Definition at line 1077 of file hdhomerun_device.c.

Referenced by cmd_execute(), cmd_get(), and HDHRStreamHandler::TunerGet().

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

Definition at line 1087 of file hdhomerun_device.c.

Referenced by cmd_set_internal(), and HDHRStreamHandler::TunerSet().

LIBTYPE int hdhomerun_device_tuner_lockkey_request ( struct hdhomerun_device_t hd,
char **  perror 
)

Definition at line 1097 of file hdhomerun_device.c.

Referenced by cmd_scan(), and hdhomerun_device_selector_choose_test().

LIBTYPE int hdhomerun_device_tuner_lockkey_release ( struct hdhomerun_device_t hd  ) 

Definition at line 1125 of file hdhomerun_device.c.

Referenced by cmd_scan().

LIBTYPE int hdhomerun_device_tuner_lockkey_force ( struct hdhomerun_device_t hd  ) 

Definition at line 1147 of file hdhomerun_device.c.

Referenced by hdhomerun_device_selector_choose_test().

LIBTYPE void hdhomerun_device_tuner_lockkey_use_value ( struct hdhomerun_device_t hd,
uint32_t  lockkey 
)

Definition at line 1165 of file hdhomerun_device.c.

Referenced by main_cmd().

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

Definition at line 1174 of file hdhomerun_device.c.

Referenced by channelscan_find_lock().

LIBTYPE int hdhomerun_device_stream_start ( struct hdhomerun_device_t hd  ) 

Definition at line 1203 of file hdhomerun_device.c.

Referenced by cmd_save(), and HDHRStreamHandler::run().

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

Definition at line 1234 of file hdhomerun_device.c.

Referenced by cmd_save(), and HDHRStreamHandler::run().

LIBTYPE void hdhomerun_device_stream_flush ( struct hdhomerun_device_t hd  ) 

Definition at line 1244 of file hdhomerun_device.c.

Referenced by HDHRStreamHandler::run().

LIBTYPE void hdhomerun_device_stream_stop ( struct hdhomerun_device_t hd  ) 

Definition at line 1254 of file hdhomerun_device.c.

Referenced by cmd_save(), and HDHRStreamHandler::run().

LIBTYPE int hdhomerun_device_channelscan_init ( struct hdhomerun_device_t hd,
const char *  channelmap 
)

Definition at line 1268 of file hdhomerun_device.c.

Referenced by cmd_scan().

LIBTYPE int hdhomerun_device_channelscan_advance ( struct hdhomerun_device_t hd,
struct hdhomerun_channelscan_result_t result 
)

Definition at line 1283 of file hdhomerun_device.c.

Referenced by cmd_scan().

LIBTYPE int hdhomerun_device_channelscan_detect ( struct hdhomerun_device_t hd,
struct hdhomerun_channelscan_result_t result 
)

Definition at line 1299 of file hdhomerun_device.c.

Referenced by cmd_scan().

LIBTYPE uint8_t hdhomerun_device_channelscan_get_progress ( struct hdhomerun_device_t hd  ) 

Definition at line 1315 of file hdhomerun_device.c.

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

Definition at line 1352 of file hdhomerun_device.c.

Referenced by cmd_upgrade().

LIBTYPE struct hdhomerun_control_sock_t* hdhomerun_device_get_control_sock ( struct hdhomerun_device_t hd  )  [read]

Definition at line 363 of file hdhomerun_device.c.

LIBTYPE struct hdhomerun_video_sock_t* hdhomerun_device_get_video_sock ( struct hdhomerun_device_t hd  )  [read]

Definition at line 368 of file hdhomerun_device.c.

Referenced by hdhomerun_device_stream_start().

LIBTYPE void hdhomerun_device_debug_print_video_stats ( struct hdhomerun_device_t hd  ) 

Definition at line 1368 of file hdhomerun_device.c.

LIBTYPE void hdhomerun_device_get_video_stats ( struct hdhomerun_device_t hd,
struct hdhomerun_video_stats_t stats 
)

Definition at line 1398 of file hdhomerun_device.c.

Referenced by cmd_save(), and cmd_save_print_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