FAILURE MAP
← Case archive

FA-52432 / Raster memory layout / Member archive

Indexed Nibble Records: Odd-row valid nibble mask selects padding or discards even-width pixel · case 02

The returned physical layout descriptor disagrees with the declared buffer mapping at tail_mask.

Member previewVariant 2 · 3 implementations · 6 checks per implementation

Case contract

An indexed image has a palette of three-byte entries, a two-byte palette-count field, and high-nibble-first pixels. Each scanline starts with a one-byte checksum. Odd final low nibbles are padding. Return the named intermediate layout descriptor and final address fields; all quantities are integer byte offsets unless explicitly stated.

Why this case matters

Offline raster resource, upload, readback, and storage-layout regression model.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
layout fixture 1{"allocation_end": 62, "byte_address": 55, "image_origin": 54, "keep_mask": 15, "packed_bytes": 3, "palette_bytes": 20, "row_pitch": 4, "shift": 4, "tail_mask": 15, "written_byte": 35}{"allocation_end": 62, "byte_address": 55, "image_origin": 54, "keep_mask": 15, "packed_bytes": 3, "palette_bytes": 20, "row_pitch": 4, "shift": 4, "tail_mask": 240, "written_byte": 35}Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗