Logo Search packages:      
Sourcecode: vcdimager version File versions

info.h File Reference


Detailed Description

Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Foundation
    Software, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 

Definition in file info.h.

#include <libvcd/version.h>
#include <libvcd/types.h>
#include <libvcd/files.h>
#include <cdio/cdio.h>
#include <cdio/ds.h>
#include <libvcd/inf.h>

Go to the source code of this file.

Classes

struct  PsdListDescriptor_t
struct  vcdinfo_itemid_t
struct  vcdinfo_offset_t

Defines

#define MAX_ALBUM_LEN   16
#define MAX_ENCODED_SEGMENT_NUM   2979
#define MAX_PBC_SELECTIONS   99
#define MIN_ENCODED_SEGMENT_NUM   1000
#define MIN_ENCODED_TRACK_NUM   100
#define PsdListDescriptor   PsdListDescriptor_t
#define VCDINFO_INVALID_AUDIO_TYPE   4
#define VCDINFO_INVALID_BSN   200
#define VCDINFO_INVALID_ENTRY   0xFFFF
#define VCDINFO_INVALID_ITEMID   0xFFFF
#define VCDINFO_INVALID_LID   VCDINFO_INVALID_ENTRY
#define VCDINFO_INVALID_OFFSET   0xFFFF
#define VCDINFO_INVALID_TRACK   0xFF
#define VCDINFO_LEADOUT_TRACK   0xaa
#define VCDINFO_LID_MASK   (VCDINFO_REJECTED_MASK-1)
#define VCDINFO_NULL_LBA   CDIO_INVALID_LBA
#define VCDINFO_NULL_LSN   VCDINFO_NULL_LBA
#define VCDINFO_OFFSET_MASK   (VCDINFO_REJECTED_MASK-1)
#define VCDINFO_REJECTED_MASK   (0x8000)
#define VCDINFO_SEGMENT_SECTOR_SIZE   150
#define VCDINFO_UNINIT_LID   0

Typedefs

typedef struct _VcdInfo vcdinfo_obj_t

Enumerations

enum  vcdinfo_item_enum_t {
  VCDINFO_ITEM_TYPE_TRACK, VCDINFO_ITEM_TYPE_ENTRY, VCDINFO_ITEM_TYPE_SEGMENT, VCDINFO_ITEM_TYPE_LID,
  VCDINFO_ITEM_TYPE_SPAREID2, VCDINFO_ITEM_TYPE_NOTFOUND
}
enum  vcdinfo_open_return_t { VCDINFO_OPEN_ERROR, VCDINFO_OPEN_VCD, VCDINFO_OPEN_OTHER }
enum  vcdinfo_video_segment_type_t {
  VCDINFO_FILES_VIDEO_NOSTREAM = 0, VCDINFO_FILES_VIDEO_NTSC_STILL = 1, VCDINFO_FILES_VIDEO_NTSC_STILL2 = 2, VCDINFO_FILES_VIDEO_NTSC_MOTION = 3,
  VCDINFO_FILES_VIDEO_PAL_STILL = 5, VCDINFO_FILES_VIDEO_PAL_STILL2 = 6, VCDINFO_FILES_VIDEO_PAL_MOTION = 7, VCDINFO_FILES_VIDEO_INVALID = 8
}

Functions

const char * vcdinfo_audio_type2str (const vcdinfo_obj_t *obj, unsigned int audio_type)
unsigned int vcdinfo_audio_type_num_channels (const vcdinfo_obj_t *obj, unsigned int audio_type)
void vcdinfo_classify_itemid (uint16_t itemid_num, vcdinfo_itemid_t *itemid)
 Classify itemid_num into the kind of item it is: track #, entry #, segment #.
bool vcdinfo_close (vcdinfo_obj_t *obj)
const char * vcdinfo_get_album_id (const vcdinfo_obj_t *obj)
char * vcdinfo_get_application_id (vcdinfo_obj_t *obj)
CdIo * vcdinfo_get_cd_image (const vcdinfo_obj_t *vcd_obj)
char * vcdinfo_get_default_device (const vcdinfo_obj_t *vcd_obj)
uint16_t vcdinfo_get_default_offset (const vcdinfo_obj_t *obj, lid_t lid)
 Get default LID offset.
EntriesVcd_t * vcdinfo_get_entriesVcd (vcdinfo_obj_t *obj)
lba_t vcdinfo_get_entry_lba (const vcdinfo_obj_t *obj, unsigned int entry_num)
lsn_t vcdinfo_get_entry_lsn (const vcdinfo_obj_t *obj, unsigned int entry_num)
const msf_t * vcdinfo_get_entry_msf (const vcdinfo_obj_t *obj, unsigned int entry_num)
uint32_t vcdinfo_get_entry_sect_count (const vcdinfo_obj_t *obj, unsigned int entry_num)
vcd_type_t vcdinfo_get_format_version (vcdinfo_obj_t *obj)
const char * vcdinfo_get_format_version_str (const vcdinfo_obj_t *obj)
InfoVcd_t * vcdinfo_get_infoVcd (vcdinfo_obj_t *obj)
LotVcd_t * vcdinfo_get_lot (const vcdinfo_obj_t *obj)
LotVcd_t * vcdinfo_get_lot_x (const vcdinfo_obj_t *obj)
lid_t vcdinfo_get_multi_default_lid (const vcdinfo_obj_t *obj, lid_t lid, lsn_t lsn)
 Get default or multi-default LID.
uint16_t vcdinfo_get_multi_default_offset (const vcdinfo_obj_t *obj, lid_t lid, unsigned int selection)
 Get default or multi-default LID offset.
unsigned int vcdinfo_get_num_audio_channels (unsigned int audio_type)
unsigned int vcdinfo_get_num_entries (const vcdinfo_obj_t *obj)
lid_t vcdinfo_get_num_LIDs (const vcdinfo_obj_t *obj)
segnum_t vcdinfo_get_num_segments (const vcdinfo_obj_t *obj)
unsigned int vcdinfo_get_num_tracks (const vcdinfo_obj_t *obj)
CdioList * vcdinfo_get_offset_list (const vcdinfo_obj_t *obj)
unsigned int vcdinfo_get_offset_mult (const vcdinfo_obj_t *obj)
vcdinfo_offset_tvcdinfo_get_offset_t (const vcdinfo_obj_t *obj, unsigned int offset)
CdioList * vcdinfo_get_offset_x_list (const vcdinfo_obj_t *obj)
const char * vcdinfo_get_preparer_id (const vcdinfo_obj_t *obj)
uint8_t * vcdinfo_get_psd (const vcdinfo_obj_t *obj)
uint32_t vcdinfo_get_psd_size (const vcdinfo_obj_t *obj)
uint8_t * vcdinfo_get_psd_x (const vcdinfo_obj_t *obj)
uint32_t vcdinfo_get_psd_x_size (const vcdinfo_obj_t *obj)
const char * vcdinfo_get_publisher_id (const vcdinfo_obj_t *obj)
void * vcdinfo_get_pvd (vcdinfo_obj_t *obj)
lid_t vcdinfo_get_return_offset (const vcdinfo_obj_t *obj, lid_t lid)
void * vcdinfo_get_scandata (vcdinfo_obj_t *obj)
void * vcdinfo_get_searchDat (vcdinfo_obj_t *obj)
unsigned int vcdinfo_get_seg_audio_type (const vcdinfo_obj_t *obj, segnum_t seg_num)
bool vcdinfo_get_seg_continue (const vcdinfo_obj_t *obj, segnum_t seg_num)
lba_t vcdinfo_get_seg_lba (const vcdinfo_obj_t *obj, segnum_t seg_num)
lsn_t vcdinfo_get_seg_lsn (const vcdinfo_obj_t *obj, segnum_t seg_num)
const msf_t * vcdinfo_get_seg_msf (const vcdinfo_obj_t *obj, segnum_t seg_num)
uint32_t vcdinfo_get_seg_sector_count (const vcdinfo_obj_t *obj, segnum_t seg_num)
const char * vcdinfo_get_system_id (const vcdinfo_obj_t *obj)
track_t vcdinfo_get_track (const vcdinfo_obj_t *obj, const unsigned int entry_num)
unsigned int vcdinfo_get_track_audio_type (const vcdinfo_obj_t *obj, track_t track_num)
lba_t vcdinfo_get_track_lba (const vcdinfo_obj_t *obj, track_t track_num)
lsn_t vcdinfo_get_track_lsn (const vcdinfo_obj_t *obj, track_t track_num)
int vcdinfo_get_track_msf (const vcdinfo_obj_t *obj, track_t track_num, uint8_t *min, uint8_t *sec, uint8_t *frame)
unsigned int vcdinfo_get_track_sect_count (const vcdinfo_obj_t *obj, const track_t track_num)
unsigned int vcdinfo_get_track_size (const vcdinfo_obj_t *obj, track_t track_num)
void * vcdinfo_get_tracksSVD (vcdinfo_obj_t *obj)
vcd_type_t vcdinfo_get_VCD_type (const vcdinfo_obj_t *obj)
 Get the kind of VCD that obj refers to.
vcdinfo_video_segment_type_t vcdinfo_get_video_type (const vcdinfo_obj_t *obj, segnum_t seg_num)
 Get the kind of video stream segment of segment seg_num in obj.
unsigned int vcdinfo_get_volume_count (const vcdinfo_obj_t *obj)
const char * vcdinfo_get_volume_id (const vcdinfo_obj_t *obj)
unsigned int vcdinfo_get_volume_num (const vcdinfo_obj_t *obj)
const char * vcdinfo_get_volumeset_id (const vcdinfo_obj_t *obj)
int vcdinfo_get_wait_time (uint16_t wtime)
bool vcdinfo_has_pbc (const vcdinfo_obj_t *obj)
bool vcdinfo_has_xa (const vcdinfo_obj_t *obj)
void vcdinfo_inc_msf (uint8_t *min, uint8_t *sec, int8_t *frame)
bool vcdinfo_init (vcdinfo_obj_t *obj)
bool vcdinfo_is_rejected (uint16_t offset)
void vcdinfo_lba2msf (lba_t lba, uint8_t *min, uint8_t *sec, uint8_t *frame)
uint16_t vcdinfo_lid_get_itemid (const vcdinfo_obj_t *obj, lid_t lid)
uint16_t vcdinfo_lid_get_offset (const vcdinfo_obj_t *obj, lid_t lid, unsigned int entry_num)
bool vcdinfo_lid_get_pxd (const vcdinfo_obj_t *obj, PsdListDescriptor_t *pxd, uint16_t lid)
unsigned int vcdinfo_lsn_get_entry (const vcdinfo_obj_t *obj, lsn_t lsn)
lba_t vcdinfo_msf2lba (uint8_t min, uint8_t sec, int8_t frame)
lsn_t vcdinfo_msf2lsn (uint8_t min, uint8_t sec, int8_t frame)
const char * vcdinfo_ofs2str (const vcdinfo_obj_t *obj, unsigned int offset, bool ext)
const char * vcdinfo_ogt2str (const vcdinfo_obj_t *obj, segnum_t seg_num)
vcdinfo_open_return_t vcdinfo_open (vcdinfo_obj_t **p_obj, char *source_name[], driver_id_t source_type, const char access_mode[])
const char * vcdinfo_pin2str (uint16_t itemid)
bool vcdinfo_read_psd (vcdinfo_obj_t *obj)
lid_t vcdinfo_selection_get_lid (const vcdinfo_obj_t *obj, lid_t lid, unsigned int selection)
 Get the "default" lid of a selection for a given lid.
uint16_t vcdinfo_selection_get_offset (const vcdinfo_obj_t *obj, lid_t lid, unsigned int selection)
 Get offset of a selection for a given LID.
const char * vcdinfo_strip_trail (const char str[], size_t n)
unsigned int vcdinfo_track_get_entry (const vcdinfo_obj_t *obj, track_t track)
const char * vcdinfo_video_type2str (const vcdinfo_obj_t *obj, segnum_t seg_num)
bool vcdinfo_visit_lot (vcdinfo_obj_t *obj, bool extended)


Generated by  Doxygen 1.6.0   Back to index