Go to the source code of this file.
|
enum | _chd_error {
CHDERR_NONE,
CHDERR_NO_INTERFACE,
CHDERR_OUT_OF_MEMORY,
CHDERR_INVALID_FILE,
CHDERR_INVALID_PARAMETER,
CHDERR_INVALID_DATA,
CHDERR_FILE_NOT_FOUND,
CHDERR_REQUIRES_PARENT,
CHDERR_FILE_NOT_WRITEABLE,
CHDERR_READ_ERROR,
CHDERR_WRITE_ERROR,
CHDERR_CODEC_ERROR,
CHDERR_INVALID_PARENT,
CHDERR_HUNK_OUT_OF_RANGE,
CHDERR_DECOMPRESSION_ERROR,
CHDERR_COMPRESSION_ERROR,
CHDERR_CANT_CREATE_FILE,
CHDERR_CANT_VERIFY,
CHDERR_NOT_SUPPORTED,
CHDERR_METADATA_NOT_FOUND,
CHDERR_INVALID_METADATA_SIZE,
CHDERR_UNSUPPORTED_VERSION,
CHDERR_VERIFY_INCOMPLETE,
CHDERR_INVALID_METADATA,
CHDERR_INVALID_STATE,
CHDERR_OPERATION_PENDING,
CHDERR_NO_ASYNC_OPERATION,
CHDERR_UNSUPPORTED_FORMAT
} |
|
|
chd_error | chd_open_file (RFILE *file, int mode, chd_file *parent, chd_file **chd) |
|
chd_error | chd_open (const char *filename, int mode, chd_file *parent, chd_file **chd) |
|
chd_error | chd_precache (chd_file *chd) |
|
void | chd_close (chd_file *chd) |
|
RFILE * | chd_core_file (chd_file *chd) |
|
const char * | chd_error_string (chd_error err) |
|
const chd_header * | chd_get_header (chd_file *chd) |
|
chd_error | chd_read (chd_file *chd, UINT32 hunknum, void *buffer) |
|
chd_error | chd_get_metadata (chd_file *chd, UINT32 searchtag, UINT32 searchindex, void *output, UINT32 outputlen, UINT32 *resultlen, UINT32 *resulttag, UINT8 *resultflags) |
|
chd_error | chd_codec_config (chd_file *chd, int param, void *config) |
|
const char * | chd_get_codec_name (UINT32 codec) |
|
◆ __CHD_H__
◆ AV_CODEC_COMPRESS_CONFIG
#define AV_CODEC_COMPRESS_CONFIG 1 |
◆ AV_CODEC_DECOMPRESS_CONFIG
#define AV_CODEC_DECOMPRESS_CONFIG 2 |
◆ AV_LD_METADATA_TAG
#define AV_LD_METADATA_TAG 0x41564C44 /* 'AVLD' */ |
◆ AV_METADATA_FORMAT
#define AV_METADATA_FORMAT "FPS:%d.%06d WIDTH:%d HEIGHT:%d INTERLACED:%d CHANNELS:%d SAMPLERATE:%d" |
◆ AV_METADATA_TAG
#define AV_METADATA_TAG 0x41564156 /* 'AVAV' */ |
◆ CDROM_OLD_METADATA_TAG
#define CDROM_OLD_METADATA_TAG 0x43484344 /* 'CHCD' */ |
◆ CDROM_TRACK_METADATA2_FORMAT
#define CDROM_TRACK_METADATA2_FORMAT "TRACK:%d TYPE:%s SUBTYPE:%s FRAMES:%d PREGAP:%d PGTYPE:%s PGSUB:%s POSTGAP:%d" |
◆ CDROM_TRACK_METADATA2_TAG
#define CDROM_TRACK_METADATA2_TAG 0x43485432 /* 'CHT2' */ |
◆ CDROM_TRACK_METADATA_FORMAT
#define CDROM_TRACK_METADATA_FORMAT "TRACK:%d TYPE:%s SUBTYPE:%s FRAMES:%d" |
◆ CDROM_TRACK_METADATA_TAG
#define CDROM_TRACK_METADATA_TAG 0x43485452 /* 'CHTR' */ |
◆ CHD_HEADER_VERSION
#define CHD_HEADER_VERSION 5 |
◆ CHD_MAX_HEADER_SIZE
◆ CHD_MD5_BYTES
◆ CHD_MDFLAGS_CHECKSUM
#define CHD_MDFLAGS_CHECKSUM 0x01 /* indicates data is checksummed */ |
◆ CHD_METAINDEX_APPEND
#define CHD_METAINDEX_APPEND ((UINT32)-1) |
◆ CHD_OPEN_READ
◆ CHD_OPEN_READWRITE
#define CHD_OPEN_READWRITE 2 |
◆ CHD_SHA1_BYTES
#define CHD_SHA1_BYTES 20 |
◆ CHD_V1_HEADER_SIZE
#define CHD_V1_HEADER_SIZE 76 |
◆ CHD_V2_HEADER_SIZE
#define CHD_V2_HEADER_SIZE 80 |
◆ CHD_V3_HEADER_SIZE
#define CHD_V3_HEADER_SIZE 120 |
◆ CHD_V4_HEADER_SIZE
#define CHD_V4_HEADER_SIZE 108 |
◆ CHD_V5_HEADER_SIZE
#define CHD_V5_HEADER_SIZE 124 |
◆ CHDCOMPRESSION_AV
#define CHDCOMPRESSION_AV 3 |
◆ CHDCOMPRESSION_NONE
#define CHDCOMPRESSION_NONE 0 |
◆ CHDCOMPRESSION_ZLIB
#define CHDCOMPRESSION_ZLIB 1 |
◆ CHDCOMPRESSION_ZLIB_PLUS
#define CHDCOMPRESSION_ZLIB_PLUS 2 |
◆ CHDFLAGS_HAS_PARENT
#define CHDFLAGS_HAS_PARENT 0x00000001 |
◆ CHDFLAGS_IS_WRITEABLE
#define CHDFLAGS_IS_WRITEABLE 0x00000002 |
◆ CHDFLAGS_UNDEFINED
#define CHDFLAGS_UNDEFINED 0xfffffffc |
◆ CHDMETATAG_WILDCARD
#define CHDMETATAG_WILDCARD 0 |
◆ GDROM_TRACK_METADATA_FORMAT
#define GDROM_TRACK_METADATA_FORMAT "TRACK:%d TYPE:%s SUBTYPE:%s FRAMES:%d PAD:%d PREGAP:%d PGTYPE:%s PGSUB:%s POSTGAP:%d" |
◆ GDROM_TRACK_METADATA_TAG
#define GDROM_TRACK_METADATA_TAG 0x43484744 /* 'CHTD' */ |
◆ HARD_DISK_IDENT_METADATA_TAG
#define HARD_DISK_IDENT_METADATA_TAG 0x49444e54 /* 'IDNT' */ |
◆ HARD_DISK_KEY_METADATA_TAG
#define HARD_DISK_KEY_METADATA_TAG 0x4b455920 /* 'KEY ' */ |
◆ HARD_DISK_METADATA_FORMAT
#define HARD_DISK_METADATA_FORMAT "CYLS:%d,HEADS:%d,SECS:%d,BPS:%d" |
◆ HARD_DISK_METADATA_TAG
#define HARD_DISK_METADATA_TAG 0x47444444 /* 'GDDD' */ |
◆ PCMCIA_CIS_METADATA_TAG
#define PCMCIA_CIS_METADATA_TAG 0x43495320 /* 'CIS ' */ |
◆ chd_error
◆ chd_file
◆ chd_header
◆ chd_verify_result
◆ _chd_error
Enumerator |
---|
CHDERR_NONE | |
CHDERR_NO_INTERFACE | |
CHDERR_OUT_OF_MEMORY | |
CHDERR_INVALID_FILE | |
CHDERR_INVALID_PARAMETER | |
CHDERR_INVALID_DATA | |
CHDERR_FILE_NOT_FOUND | |
CHDERR_REQUIRES_PARENT | |
CHDERR_FILE_NOT_WRITEABLE | |
CHDERR_READ_ERROR | |
CHDERR_WRITE_ERROR | |
CHDERR_CODEC_ERROR | |
CHDERR_INVALID_PARENT | |
CHDERR_HUNK_OUT_OF_RANGE | |
CHDERR_DECOMPRESSION_ERROR | |
CHDERR_COMPRESSION_ERROR | |
CHDERR_CANT_CREATE_FILE | |
CHDERR_CANT_VERIFY | |
CHDERR_NOT_SUPPORTED | |
CHDERR_METADATA_NOT_FOUND | |
CHDERR_INVALID_METADATA_SIZE | |
CHDERR_UNSUPPORTED_VERSION | |
CHDERR_VERIFY_INCOMPLETE | |
CHDERR_INVALID_METADATA | |
CHDERR_INVALID_STATE | |
CHDERR_OPERATION_PENDING | |
CHDERR_NO_ASYNC_OPERATION | |
CHDERR_UNSUPPORTED_FORMAT | |
◆ chd_close()
◆ chd_codec_config()
◆ chd_core_file()
◆ chd_error_string()
◆ chd_get_codec_name()
◆ chd_get_header()
◆ chd_get_metadata()
◆ chd_open()
◆ chd_open_file()
◆ chd_precache()
◆ chd_read()
◆ s_cd_sync_header