vm.c File Reference

Go to the source code of this file.

Functions

static link_t play_PGC (vm_t *vm)
static link_t play_PGC_PG (vm_t *vm, int pgN)
static link_t play_PGC_post (vm_t *vm)
static link_t play_PG (vm_t *vm)
static link_t play_Cell (vm_t *vm)
static link_t play_Cell_post (vm_t *vm)
static int process_command (vm_t *vm, link_t link_values)
static int set_TT (vm_t *vm, int tt)
static int set_PTT (vm_t *vm, int tt, int ptt)
static int set_VTS_TT (vm_t *vm, int vtsN, int vts_ttn)
static int set_VTS_PTT (vm_t *vm, int vtsN, int vts_ttn, int part)
static int set_FP_PGC (vm_t *vm)
static int set_MENU (vm_t *vm, int menu)
static int set_PGCN (vm_t *vm, int pgcN)
static int set_PGN (vm_t *vm)
static void set_RSMinfo (vm_t *vm, int cellN, int blockN)
static int get_TT (vm_t *vm, int vtsN, int vts_ttn)
static int get_ID (vm_t *vm, int id)
static int get_PGCN (vm_t *vm)
static pgcit_t * get_MENU_PGCIT (vm_t *vm, ifo_handle_t *h, uint16_t lang)
static pgcit_t * get_PGCIT (vm_t *vm)
static void vm_print_current_domain_state (vm_t *vm)
static void dvd_read_name (char *name, char *serial, const char *device)
static int ifoOpenNewVTSI (vm_t *vm, dvd_reader_t *dvd, int vtsN)
vm_tvm_new_vm ()
void vm_free_vm (vm_t *vm)
ifo_handle_tvm_get_vmgi (vm_t *vm)
ifo_handle_tvm_get_vtsi (vm_t *vm)
dvd_reader_tvm_get_dvd_reader (vm_t *vm)
int vm_start (vm_t *vm)
void vm_stop (vm_t *vm)
int vm_reset (vm_t *vm, const char *dvdroot)
vm_tvm_new_copy (vm_t *source)
void vm_merge (vm_t *target, vm_t *source)
void vm_free_copy (vm_t *vm)
void vm_position_get (vm_t *vm, vm_position_t *position)
void vm_get_next_cell (vm_t *vm)
int vm_jump_pg (vm_t *vm, int pg)
int vm_jump_cell_block (vm_t *vm, int cell, int block)
int vm_jump_title_part (vm_t *vm, int title, int part)
int vm_jump_top_pg (vm_t *vm)
int vm_jump_next_pg (vm_t *vm)
int vm_jump_prev_pg (vm_t *vm)
int vm_jump_up (vm_t *vm)
int vm_jump_menu (vm_t *vm, DVDMenuID_t menuid)
int vm_jump_resume (vm_t *vm)
int vm_exec_cmd (vm_t *vm, vm_cmd_t *cmd)
int vm_get_current_menu (vm_t *vm, int *menuid)
int vm_get_current_title_part (vm_t *vm, int *title_result, int *part_result)
int vm_get_audio_stream (vm_t *vm, int audioN)
int vm_get_subp_stream (vm_t *vm, int subpN, int mode)
int vm_get_audio_active_stream (vm_t *vm)
int vm_get_subp_active_stream (vm_t *vm, int mode)
void vm_get_angle_info (vm_t *vm, int *current, int *num_avail)
int vm_get_audio_stream_count (vm_t *vm)
int vm_get_subp_stream_count (vm_t *vm)
void vm_get_video_res (vm_t *vm, int *width, int *height)
int vm_get_video_aspect (vm_t *vm)
int vm_get_video_scale_permission (vm_t *vm)
int vm_get_video_format (vm_t *vm)
video_attr_t vm_get_video_attr (vm_t *vm)
audio_attr_t vm_get_audio_attr (vm_t *vm, int streamN)
subp_attr_t vm_get_subp_attr (vm_t *vm, int streamN)
void vm_position_print (vm_t *vm, vm_position_t *position)


Function Documentation

static link_t play_PGC ( vm_t vm  )  [static]

static link_t play_PGC_PG ( vm_t vm,
int  pgN 
) [static]

Definition at line 977 of file vm.c.

Referenced by process_command(), and vm_jump_title_part().

static link_t play_PGC_post ( vm_t vm  )  [static]

Definition at line 1017 of file vm.c.

Referenced by play_Cell(), play_Cell_post(), play_PG(), process_command(), and vm_jump_next_pg().

static link_t play_PG ( vm_t vm  )  [static]

static link_t play_Cell ( vm_t vm  )  [static]

Definition at line 1067 of file vm.c.

Referenced by play_Cell_post(), play_PG(), process_command(), and vm_jump_cell_block().

static link_t play_Cell_post ( vm_t vm  )  [static]

Definition at line 1140 of file vm.c.

Referenced by vm_get_next_cell().

static int process_command ( vm_t vm,
link_t  link_values 
) [static]

static int set_TT ( vm_t vm,
int  tt 
) [static]

Definition at line 1597 of file vm.c.

Referenced by process_command().

static int set_PTT ( vm_t vm,
int  tt,
int  ptt 
) [static]

Definition at line 1601 of file vm.c.

Referenced by set_TT(), and vm_jump_title_part().

static int set_VTS_TT ( vm_t vm,
int  vtsN,
int  vts_ttn 
) [static]

Definition at line 1607 of file vm.c.

Referenced by process_command().

static int set_VTS_PTT ( vm_t vm,
int  vtsN,
int  vts_ttn,
int  part 
) [static]

Definition at line 1611 of file vm.c.

Referenced by process_command(), set_PTT(), and set_VTS_TT().

static int set_FP_PGC ( vm_t vm  )  [static]

Definition at line 1641 of file vm.c.

Referenced by process_command(), and vm_start().

static int set_MENU ( vm_t vm,
int  menu 
) [static]

Definition at line 1652 of file vm.c.

Referenced by process_command(), and vm_jump_menu().

static int set_PGCN ( vm_t vm,
int  pgcN 
) [static]

static int set_PGN ( vm_t vm  )  [static]

Definition at line 1684 of file vm.c.

Referenced by play_Cell(), play_Cell_post(), and process_command().

static void set_RSMinfo ( vm_t vm,
int  cellN,
int  blockN 
) [static]

Definition at line 1715 of file vm.c.

Referenced by process_command(), and vm_jump_menu().

static int get_TT ( vm_t vm,
int  vtsN,
int  vts_ttn 
) [static]

Definition at line 1742 of file vm.c.

Referenced by process_command(), set_VTS_PTT(), and vm_get_current_title_part().

static int get_ID ( vm_t vm,
int  id 
) [static]

Definition at line 1759 of file vm.c.

Referenced by set_MENU().

static int get_PGCN ( vm_t vm  )  [static]

static pgcit_t * get_MENU_PGCIT ( vm_t vm,
ifo_handle_t h,
uint16_t  lang 
) [static]

Definition at line 1816 of file vm.c.

Referenced by get_PGCIT().

static pgcit_t * get_PGCIT ( vm_t vm  )  [static]

Definition at line 1847 of file vm.c.

Referenced by get_ID(), get_PGCN(), set_PGCN(), vm_get_current_menu(), and vm_jump_menu().

static void vm_print_current_domain_state ( vm_t vm  )  [static]

Definition at line 93 of file vm.c.

Referenced by process_command().

static void dvd_read_name ( char *  name,
char *  serial,
const char *  device 
) [static]

Definition at line 127 of file vm.c.

Referenced by vm_reset().

static int ifoOpenNewVTSI ( vm_t vm,
dvd_reader_t dvd,
int  vtsN 
) [static]

Definition at line 216 of file vm.c.

Referenced by process_command(), set_VTS_PTT(), and vm_new_copy().

vm_t* vm_new_vm ( void   ) 

Definition at line 257 of file vm.c.

Referenced by dvdnav_open(), and vm_new_copy().

void vm_free_vm ( vm_t vm  ) 

Definition at line 261 of file vm.c.

Referenced by dvdnav_close(), and dvdnav_open().

ifo_handle_t* vm_get_vmgi ( vm_t vm  ) 

Definition at line 269 of file vm.c.

Referenced by dvdnav_get_number_of_parts(), and dvdnav_get_number_of_titles().

ifo_handle_t* vm_get_vtsi ( vm_t vm  ) 

Definition at line 273 of file vm.c.

dvd_reader_t* vm_get_dvd_reader ( vm_t vm  ) 

Definition at line 280 of file vm.c.

Referenced by dvdnav_get_next_cache_block(), and dvdnav_open().

int vm_start ( vm_t vm  ) 

Definition at line 287 of file vm.c.

Referenced by dvdnav_get_next_cache_block(), and dvdnav_part_play().

void vm_stop ( vm_t vm  ) 

Definition at line 294 of file vm.c.

Referenced by dvdnav_get_next_cache_block(), vm_free_vm(), and vm_reset().

int vm_reset ( vm_t vm,
const char *  dvdroot 
)

Definition at line 310 of file vm.c.

Referenced by dvdnav_open(), and dvdnav_reset().

vm_t* vm_new_copy ( vm_t source  ) 

Definition at line 402 of file vm.c.

Referenced by dvdnav_menu_call(), dvdnav_menu_supported(), and dvdnav_next_pg_search().

void vm_merge ( vm_t target,
vm_t source 
)

Definition at line 429 of file vm.c.

Referenced by dvdnav_menu_call(), and dvdnav_next_pg_search().

void vm_free_copy ( vm_t vm  ) 

Definition at line 436 of file vm.c.

Referenced by dvdnav_menu_call(), dvdnav_menu_supported(), and dvdnav_next_pg_search().

void vm_position_get ( vm_t vm,
vm_position_t position 
)

Definition at line 445 of file vm.c.

Referenced by dvdnav_get_next_cache_block().

void vm_get_next_cell ( vm_t vm  ) 

int vm_jump_pg ( vm_t vm,
int  pg 
)

Definition at line 501 of file vm.c.

Referenced by vm_jump_next_pg(), and vm_jump_prev_pg().

int vm_jump_cell_block ( vm_t vm,
int  cell,
int  block 
)

Definition at line 507 of file vm.c.

Referenced by dvdnav_sector_search(), dvdnav_time_search(), and dvdnav_time_search_within_cell().

int vm_jump_title_part ( vm_t vm,
int  title,
int  part 
)

Definition at line 516 of file vm.c.

Referenced by dvdnav_part_play().

int vm_jump_top_pg ( vm_t vm  ) 

Definition at line 534 of file vm.c.

Referenced by dvdnav_top_pg_search().

int vm_jump_next_pg ( vm_t vm  ) 

Definition at line 539 of file vm.c.

Referenced by dvdnav_next_pg_search().

int vm_jump_prev_pg ( vm_t vm  ) 

Definition at line 550 of file vm.c.

Referenced by dvdnav_prev_pg_search().

int vm_jump_up ( vm_t vm  ) 

Definition at line 565 of file vm.c.

Referenced by dvdnav_go_up().

int vm_jump_menu ( vm_t vm,
DVDMenuID_t  menuid 
)

Definition at line 573 of file vm.c.

Referenced by dvdnav_menu_call(), and dvdnav_menu_supported().

int vm_jump_resume ( vm_t vm  ) 

Definition at line 609 of file vm.c.

Referenced by dvdnav_menu_call(), and dvdnav_menu_supported().

int vm_exec_cmd ( vm_t vm,
vm_cmd_t *  cmd 
)

Definition at line 619 of file vm.c.

Referenced by dvdnav_button_activate(), and dvdnav_button_activate_cmd().

int vm_get_current_menu ( vm_t vm,
int *  menuid 
)

Definition at line 631 of file vm.c.

Referenced by dvdnav_current_title_info().

int vm_get_current_title_part ( vm_t vm,
int *  title_result,
int *  part_result 
)

Definition at line 640 of file vm.c.

Referenced by dvdnav_current_title_info(), and set_PGN().

int vm_get_audio_stream ( vm_t vm,
int  audioN 
)

Definition at line 695 of file vm.c.

Referenced by dvdnav_get_audio_logical_stream(), and vm_get_audio_active_stream().

int vm_get_subp_stream ( vm_t vm,
int  subpN,
int  mode 
)

Definition at line 721 of file vm.c.

Referenced by dvdnav_get_spu_logical_stream(), and vm_get_subp_active_stream().

int vm_get_audio_active_stream ( vm_t vm  ) 

Definition at line 755 of file vm.c.

Referenced by dvdnav_get_active_audio_stream(), and dvdnav_get_next_cache_block().

int vm_get_subp_active_stream ( vm_t vm,
int  mode 
)

Definition at line 774 of file vm.c.

Referenced by dvdnav_get_active_spu_stream(), and dvdnav_get_next_cache_block().

void vm_get_angle_info ( vm_t vm,
int *  current,
int *  num_avail 
)

int vm_get_audio_stream_count ( vm_t vm  ) 

Definition at line 815 of file vm.c.

Referenced by dvdnav_audio_get_stream_count().

int vm_get_subp_stream_count ( vm_t vm  ) 

Definition at line 832 of file vm.c.

Referenced by dvdnav_subp_get_stream_count().

void vm_get_video_res ( vm_t vm,
int *  width,
int *  height 
)

Definition at line 850 of file vm.c.

int vm_get_video_aspect ( vm_t vm  ) 

Definition at line 874 of file vm.c.

Referenced by dvdnav_get_video_aspect(), and vm_get_subp_stream().

int vm_get_video_scale_permission ( vm_t vm  ) 

Definition at line 884 of file vm.c.

Referenced by dvdnav_get_video_scale_permission().

int vm_get_video_format ( vm_t vm  ) 

Definition at line 888 of file vm.c.

Referenced by dvdnav_get_video_format().

video_attr_t vm_get_video_attr ( vm_t vm  ) 

audio_attr_t vm_get_audio_attr ( vm_t vm,
int  streamN 
)

subp_attr_t vm_get_subp_attr ( vm_t vm,
int  streamN 
)

Definition at line 920 of file vm.c.

Referenced by dvdnav_spu_stream_to_lang().

void vm_position_print ( vm_t vm,
vm_position_t position 
)

Definition at line 1872 of file vm.c.

Referenced by dvdnav_get_next_cache_block().


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5