Class CodecTags
Defines CHD v5 codec tag constants and conversion utilities.
public static class CodecTags
- Inheritance
-
CodecTags
- Inherited Members
Fields
Avhu
A/V Huffman (laserdisc) codec tag.
public const uint Avhu = 1635149941
Field Value
Cdfl
CD FLAC codec tag (implemented by the encoder; CD-sized hunks only).
public const uint Cdfl = 1667524204
Field Value
Cdlz
CD LZMA codec tag (recognized but not implemented by the encoder yet).
public const uint Cdlz = 1667525754
Field Value
Cdzl
CD zlib codec tag (recognized but not implemented by the encoder yet).
public const uint Cdzl = 1667529324
Field Value
Cdzs
CD Zstandard codec tag (recognized but not implemented by the encoder yet).
public const uint Cdzs = 1667529331
Field Value
Flac
FLAC (audio) codec tag (recognized but not implemented by the encoder yet).
public const uint Flac = 1718378851
Field Value
Huff
Huffman (MAME generic) codec tag (recognized but not implemented by the encoder yet).
public const uint Huff = 1752524390
Field Value
Lzma
LZMA compression codec tag.
public const uint Lzma = 1819962721
Field Value
None
No-compression codec tag (recognized but not supported by the encoder yet).
public const uint None = 0
Field Value
Zlib
Zlib (deflate) compression codec tag.
public const uint Zlib = 2053925218
Field Value
Zstd
Zstandard compression codec tag.
public const uint Zstd = 2054386788
Field Value
Methods
FromName(string)
Converts a codec name ("zlib", "huff", ...) to its tag.
public static uint FromName(string name)
Parameters
namestringThe codec name.
Returns
- uint
The codec tag.
Exceptions
- ArgumentException
An unknown codec name was supplied.
ToString(uint)
Converts a 32-bit codec tag to a four-character ASCII string.
public static string ToString(uint tag)
Parameters
taguintThe codec tag value.
Returns
- string
A 4-character string representation of the tag.