At libultrahdr v2.0.2, which gain-map metadata fields and formulas does the code define, and where do they match or differ from the Adobe Gain Map Specification draft 15?
libultrahdr v2.0.2's public float API is linear while its serialised fraction metadata is log2 (exp2/log2 conversion in gainmapmetadata.cpp); it rejects metadata flagged as HDR-base (backward direction) with an explicit unsupported-feature error.
libultrahdr v2.0.2's public float API is linear while its serialised fraction metadata is log2 (exp2/log2 conversion in gainmapmetadata.cpp); it rejects metadata flagged as HDR-base (backward direction) with an explicit unsupported-feature error.
Curator qualifications: Use finding-1 wording, not the summary's: 'public float API linear; serialised fraction metadata log2' (C2-B84-AUDIT3 contradictions[2]). Adobe draft 15 formulas and rounding convention (S1 PDF) not reinspected; equivalence with Adobe draft or ISO 21496-1 not asserted (Adobe itself disclaims ISO equivalence per producer). Truncating vs rounding quantiser (F2) not re-read. Static reading only; no image encoded/decoded, no library built.
Limitations: Static reading only; no image encoded/decoded, no library built.
Evidence status: statements located in the cited sources by a correlated desk review (Claude); not executed; not independently reviewed.
Structured fields
{
"citations": [
{
"url": "https://helpx.adobe.com/content/dam/help/en/camera-raw/using/gain-map/jcr_content/root/content/flex/items/position/position-par/table/row-3u03dx0-column-4a63daf/download_section/download-1/Gain_Map_1_0d15.pdf",
"note": "ultrahdr_api.h lines 269-279; gainmapmetadata.cpp lines 231, 326, 332-342, 359, 386"
},
{
"url": "https://github.com/google/libultrahdr/blob/e5f5a022fe96fc4dc2ee35c19f733a50df807abe/lib/include/ultrahdr/gainmapmetadata.h",
"note": "ultrahdr_api.h lines 269-279; gainmapmetadata.cpp lines 231, 326, 332-342, 359, 386"
},
{
"url": "https://github.com/google/libultrahdr/blob/e5f5a022fe96fc4dc2ee35c19f733a50df807abe/ultrahdr_api.h",
"note": "ultrahdr_api.h lines 269-279; gainmapmetadata.cpp lines 231, 326, 332-342, 359, 386"
},
{
"url": "https://github.com/google/libultrahdr/blob/e5f5a022fe96fc4dc2ee35c19f733a50df807abe/lib/src/gainmapmetadata.cpp",
"note": "ultrahdr_api.h lines 269-279; gainmapmetadata.cpp lines 231, 326, 332-342, 359, 386"
},
{
"url": "https://github.com/google/libultrahdr/blob/e5f5a022fe96fc4dc2ee35c19f733a50df807abe/lib/src/gainmapmath.cpp",
"note": "ultrahdr_api.h lines 269-279; gainmapmetadata.cpp lines 231, 326, 332-342, 359, 386"
},
{
"url": "https://github.com/google/libultrahdr/blob/e5f5a022fe96fc4dc2ee35c19f733a50df807abe/lib/src/jpegr.cpp",
"note": "ultrahdr_api.h lines 269-279; gainmapmetadata.cpp lines 231, 326, 332-342, 359, 386"
}
]
}Evidence claims
- [sourced_fact] libultrahdr v2.0.2's public float API is linear while its serialised fraction metadata is log2 (exp2/log2 conversion in gainmapmetadata.cpp); it rejects metadata flagged as HDR-base (backward direction) with an explicit unsupported-feature error. · locator: ultrahdr_api.h lines 269-279; gainmapmetadata.cpp lines 231, 326, 332-342, 359, 386 source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |
Linked records
- cites → https://github.com/google/libultrahdr/blob/e5f5a022fe96fc4dc2ee35c19f733a50df807abe/lib/include/ultrahdr/gainmapmetadata.h
- cites → https://github.com/google/libultrahdr/blob/e5f5a022fe96fc4dc2ee35c19f733a50df807abe/lib/src/gainmapmath.cpp
- cites → https://github.com/google/libultrahdr/blob/e5f5a022fe96fc4dc2ee35c19f733a50df807abe/lib/src/gainmapmetadata.cpp
- cites → https://github.com/google/libultrahdr/blob/e5f5a022fe96fc4dc2ee35c19f733a50df807abe/lib/src/jpegr.cpp
- cites → https://github.com/google/libultrahdr/blob/e5f5a022fe96fc4dc2ee35c19f733a50df807abe/ultrahdr_api.h
- cites → https://helpx.adobe.com/content/dam/help/en/camera-raw/using/gain-map/jcr_content/root/content/flex/items/position/position-par/table/row-3u03dx0-column-4a63daf/download_section/download-1/Gain_Map_1_0d15.pdf