LibreOffice Module vcl (master) 1
|
Go to the source code of this file.
Macros | |
#define | BITMAP_CHECKSUM_SIZE 8 |
Typedefs | |
typedef sal_uInt64 | BitmapChecksum |
typedef sal_uInt8 | BitmapChecksumOctetArray[BITMAP_CHECKSUM_SIZE] |
Functions | |
template<sal_uInt8 N = 0> | |
void | BCToBCOA (BitmapChecksum n, BitmapChecksumOctetArray p) |
template<> | |
void | BCToBCOA< BITMAP_CHECKSUM_SIZE > (BitmapChecksum, BitmapChecksumOctetArray) |
VCL_DLLPUBLIC sal_uInt64 | vcl_crc64 (sal_uInt64 Crc, const void *Data, sal_uInt32 DatLen) SAL_THROW_EXTERN_C() |
Evaluate CRC64 over given data. More... | |
const sal_uInt64 * | vcl_get_crc64_table () |
BitmapChecksum | vcl_get_checksum (BitmapChecksum Checksum, const void *Data, sal_uInt32 DatLen) |
#define BITMAP_CHECKSUM_SIZE 8 |
Definition at line 28 of file checksum.hxx.
typedef sal_uInt64 BitmapChecksum |
Definition at line 30 of file checksum.hxx.
typedef sal_uInt8 BitmapChecksumOctetArray[BITMAP_CHECKSUM_SIZE] |
Definition at line 31 of file checksum.hxx.
|
inline |
Definition at line 34 of file checksum.hxx.
Referenced by Animation::GetChecksum(), BitmapEx::GetChecksum(), and SvmWriter::GetChecksum().
|
inline |
Definition at line 41 of file checksum.hxx.
VCL_DLLPUBLIC sal_uInt64 vcl_crc64 | ( | sal_uInt64 | Crc, |
const void * | Data, | ||
sal_uInt32 | DatLen | ||
) |
Evaluate CRC64 over given data.
This function evaluates the CRC polynomial 0xEDB88320.
Crc | [in] CRC64 over previous data or zero. |
Data | [in] data buffer. |
DatLen | [in] data buffer length. |
Definition at line 129 of file checksum.cxx.
References Data, p, SAL_THROW_EXTERN_C, and UPDCRC64.
Referenced by vcl_get_checksum().
|
inline |
Definition at line 72 of file checksum.hxx.
References Data, and vcl_crc64().
Referenced by vcl::PDFWriterImpl::drawJPGBitmap(), Animation::GetChecksum(), AnimationFrame::GetChecksum(), BitmapEx::GetChecksum(), BitmapPalette::GetChecksum(), VectorGraphicData::GetChecksum(), SvmWriter::GetChecksum(), GraphicID::GraphicID(), scanlineChecksum(), and SalBitmap::updateChecksum().
const sal_uInt64 * vcl_get_crc64_table | ( | ) |
Definition at line 149 of file checksum.cxx.
References vcl_crc64Table.