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_PROG (vm_t *vm, int tt, int pgcn, int pgn)
static int set_VTS_PROG (vm_t *vm, int vtsN, int vts_ttn, int pgcn, int pgn)
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 int os2_open (const char *name, int oflag)
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_program (vm_t *vm, int title, int pgcn, int pgn)
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_set_audio_active_stream (vm_t *vm, int audioN)
int vm_get_subp_active_stream (vm_t *vm, int mode)
void vm_get_angle_info (vm_t *vm, int *current, int *num_avail)
void vm_get_audio_info (vm_t *vm, int *current, int *num_avail)
void vm_get_subp_info (vm_t *vm, int *current, int *num_avail)
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)
ifo_handle_tvm_get_title_ifo (vm_t *vm, uint32_t title)
void vm_ifo_close (ifo_handle_t *ifo)
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 1043 of file vm.c.

Referenced by process_command(), vm_jump_title_part(), and vm_jump_title_program().

static link_t play_PGC_post ( vm_t vm  )  [static]

Definition at line 1083 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 1134 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 1207 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 1695 of file vm.c.

Referenced by process_command().

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

Definition at line 1699 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 1705 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 1709 of file vm.c.

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

static int set_PROG ( vm_t vm,
int  tt,
int  pgcn,
int  pgn 
) [static]

Definition at line 1741 of file vm.c.

Referenced by vm_jump_title_program().

static int set_VTS_PROG ( vm_t vm,
int  vtsN,
int  vts_ttn,
int  pgcn,
int  pgn 
) [static]

Definition at line 1747 of file vm.c.

Referenced by set_PROG().

static int set_FP_PGC ( vm_t vm  )  [static]

Definition at line 1777 of file vm.c.

Referenced by process_command(), and vm_start().

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

Definition at line 1788 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 1817 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 1843 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 1870 of file vm.c.

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

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

Definition at line 1887 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 1944 of file vm.c.

Referenced by get_PGCIT().

static pgcit_t * get_PGCIT ( vm_t vm  )  [static]

Definition at line 1975 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 110 of file vm.c.

Referenced by process_command().

static int os2_open ( const char *  name,
int  oflag 
) [static]

Definition at line 147 of file vm.c.

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

Definition at line 167 of file vm.c.

Referenced by vm_reset().

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

Definition at line 226 of file vm.c.

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

vm_t* vm_new_vm ( void   ) 

Definition at line 267 of file vm.c.

Referenced by dvdnav_open(), and vm_new_copy().

void vm_free_vm ( vm_t vm  ) 

Definition at line 271 of file vm.c.

Referenced by dvdnav_close(), and dvdnav_open().

ifo_handle_t* vm_get_vmgi ( vm_t vm  ) 

Definition at line 279 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 283 of file vm.c.

dvd_reader_t* vm_get_dvd_reader ( vm_t vm  ) 

Definition at line 290 of file vm.c.

Referenced by dvdnav_get_next_cache_block(), and dvdnav_open().

int vm_start ( vm_t vm  ) 
void vm_stop ( vm_t vm  ) 

Definition at line 304 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 320 of file vm.c.

Referenced by dvdnav_open(), and dvdnav_reset().

vm_t* vm_new_copy ( vm_t source  ) 

Definition at line 412 of file vm.c.

Referenced by dvdnav_menu_call(), and dvdnav_next_pg_search().

void vm_merge ( vm_t target,
vm_t source 
)

Definition at line 439 of file vm.c.

Referenced by dvdnav_menu_call(), and dvdnav_next_pg_search().

void vm_free_copy ( vm_t vm  ) 

Definition at line 446 of file vm.c.

Referenced by dvdnav_menu_call(), and dvdnav_next_pg_search().

void vm_position_get ( vm_t vm,
vm_position_t position 
)

Definition at line 455 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 511 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 
)
int vm_jump_title_program ( vm_t vm,
int  title,
int  pgcn,
int  pgn 
)

Definition at line 526 of file vm.c.

Referenced by dvdnav_program_play().

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

Definition at line 544 of file vm.c.

Referenced by dvdnav_part_play().

int vm_jump_top_pg ( vm_t vm  ) 

Definition at line 562 of file vm.c.

Referenced by dvdnav_top_pg_search().

int vm_jump_next_pg ( vm_t vm  ) 

Definition at line 567 of file vm.c.

Referenced by dvdnav_next_pg_search().

int vm_jump_prev_pg ( vm_t vm  ) 

Definition at line 578 of file vm.c.

Referenced by dvdnav_prev_pg_search().

int vm_jump_up ( vm_t vm  ) 

Definition at line 593 of file vm.c.

Referenced by dvdnav_go_up().

int vm_jump_menu ( vm_t vm,
DVDMenuID_t  menuid 
)

Definition at line 601 of file vm.c.

Referenced by dvdnav_menu_call().

int vm_jump_resume ( vm_t vm  ) 

Definition at line 643 of file vm.c.

Referenced by dvdnav_menu_call().

int vm_exec_cmd ( vm_t vm,
vm_cmd_t *  cmd 
)

Definition at line 653 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 665 of file vm.c.

Referenced by dvdnav_current_title_info(), and dvdnav_current_title_program().

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 
)

Definition at line 730 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 770 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 803 of file vm.c.

Referenced by dvdnav_get_active_audio_stream(), and dvdnav_get_next_cache_block().

int vm_set_audio_active_stream ( vm_t vm,
int  audioN 
)

Definition at line 822 of file vm.c.

Referenced by dvdnav_set_active_audio_stream().

int vm_get_subp_active_stream ( vm_t vm,
int  mode 
)

Definition at line 835 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 
)
void vm_get_audio_info ( vm_t vm,
int *  current,
int *  num_avail 
)

Definition at line 878 of file vm.c.

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

Definition at line 897 of file vm.c.

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

Definition at line 916 of file vm.c.

Referenced by dvdnav_get_video_resolution().

int vm_get_video_aspect ( vm_t vm  ) 

Definition at line 940 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 950 of file vm.c.

Referenced by dvdnav_get_video_scale_permission().

int vm_get_video_format ( vm_t vm  ) 

Definition at line 954 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 986 of file vm.c.

Referenced by dvdnav_get_spu_attr(), and dvdnav_spu_stream_to_lang().

ifo_handle_t* vm_get_title_ifo ( vm_t vm,
uint32_t  title 
)

Definition at line 2000 of file vm.c.

Referenced by dvdnav_describe_title_chapters().

void vm_ifo_close ( ifo_handle_t ifo  ) 

Definition at line 2011 of file vm.c.

Referenced by dvdnav_describe_title_chapters().

void vm_position_print ( vm_t vm,
vm_position_t position 
)

Definition at line 2019 of file vm.c.

Referenced by dvdnav_get_next_cache_block().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sun May 27 06:41:47 2012 for MythTV by  doxygen 1.6.3