summaryrefslogtreecommitdiff
path: root/internal/xmpmeta/xmp_const.cc
blob: 69fc3a9e03939e3629085e51067b792ff08c4acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include "xmpmeta/xmp_const.h"

namespace photos_editing_formats {

// XMP namespace constants.
const char* XmpConst::Namespace() { return "adobe:ns:meta/"; }

const char* XmpConst::NamespacePrefix() { return "x"; }

const char* XmpConst::NodeName() { return "xmpmeta"; }

const char* XmpConst::AdobePropName() { return "xmptk"; }

const char* XmpConst::AdobePropValue() { return "Adobe XMP"; }

const char* XmpConst::NoteNamespace() {
  return "http://ns.adobe.com/xmp/note/";
}

// XMP headers.
const char* XmpConst::Header() { return "http://ns.adobe.com/xap/1.0/"; }

const char* XmpConst::ExtensionHeader() {
  return "http://ns.adobe.com/xmp/extension/";
}

const char* XmpConst::HasExtensionPrefix() { return "xmpNote"; }

const char* XmpConst::HasExtension() { return "HasExtendedXMP"; }

// Sizes.
const int XmpConst::ExtensionHeaderOffset() { return 8; }

const int XmpConst::MaxBufferSize() { return 65502; }

const int XmpConst::ExtendedMaxBufferSize() { return 65458; }

}  // namespace photos_editing_formats