mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Implement CD ECC and EDC.
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#pragma pack(push, 1)
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <dic.h>
|
||||
#include "enums.h"
|
||||
|
||||
@@ -309,6 +310,14 @@ typedef struct Crc64Context
|
||||
uint64_t hashInt;
|
||||
} Crc64Context;
|
||||
|
||||
typedef struct CdEccContext
|
||||
{
|
||||
bool initedEdc;
|
||||
uint8_t *eccBTable;
|
||||
uint8_t *eccFTable;
|
||||
uint32_t *edcTable;
|
||||
} CdEccContext;
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#endif //LIBDICFORMAT_STRUCTS_H
|
||||
|
||||
Reference in New Issue
Block a user