FA-52435 / Raster memory layout / Member archive
Indexed Nibble Records: Odd-row valid nibble mask selects padding or discards even-width pixel · case 05
The returned physical layout descriptor disagrees with the declared buffer mapping at tail_mask.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| layout fixture 2 | {"allocation_end": 132, "byte_address": 121, "image_origin": 114, "keep_mask": 240, "packed_bytes": 5, "palette_bytes": 29, "row_pitch": 6, "shift": 0, "tail_mask": 15, "written_byte": 38} | {"allocation_end": 132, "byte_address": 121, "image_origin": 114, "keep_mask": 240, "packed_bytes": 5, "palette_bytes": 29, "row_pitch": 6, "shift": 0, "tail_mask": 240, "written_byte": 38} | 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 ↗