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_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_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)
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 34 of file vm.h.


Function Documentation

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

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_subp_info ( vm_t vm,
int *  current,
int *  num_avail 
)

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