|
World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Классы | |
| struct | DiracVersionInfo |
| struct | AVDiracSeqHeader |
Определения типов | |
| typedef struct DiracVersionInfo | DiracVersionInfo |
| typedef struct AVDiracSeqHeader | AVDiracSeqHeader |
Перечисления | |
| enum | DiracParseCodes { DIRAC_PCODE_SEQ_HEADER = 0x00, DIRAC_PCODE_END_SEQ = 0x10, DIRAC_PCODE_AUX = 0x20, DIRAC_PCODE_PAD = 0x30, DIRAC_PCODE_PICTURE_CODED = 0x08, DIRAC_PCODE_PICTURE_RAW = 0x48, DIRAC_PCODE_PICTURE_LOW_DEL = 0xC8, DIRAC_PCODE_PICTURE_HQ = 0xE8, DIRAC_PCODE_INTER_NOREF_CO1 = 0x0A, DIRAC_PCODE_INTER_NOREF_CO2 = 0x09, DIRAC_PCODE_INTER_REF_CO1 = 0x0D, DIRAC_PCODE_INTER_REF_CO2 = 0x0E, DIRAC_PCODE_INTRA_REF_CO = 0x0C, DIRAC_PCODE_INTRA_REF_RAW = 0x4C, DIRAC_PCODE_INTRA_REF_PICT = 0xCC, DIRAC_PCODE_MAGIC = 0x42424344 } |
Функции | |
| int | av_dirac_parse_sequence_header (AVDiracSeqHeader **dsh, const uint8_t *buf, size_t buf_size, void *log_ctx) |
Interface to Dirac Decoder/Encoder
См. определение в файле dirac.h
| typedef struct DiracVersionInfo DiracVersionInfo |
| typedef struct AVDiracSeqHeader AVDiracSeqHeader |
| enum DiracParseCodes |
Parse code values:
Dirac Specification -> 9.6.1 Table 9.1
VC-2 Specification -> 10.4.1 Table 10.1
См. определение в файле dirac.h строка 57
| int av_dirac_parse_sequence_header | ( | AVDiracSeqHeader ** | dsh, |
| const uint8_t * | buf, | ||
| size_t | buf_size, | ||
| void * | log_ctx | ||
| ) |
Parse a Dirac sequence header.
| dsh | this function will allocate and fill an AVDiracSeqHeader struct and write it into this pointer. The caller must free it with av_free(). |
| buf | the data buffer |
| buf_size | the size of the data buffer in bytes |
| log_ctx | if non-NULL, this function will log errors here |