@@ -60,7 +60,7 @@ typedef struct IMFBaseResource {
6060 */
6161typedef struct IMFTrackFileResource {
6262 IMFBaseResource base ;
63- unsigned char track_file_uuid [ 16 ] ; /**< TrackFileResourceType/TrackFileId */
63+ UUID track_file_uuid ; /**< TrackFileResourceType/TrackFileId */
6464} IMFTrackFileResource ;
6565
6666/**
@@ -85,7 +85,7 @@ typedef struct IMFMarkerResource {
8585 * IMF Composition Playlist Virtual Track
8686 */
8787typedef struct IMFBaseVirtualTrack {
88- unsigned char id_uuid [ 16 ] ; /**< TrackId associated with the Virtual Track */
88+ UUID id_uuid ; /**< TrackId associated with the Virtual Track */
8989} IMFBaseVirtualTrack ;
9090
9191/**
@@ -110,7 +110,7 @@ typedef struct IMFMarkerVirtualTrack {
110110 * IMF Composition Playlist
111111 */
112112typedef struct IMFCPL {
113- uint8_t id_uuid [ 16 ] ; /**< CompositionPlaylist/Id element */
113+ UUID id_uuid ; /**< CompositionPlaylist/Id element */
114114 xmlChar * content_title_utf8 ; /**< CompositionPlaylist/ContentTitle element */
115115 AVRational edit_rate ; /**< CompositionPlaylist/EditRate element */
116116 IMFMarkerVirtualTrack * main_markers_track ; /**< Main Marker Virtual Track */
@@ -119,22 +119,6 @@ typedef struct IMFCPL {
119119 IMFTrackFileVirtualTrack * main_audio_tracks ; /**< Main Audio Virtual Tracks */
120120} IMFCPL ;
121121
122- /**
123- * IMF Asset locator
124- */
125- typedef struct IMFAssetLocator {
126- UUID uuid ;
127- const char * absolute_uri ;
128- } IMFAssetLocator ;
129-
130- /**
131- * IMF Asset Map
132- */
133- typedef struct IMFAssetMap {
134- uint8_t asset_count ;
135- IMFAssetLocator * * assets ;
136- } IMFAssetMap ;
137-
138122/**
139123 * Parse an IMF CompositionPlaylist element into the IMFCPL data structure.
140124 * @param[in] doc An XML document from which the CPL is read.
@@ -168,25 +152,4 @@ IMFCPL *imf_cpl_alloc(void);
168152 */
169153void imf_cpl_free (IMFCPL * cpl );
170154
171- /**
172- * Parse a ASSETMAP XML file to extract the UUID-URI mapping of assets.
173- * @param s the current format context, if any (can be NULL).
174- * @param doc the XML document to be parsed.
175- * @param asset_map pointer on the IMFAssetMap pointer to fill.
176- * @param base_url the url of the asset map XML file, if any (can be NULL).
177- * @return a negative value in case of error, 0 otherwise.
178- */
179- int parse_imf_asset_map_from_xml_dom (AVFormatContext * s , xmlDocPtr doc , IMFAssetMap * * asset_map , const char * base_url );
180-
181- /**
182- * Allocate a IMFAssetMap pointer and return it.
183- * @return the allocated IMFAssetMap pointer.
184- */
185- IMFAssetMap * imf_asset_map_alloc (void );
186-
187- /**
188- * Free a IMFAssetMap pointer.
189- */
190- void imf_asset_map_free (IMFAssetMap * asset_map );
191-
192155#endif
0 commit comments