blob: 0178f33c1058ac8f40c0c8d3bf7b3da3fca9fc79 [file] [edit]
// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#ifndef THIRD_PARTY_CREDENTIO_FORMATS_ID3_CONSTANTS_H_
#define THIRD_PARTY_CREDENTIO_FORMATS_ID3_CONSTANTS_H_
#include "absl/strings/string_view.h"
namespace credentio {
// The first five bytes of an ID3 v2.3 tag header. See
// https://id3.org/id3v2.3.0#ID3v2_header
constexpr char kId3FileIdentifierAndVersionV23[] = {'I', 'D', '3', '\x03',
'\x00'};
// The first five bytes of an ID3 v2.4 tag header. See
// https://id3.org/id3v2.4.0-structure
constexpr char kId3FileIdentifierAndVersionV24[] = {'I', 'D', '3', '\x04',
'\x00'};
// A deprecated MIME type still used by c2pa-rs SDK.
constexpr absl::string_view kGeobFrameMimeTypeDeprecated =
"application/x-c2pa-manifest-store";
constexpr absl::string_view kGeobFrameMimeType = "application/c2pa";
} // namespace credentio
#endif // THIRD_PARTY_CREDENTIO_FORMATS_ID3_CONSTANTS_H_