Macros
FastCRCsw.cpp File Reference
#include "FastCRC.h"
#include "FastCRC_tables.hpp"
Include dependency graph for FastCRCsw.cpp:

Go to the source code of this file.

Macros

#define crc_n4(crc, data, table)
 
#define crc_n4d(crc, data, table)
 
#define CRC_TABLE_CRC32   crc_table_crc32
 
#define crcsm_n4d(crc, data, table)
 

Macro Definition Documentation

#define crc_n4 (   crc,
  data,
  table 
)
Value:
crc ^= data; \
crc = (table[(crc & 0xff) + 0x300]) ^ (table[((crc >> 8) & 0xff) + 0x200]) ^ \
(table[((data >> 16) & 0xff) + 0x100]) ^ (table[data >> 24]);

Definition at line 45 of file FastCRCsw.cpp.

#define crc_n4d (   crc,
  data,
  table 
)
Value:
crc ^= data; \
crc = (table[(crc & 0xff) + 0x300]) ^ (table[((crc >> 8) & 0xff) + 0x200]) ^ \
(table[((crc >> 16) & 0xff) + 0x100]) ^ (table[(crc >> 24) & 0xff]);

Definition at line 87 of file FastCRCsw.cpp.

#define CRC_TABLE_CRC32   crc_table_crc32

CRC32 Alias CRC-32/ADCCP, PKZIP, Ethernet, 802.3

Parameters
dataPointer to Data
datalenLength of Data
Returns
CRC value

Definition at line 108 of file FastCRCsw.cpp.

#define crcsm_n4d (   crc,
  data,
  table 
)
Value:
crc ^= data; \
crc = (crc >> 8) ^ (table[crc & 0xff]); \
crc = (crc >> 8) ^ (table[crc & 0xff]); \
crc = (crc >> 8) ^ (table[crc & 0xff]); \
crc = (crc >> 8) ^ (table[crc & 0xff]);

Definition at line 92 of file FastCRCsw.cpp.



livox_ros_driver
Author(s): Livox Dev Team
autogenerated on Mon Mar 15 2021 02:40:46