dvdnav.c File Reference

Go to the source code of this file.

Functions

static dvdnav_status_t dvdnav_clear (dvdnav_t *this)
dvdnav_status_t dvdnav_open (dvdnav_t **dest, const char *path)
dvdnav_status_t dvdnav_close (dvdnav_t *this)
dvdnav_status_t dvdnav_reset (dvdnav_t *this)
dvdnav_status_t dvdnav_path (dvdnav_t *this, const char **path)
const char * dvdnav_err_to_string (dvdnav_t *this)
int64_t dvdnav_convert_time (dvd_time_t *time)
 HELPER FUNCTIONS.
static int32_t dvdnav_decode_packet (dvdnav_t *this, uint8_t *p, dsi_t *nav_dsi, pci_t *nav_pci)
static int32_t dvdnav_get_vobu (dvdnav_t *this, dsi_t *nav_dsi, pci_t *nav_pci, dvdnav_vobu_t *vobu)
dvdnav_status_t dvdnav_get_next_block (dvdnav_t *this, uint8_t *buf, int32_t *event, int32_t *len)
int64_t dvdnav_get_current_time (dvdnav_t *this)
dvdnav_status_t dvdnav_get_next_cache_block (dvdnav_t *this, uint8_t **buf, int32_t *event, int32_t *len)
dvdnav_status_t dvdnav_get_title_string (dvdnav_t *this, const char **title_str)
dvdnav_status_t dvdnav_get_serial_string (dvdnav_t *this, const char **serial_str)
uint8_t dvdnav_get_video_aspect (dvdnav_t *this)
int dvdnav_get_video_resolution (dvdnav_t *this, uint32_t *width, uint32_t *height)
uint8_t dvdnav_get_video_scale_permission (dvdnav_t *this)
uint8_t dvdnav_get_video_format (dvdnav_t *this)
uint16_t dvdnav_audio_stream_to_lang (dvdnav_t *this, uint8_t stream)
uint16_t dvdnav_audio_stream_format (dvdnav_t *this, uint8_t stream)
uint16_t dvdnav_audio_stream_channels (dvdnav_t *this, uint8_t stream)
uint16_t dvdnav_spu_stream_to_lang (dvdnav_t *this, uint8_t stream)
int8_t dvdnav_get_audio_logical_stream (dvdnav_t *this, uint8_t audio_num)
dvdnav_status_t dvdnav_get_audio_attr (dvdnav_t *this, uint8_t audio_num, audio_attr_t *audio_attr)
int8_t dvdnav_get_spu_logical_stream (dvdnav_t *this, uint8_t subp_num)
dvdnav_status_t dvdnav_get_spu_attr (dvdnav_t *this, uint8_t audio_num, subp_attr_t *subp_attr)
int8_t dvdnav_get_active_audio_stream (dvdnav_t *this)
int8_t dvdnav_set_active_audio_stream (dvdnav_t *this, int8_t stream)
int8_t dvdnav_get_active_spu_stream (dvdnav_t *this)
static int8_t dvdnav_is_domain (dvdnav_t *this, domain_t domain)
int8_t dvdnav_is_domain_fp (dvdnav_t *this)
int8_t dvdnav_is_domain_vmgm (dvdnav_t *this)
int8_t dvdnav_is_domain_vtsm (dvdnav_t *this)
int8_t dvdnav_is_domain_vts (dvdnav_t *this)
dvdnav_status_t dvdnav_angle_change (dvdnav_t *this, int32_t angle)
dvdnav_status_t dvdnav_get_angle_info (dvdnav_t *this, int32_t *current_angle, int32_t *number_of_angles)
pci_t * dvdnav_get_current_nav_pci (dvdnav_t *this)
dsi_t * dvdnav_get_current_nav_dsi (dvdnav_t *this)
uint32_t dvdnav_get_next_still_flag (dvdnav_t *this)
user_ops_t dvdnav_get_restrictions (dvdnav_t *this)

Function Documentation

static dvdnav_status_t dvdnav_clear ( dvdnav_t this  )  [static]

Definition at line 48 of file dvdnav.c.

Referenced by dvdnav_open(), and dvdnav_reset().

dvdnav_status_t dvdnav_open ( dvdnav_t **  dest,
const char *  path 
)

Definition at line 74 of file dvdnav.c.

Referenced by DVDInfo::DVDInfo(), and DVDRingBuffer::OpenFile().

dvdnav_status_t dvdnav_close ( dvdnav_t this  ) 

Definition at line 128 of file dvdnav.c.

Referenced by DVDRingBuffer::CloseDVD(), and DVDInfo::~DVDInfo().

dvdnav_status_t dvdnav_reset ( dvdnav_t this  ) 

Definition at line 161 of file dvdnav.c.

dvdnav_status_t dvdnav_path ( dvdnav_t this,
const char **  path 
)

Definition at line 187 of file dvdnav.c.

const char* dvdnav_err_to_string ( dvdnav_t this  ) 

Definition at line 193 of file dvdnav.c.

Referenced by DVDRingBuffer::safe_read().

int64_t dvdnav_convert_time ( dvd_time_t *  time  ) 
static int32_t dvdnav_decode_packet ( dvdnav_t this,
uint8_t p,
dsi_t *  nav_dsi,
pci_t *  nav_pci 
) [static]

Definition at line 231 of file dvdnav.c.

Referenced by dvdnav_get_next_cache_block().

static int32_t dvdnav_get_vobu ( dvdnav_t this,
dsi_t *  nav_dsi,
pci_t *  nav_pci,
dvdnav_vobu_t vobu 
) [static]

Definition at line 296 of file dvdnav.c.

Referenced by dvdnav_get_next_cache_block().

dvdnav_status_t dvdnav_get_next_block ( dvdnav_t this,
uint8_t buf,
int32_t event,
int32_t len 
)

Definition at line 373 of file dvdnav.c.

int64_t dvdnav_get_current_time ( dvdnav_t this  ) 

Definition at line 388 of file dvdnav.c.

Referenced by DVDRingBuffer::safe_read().

dvdnav_status_t dvdnav_get_next_cache_block ( dvdnav_t this,
uint8_t **  buf,
int32_t event,
int32_t len 
)

Definition at line 405 of file dvdnav.c.

Referenced by dvdnav_get_next_block(), and DVDRingBuffer::safe_read().

dvdnav_status_t dvdnav_get_title_string ( dvdnav_t this,
const char **  title_str 
)

Definition at line 823 of file dvdnav.c.

Referenced by DVDInfo::DVDInfo(), and DVDRingBuffer::OpenFile().

dvdnav_status_t dvdnav_get_serial_string ( dvdnav_t this,
const char **  serial_str 
)

Definition at line 828 of file dvdnav.c.

Referenced by DVDInfo::DVDInfo(), and DVDRingBuffer::OpenFile().

uint8_t dvdnav_get_video_aspect ( dvdnav_t this  ) 

Definition at line 833 of file dvdnav.c.

Referenced by DVDRingBuffer::safe_read().

int dvdnav_get_video_resolution ( dvdnav_t this,
uint32_t width,
uint32_t height 
)

Definition at line 848 of file dvdnav.c.

uint8_t dvdnav_get_video_scale_permission ( dvdnav_t this  ) 

Definition at line 865 of file dvdnav.c.

Referenced by DVDRingBuffer::safe_read().

uint8_t dvdnav_get_video_format ( dvdnav_t this  ) 

Definition at line 880 of file dvdnav.c.

Referenced by DVDRingBuffer::GetFrameRate().

uint16_t dvdnav_audio_stream_to_lang ( dvdnav_t this,
uint8_t  stream 
)

Definition at line 899 of file dvdnav.c.

Referenced by DVDRingBuffer::GetAudioLanguage().

uint16_t dvdnav_audio_stream_format ( dvdnav_t this,
uint8_t  stream 
)

Definition at line 917 of file dvdnav.c.

uint16_t dvdnav_audio_stream_channels ( dvdnav_t this,
uint8_t  stream 
)

Definition at line 955 of file dvdnav.c.

Referenced by DVDRingBuffer::GetNumAudioChannels().

uint16_t dvdnav_spu_stream_to_lang ( dvdnav_t this,
uint8_t  stream 
)

Definition at line 970 of file dvdnav.c.

Referenced by DVDRingBuffer::GetSubtitleLanguage().

int8_t dvdnav_get_audio_logical_stream ( dvdnav_t this,
uint8_t  audio_num 
)

Definition at line 988 of file dvdnav.c.

Referenced by DVDRingBuffer::GetAudioTrackNum(), and DVDRingBuffer::GetAudioTrackType().

dvdnav_status_t dvdnav_get_audio_attr ( dvdnav_t this,
uint8_t  audio_num,
audio_attr_t *  audio_attr 
)

Definition at line 1008 of file dvdnav.c.

Referenced by DVDRingBuffer::GetAudioTrackType().

int8_t dvdnav_get_spu_logical_stream ( dvdnav_t this,
uint8_t  subp_num 
)

Definition at line 1025 of file dvdnav.c.

dvdnav_status_t dvdnav_get_spu_attr ( dvdnav_t this,
uint8_t  audio_num,
subp_attr_t *  subp_attr 
)

Definition at line 1045 of file dvdnav.c.

int8_t dvdnav_get_active_audio_stream ( dvdnav_t this  ) 

Definition at line 1061 of file dvdnav.c.

Referenced by DVDRingBuffer::safe_read().

int8_t dvdnav_set_active_audio_stream ( dvdnav_t this,
int8_t  stream 
)

Definition at line 1081 of file dvdnav.c.

Referenced by DVDRingBuffer::SetTrack().

int8_t dvdnav_get_active_spu_stream ( dvdnav_t this  ) 

Definition at line 1102 of file dvdnav.c.

Referenced by DVDRingBuffer::safe_read().

static int8_t dvdnav_is_domain ( dvdnav_t this,
domain_t  domain 
) [static]
int8_t dvdnav_is_domain_fp ( dvdnav_t this  ) 

Definition at line 1138 of file dvdnav.c.

int8_t dvdnav_is_domain_vmgm ( dvdnav_t this  ) 

Definition at line 1142 of file dvdnav.c.

int8_t dvdnav_is_domain_vtsm ( dvdnav_t this  ) 

Definition at line 1146 of file dvdnav.c.

int8_t dvdnav_is_domain_vts ( dvdnav_t this  ) 

Definition at line 1150 of file dvdnav.c.

Referenced by DVDRingBuffer::safe_read().

dvdnav_status_t dvdnav_angle_change ( dvdnav_t this,
int32_t  angle 
)

Definition at line 1155 of file dvdnav.c.

Referenced by dvdnav_get_vobu(), and DVDRingBuffer::SwitchAngle().

dvdnav_status_t dvdnav_get_angle_info ( dvdnav_t this,
int32_t current_angle,
int32_t number_of_angles 
)

Definition at line 1173 of file dvdnav.c.

Referenced by DVDRingBuffer::OpenFile().

pci_t* dvdnav_get_current_nav_pci ( dvdnav_t this  ) 
dsi_t* dvdnav_get_current_nav_dsi ( dvdnav_t this  ) 

Definition at line 1187 of file dvdnav.c.

Referenced by dvdnav_relative_time_search(), and DVDRingBuffer::safe_read().

uint32_t dvdnav_get_next_still_flag ( dvdnav_t this  ) 

Definition at line 1192 of file dvdnav.c.

Referenced by DVDRingBuffer::OpenFile(), and DVDRingBuffer::safe_read().

user_ops_t dvdnav_get_restrictions ( dvdnav_t this  ) 

Definition at line 1197 of file dvdnav.c.

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