FA-52258 / Raster memory layout / Member archive
Semiplanar Padded Components: UV stride treats pair as one component or omits guard · case 03
The returned physical layout descriptor disagrees with the declared buffer mapping at chroma_pitch.
Case contract
A stipulated semiplanar image stores two-byte luma samples and UV pairs of two-byte components. Luma rows have a four-byte guard; chroma rows have an eight-byte guard, and a six-byte separator precedes chroma. 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 1 | {"allocation_end": 55, "chroma_base": 45, "chroma_pairs": 1, "chroma_pitch": 10, "chroma_rows": 1, "component_offset": 0, "luma_address": 33, "luma_pitch": 6, "pair_offset": 0, "sample_address": 45} | {"allocation_end": 57, "chroma_base": 45, "chroma_pairs": 1, "chroma_pitch": 12, "chroma_rows": 1, "component_offset": 0, "luma_address": 33, "luma_pitch": 6, "pair_offset": 0, "sample_address": 45} | 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 ↗