Files
Matthew Stanley fe42da2744 Merge release/native-rendering-20261003 into master
Keeps both lines: master's PGXP session, draw-distance clamps, masked rejects
and saturated-winding NCLIP; the release's render-pass kit additions, verified
media/disc extents, timeline/present rings, cull-scale sites. Overlay ABI v30.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 19:27:02 -07:00

20 lines
521 B
C

#pragma once
#include <stdint.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Compute CRC32 (IEEE 802.3) over a byte buffer. */
uint32_t crc32_compute(const uint8_t *data, size_t len);
/* Incremental CRC32. Start from 0xFFFFFFFF, fold each chunk through
* crc32_update, then XOR the final running value with 0xFFFFFFFF. The result
* equals crc32_compute over the concatenation of the same chunks. */
uint32_t crc32_update(uint32_t crc, const uint8_t *data, size_t len);
#ifdef __cplusplus
}
#endif