RetroArch
Macros | Typedefs | Functions | Variables
7zCrc.c File Reference
#include <stdint.h>
#include "7zCrc.h"
#include "CpuArch.h"
Include dependency graph for 7zCrc.c:

Macros

#define kCrcPoly   0xEDB88320
 
#define CRC_NUM_TABLES   8
 

Typedefs

typedef uint32_t(MY_FAST_CALLCRC_FUNC) (uint32_t v, const void *data, size_t size, const uint32_t *table)
 

Functions

uint32_t MY_FAST_CALL CrcUpdateT4 (uint32_t v, const void *data, size_t size, const uint32_t *table)
 
uint32_t MY_FAST_CALL CrcUpdateT8 (uint32_t v, const void *data, size_t size, const uint32_t *table)
 
uint32_t MY_FAST_CALL CrcUpdate (uint32_t v, const void *data, size_t size)
 
uint32_t MY_FAST_CALL CrcCalc (const void *data, size_t size)
 
void MY_FAST_CALL CrcGenerateTable (void)
 

Variables

static CRC_FUNC g_CrcUpdate
 
uint32_t g_CrcTable [256 *CRC_NUM_TABLES]
 

Macro Definition Documentation

◆ CRC_NUM_TABLES

#define CRC_NUM_TABLES   8

◆ kCrcPoly

#define kCrcPoly   0xEDB88320

Typedef Documentation

◆ CRC_FUNC

typedef uint32_t(MY_FAST_CALL * CRC_FUNC) (uint32_t v, const void *data, size_t size, const uint32_t *table)

Function Documentation

◆ CrcCalc()

uint32_t MY_FAST_CALL CrcCalc ( const void data,
size_t  size 
)
Here is the caller graph for this function:

◆ CrcGenerateTable()

void MY_FAST_CALL CrcGenerateTable ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CrcUpdate()

uint32_t MY_FAST_CALL CrcUpdate ( uint32_t  v,
const void data,
size_t  size 
)

◆ CrcUpdateT4()

uint32_t MY_FAST_CALL CrcUpdateT4 ( uint32_t  v,
const void data,
size_t  size,
const uint32_t table 
)
Here is the caller graph for this function:

◆ CrcUpdateT8()

uint32_t MY_FAST_CALL CrcUpdateT8 ( uint32_t  v,
const void data,
size_t  size,
const uint32_t table 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ g_CrcTable

uint32_t g_CrcTable[256 *CRC_NUM_TABLES]

◆ g_CrcUpdate

CRC_FUNC g_CrcUpdate
static