hdmv_vm.h File Reference

Go to the source code of this file.

Classes

struct  hdmv_vm_event_s

Typedefs

typedef struct hdmv_vm_event_s HDMV_EVENT
typedef struct hdmv_vm_s HDMV_VM

Enumerations

enum  hdmv_event_e {
  HDMV_EVENT_NONE = 0, HDMV_EVENT_END, HDMV_EVENT_IG_END, HDMV_EVENT_TITLE,
  HDMV_EVENT_PLAY_PL, HDMV_EVENT_PLAY_PI, HDMV_EVENT_PLAY_PM, HDMV_EVENT_PLAY_STOP,
  HDMV_EVENT_STILL, HDMV_EVENT_SET_BUTTON_PAGE, HDMV_EVENT_ENABLE_BUTTON, HDMV_EVENT_DISABLE_BUTTON,
  HDMV_EVENT_POPUP_OFF
}

Functions

BD_PRIVATE HDMV_VMhdmv_vm_init (const char *disc_root, struct bd_registers_s *regs, struct indx_root_s *indx)
BD_PRIVATE void hdmv_vm_free (HDMV_VM **p)
BD_PRIVATE int hdmv_vm_select_object (HDMV_VM *p, int object)
BD_PRIVATE int hdmv_vm_set_object (HDMV_VM *p, int num_nav_cmds, void *nav_cmds)
BD_PRIVATE int hdmv_vm_run (HDMV_VM *p, HDMV_EVENT *ev)
BD_PRIVATE int hdmv_vm_get_event (HDMV_VM *p, HDMV_EVENT *ev)
BD_PRIVATE int hdmv_vm_running (HDMV_VM *p)
BD_PRIVATE uint32_t hdmv_vm_get_uo_mask (HDMV_VM *p)
BD_PRIVATE int hdmv_vm_suspend_pl (HDMV_VM *p)
 Suspend playlist playback.
BD_PRIVATE int hdmv_vm_resume (HDMV_VM *p)
 Resume HDMV execution.

Typedef Documentation

typedef struct hdmv_vm_event_s HDMV_EVENT
typedef struct hdmv_vm_s HDMV_VM

Definition at line 67 of file hdmv_vm.h.


Enumeration Type Documentation

Enumerator:
HDMV_EVENT_NONE 
HDMV_EVENT_END 
HDMV_EVENT_IG_END 
HDMV_EVENT_TITLE 
HDMV_EVENT_PLAY_PL 
HDMV_EVENT_PLAY_PI 
HDMV_EVENT_PLAY_PM 
HDMV_EVENT_PLAY_STOP 
HDMV_EVENT_STILL 
HDMV_EVENT_SET_BUTTON_PAGE 
HDMV_EVENT_ENABLE_BUTTON 
HDMV_EVENT_DISABLE_BUTTON 
HDMV_EVENT_POPUP_OFF 

Definition at line 31 of file hdmv_vm.h.


Function Documentation

BD_PRIVATE HDMV_VM* hdmv_vm_init ( const char *  disc_root,
struct bd_registers_s regs,
struct indx_root_s indx 
)

Definition at line 242 of file hdmv_vm.c.

Referenced by _play_hdmv().

BD_PRIVATE void hdmv_vm_free ( HDMV_VM **  p  ) 

Definition at line 272 of file hdmv_vm.c.

Referenced by bd_close(), and bd_play().

BD_PRIVATE int hdmv_vm_select_object ( HDMV_VM p,
int  object 
)

Definition at line 1007 of file hdmv_vm.c.

Referenced by _play_hdmv().

BD_PRIVATE int hdmv_vm_set_object ( HDMV_VM p,
int  num_nav_cmds,
void *  nav_cmds 
)

Definition at line 1018 of file hdmv_vm.c.

Referenced by _run_gc().

BD_PRIVATE int hdmv_vm_run ( HDMV_VM p,
HDMV_EVENT ev 
)

Definition at line 1183 of file hdmv_vm.c.

Referenced by _run_hdmv().

BD_PRIVATE int hdmv_vm_get_event ( HDMV_VM p,
HDMV_EVENT ev 
)

Definition at line 1045 of file hdmv_vm.c.

Referenced by _run_hdmv().

BD_PRIVATE int hdmv_vm_running ( HDMV_VM p  ) 

Definition at line 1056 of file hdmv_vm.c.

Referenced by _play_hdmv(), _run_gc(), _run_hdmv(), and bd_read_ext().

BD_PRIVATE uint32_t hdmv_vm_get_uo_mask ( HDMV_VM p  ) 

Definition at line 1067 of file hdmv_vm.c.

Referenced by bd_menu_call(), and bd_play_title().

BD_PRIVATE int hdmv_vm_suspend_pl ( HDMV_VM p  ) 

Suspend playlist playback.

This function assumes playlist is currently playing and movie object execution is suspended at PLAY_PL instruction.

If resume_intention_flag of current movie object is 1: Copy playback position PSRs to backup registers (suspend playlist playback at current position) If resume_intention_flag of current movie object is 0: Discard current movie object

Parameters:
p HDMV_VM object
Returns:
0 on success, -1 if error

Definition at line 1094 of file hdmv_vm.c.

Referenced by bd_menu_call().

BD_PRIVATE int hdmv_vm_resume ( HDMV_VM p  ) 

Resume HDMV execution.

Continue execution of movie object after playlist playback. Do not restore backup PSRs. This function is called when playlist playback ends.

Parameters:
p HDMV_VM object
Returns:
0 on success, -1 if error

Definition at line 1083 of file hdmv_vm.c.

Referenced by bd_read_ext().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:48 2012 for MythTV by  doxygen 1.6.3