• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "xmpmeta/xmp_const.h"
2 
3 namespace dynamic_depth {
4 namespace xmpmeta {
5 
6 // XMP namespace constants.
Namespace()7 const char* XmpConst::Namespace() { return "adobe:ns:meta/"; }
8 
NamespacePrefix()9 const char* XmpConst::NamespacePrefix() { return "x"; }
10 
NodeName()11 const char* XmpConst::NodeName() { return "xmpmeta"; }
12 
AdobePropName()13 const char* XmpConst::AdobePropName() { return "xmptk"; }
14 
AdobePropValue()15 const char* XmpConst::AdobePropValue() { return "Adobe XMP"; }
16 
NoteNamespace()17 const char* XmpConst::NoteNamespace() {
18   return "http://ns.adobe.com/xmp/note/";
19 }
20 
21 // XMP headers.
Header()22 const char* XmpConst::Header() { return "http://ns.adobe.com/xap/1.0/"; }
23 
ExtensionHeader()24 const char* XmpConst::ExtensionHeader() {
25   return "http://ns.adobe.com/xmp/extension/";
26 }
27 
HasExtensionPrefix()28 const char* XmpConst::HasExtensionPrefix() { return "xmpNote"; }
29 
HasExtension()30 const char* XmpConst::HasExtension() { return "HasExtendedXMP"; }
31 
32 // Sizes.
ExtensionHeaderOffset()33 const int XmpConst::ExtensionHeaderOffset() { return 8; }
34 
MaxBufferSize()35 const int XmpConst::MaxBufferSize() { return 65502; }
36 
ExtendedMaxBufferSize()37 const int XmpConst::ExtendedMaxBufferSize() { return 65458; }
38 
39 }  // namespace xmpmeta
40 }  // namespace dynamic_depth
41