JOF band-tile atlas: the display-native normalized image format (#231, shared with the longstrip scro...
ra8_err_t(* jof_pread_fn)(void *ctx, uint64_t offset, uint8_t *buf, size_t len, size_t *got)
Positioned-read seam over an atlas backing store (DIP).
ra8_err_t jof_audit_requirements(jof_pread_fn pread, void *pread_ctx, uint64_t total_size, jof_audit_requirements_t *out)
Parse an atlas and report exact caller-storage requirements.
ra8_err_t jof_audit(jof_pread_fn pread, void *pread_ctx, uint64_t total_size, jof_audit_workspace_t *workspace, jof_audit_result_t *out)
Audit coverage, geometry and duplicate-content evidence in bounded RAM.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
One decoded tile's stored window and content evidence.
uint16_t height
Edge-clamped decoded height.
uint32_t length
Stored-stream length.
uint16_t width
Edge-clamped decoded width.
uint32_t offset
Absolute stored-stream offset.
bool uniform
All decoded bytes have the same value.
uint32_t content_hash
FNV-1a over decoded bytes.
uint32_t payload
Exact decoded payload bytes.
Exact caller-storage requirements derived from a parsed atlas.
uint32_t scratch_bytes
Stored-stream scratch (zero for raw).
uint32_t record_count
Record entries required.
uint32_t tile_bytes
Decoded tile-buffer bytes required.
Geometry plus anomaly counts emitted by a complete audit.
uint32_t coverage_errors
Gap/overlap/order/end mismatches.
jof_info_t info
Parsed atlas geometry.
uint32_t geometry_errors
Decoded size disagreed with tile geometry.
uint32_t decoded_tiles
Tiles decoded and hashed.
uint32_t duplicate_candidates
Matching non-uniform hash/size evidence.
Caller-owned buffers consumed by one audit.
jof_audit_record_t * records
Tile record array.
uint32_t tile_cap
Bytes available at tile.
uint32_t record_cap
Entries available at records.
uint32_t scratch_cap
Bytes available at scratch.
uint8_t * tile
Reusable decoded tile.
uint8_t * scratch
Reusable compressed staging.
Parsed + validated geometry of one JOF atlas.