| 2472 | } |
| 2473 | |
| 2474 | static avifBool avifParseImageSpatialExtentsProperty(avifProperty * prop, const uint8_t * raw, size_t rawLen, avifDiagnostics * diag) |
| 2475 | { |
| 2476 | BEGIN_STREAM(s, raw, rawLen, diag, "Box[ispe]"); |
| 2477 | AVIF_CHECK(avifROStreamReadAndEnforceVersion(&s, /*enforcedVersion=*/0, /*flags=*/NULL)); |
| 2478 | |
| 2479 | avifImageSpatialExtents * ispe = &prop->u.ispe; |
| 2480 | AVIF_CHECK(avifROStreamReadU32(&s, &ispe->width)); |
| 2481 | AVIF_CHECK(avifROStreamReadU32(&s, &ispe->height)); |
| 2482 | return AVIF_TRUE; |
| 2483 | } |
| 2484 | |
| 2485 | static avifBool avifParseAuxiliaryTypeProperty(avifProperty * prop, const uint8_t * raw, size_t rawLen, avifDiagnostics * diag) |
| 2486 | { |
no test coverage detected