vm.h File Reference

Go to the source code of this file.

Classes

struct  dvd_state_t
 State: SPRM, GPRM, Domain, pgc, pgN, cellN, ? More...
struct  vm_position_s
struct  vm_t

Typedefs

typedef struct vm_position_s vm_position_t

Enumerations

enum  domain_t { FP_DOMAIN = 1, VTS_DOMAIN = 2, VMGM_DOMAIN = 4, VTSM_DOMAIN = 8 }

Functions

vm_tvm_new_vm (void)
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 *vm)
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_title_program (vm_t *vm, int title, int pgcn, int pgn)
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)

Typedef Documentation

typedef struct vm_position_s vm_position_t

Enumeration Type Documentation

enum domain_t
Enumerator:
FP_DOMAIN 
VTS_DOMAIN 
VMGM_DOMAIN 
VTSM_DOMAIN 

Definition at line 28 of file vm.h.


Function Documentation

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 vm  ) 

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_part ( vm_t vm,
int  title,
int  part 
)

Definition at line 544 of file vm.c.

Referenced by dvdnav_part_play().

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_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 Mon May 28 06:41:49 2012 for MythTV by  doxygen 1.6.3