[Specification] Add CICM XML metadata block definition ('CICM')

This commit is contained in:
2025-07-31 19:28:37 +01:00
parent 034bead4d1
commit 032f4c64be
2 changed files with 29 additions and 1 deletions

View File

@@ -71,3 +71,7 @@ include::structs/metadata.adoc[]
<<<
include::structs/tracks.adoc[]
<<<
include::structs/cicm.adoc[]

View File

@@ -0,0 +1,24 @@
=== CICM XML Metadata Block ('CICM')
This block header signifies the inclusion of an embedded CICM XML metadata sidecar.
The contents of the XML are preserved in their original form and are not parsed, interpreted, or validated by the format implementation.
==== Structure Definition
[source,c]
#define CICM_MAGIC 0x4D434943
/**Header for the CICM XML metadata block */
typedef struct CicmMetadataBlock
{
/**Identifier, <see cref="BlockType.CicmBlock" /> */
uint32_t identifier;
uint32_t length;
} CicmMetadataBlock;
==== Field Descriptions
[cols="2,2,2,6",options="header"]
|===
|Type|Size|Name|Description
|uint32|4 bytes|identifier|The CICM XML metadata table identifier, always `CICM`
|uint32|4 bytes|length|The size in bytes of the embedded CICM XML metadata that follows this header.