23 const char xmpData[] = R
"(
24 <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0">
25 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
34DEF_TEST(SkXmp_xmpHdrgmAsFieldValue, r) {
36 const char xmpData[] = R
"(
37 <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0">
38 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
39 xmlns:hdrgm="http://ns.adobe.com/hdr-gain-map/1.0/">
40 <rdf:Description rdf:about="">
41 <hdrgm:Version>1.0</hdrgm:Version>
42 <hdrgm:GainMapMax>3</hdrgm:GainMapMax>
43 <hdrgm:HDRCapacityMax>4</hdrgm:HDRCapacityMax>
59DEF_TEST(SkXmp_xmpHdrgmRequiresVersion, r) {
61 const char xmpData[] = R
"(
62 <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0">
63 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
64 xmlns:hdrgm="http://ns.adobe.com/hdr-gain-map/1.0/">
65 <rdf:Description rdf:about="">
66 <hdrgm:GainMapMax>3</hdrgm:GainMapMax>
67 <hdrgm:HDRCapacityMax>4</hdrgm:HDRCapacityMax>
81DEF_TEST(SkXmp_xmpHdrgmAsDescriptionPropertyAttributes, r) {
83 const char xmpData[] = R
"(
84 <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0">
85 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
86 <rdf:Description rdf:about=""
87 xmlns:hdrgm="http://ns.adobe.com/hdr-gain-map/1.0/"
90 hdrgm:HDRCapacityMax="4"/>
107 const char xmpData[] = R
"(
108 <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0">
109 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
110 xmlns:hdrgm="http://ns.adobe.com/hdr-gain-map/1.0/">
111 <rdf:Description rdf:about=""
113 hdrgm:GainMapMin="2.0"
114 hdrgm:OffsetSDR="0.1">
169DEF_TEST(SkXmp_xmpContainerTypedNode, r) {
171 const char xmpData[] = R
"(
172 <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.5.0">
173 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
174 <rdf:Description rdf:about=""
175 xmlns:Container="http://ns.google.com/photos/1.0/container/"
176 xmlns:Item="http://ns.google.com/photos/1.0/container/item/">
177 <Container:Directory>
179 <rdf:li rdf:parseType="Resource">
181 <Item:Mime>image/jpeg</Item:Mime>
182 <Item:Semantic>Primary</Item:Semantic>
185 <rdf:li rdf:parseType="Resource">
187 Item:Semantic="GainMap"
188 Item:Mime="image/jpeg"
189 Item:Length="49035"/>
192 </Container:Directory>
207DEF_TEST(SkXmp_xmpContainerTypedNodeRdfEquivalent, r) {
209 const char xmpData[] = R
"(
210 <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.5.0">
211 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
212 <rdf:Description rdf:about=""
213 xmlns:Container="http://ns.google.com/photos/1.0/container/"
214 xmlns:Item="http://ns.google.com/photos/1.0/container/item/">
215 <Container:Directory>
217 <rdf:li rdf:parseType="Resource">
218 <rdf:value rdf:parseType="Resource">
219 <Item:Mime>image/jpeg</Item:Mime>
220 <Item:Semantic>Primary</Item:Semantic>
222 <rdf:type rdf:resource="Item"/>
224 <rdf:li rdf:parseType="Resource">
225 <rdf:value rdf:parseType="Resource">
226 <Item:Semantic>GainMap</Item:Semantic>
227 <Item:Mime>image/jpeg</Item:Mime>
228 <Item:Length>49035</Item:Length>
230 <rdf:type rdf:resource="Item"/>
233 </Container:Directory>
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
#define DEF_TEST(name, reporter)
#define REPORTER_ASSERT(r, cond,...)
static sk_sp< SkData > MakeWithoutCopy(const void *data, size_t length)
static std::unique_ptr< SkXmp > Make(sk_sp< SkData > xmpData)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size