chromium/third_party/skia/src/codec/SkTiffUtility.h

/*
 * Copyright 2023 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkTiffUtility_codec_DEFINED
#define SkTiffUtility_codec_DEFINED

#include "include/core/SkData.h"
#include "include/core/SkRefCnt.h"

#include <cstddef>
#include <cstdint>
#include <memory>

namespace SkTiff {

// Constants for endian signature.
inline constexpr size_t kEndianSize =;
inline constexpr uint8_t kEndianBig[kEndianSize] =;
inline constexpr uint8_t kEndianLittle[kEndianSize] =;

// Constants for types.
inline constexpr uint16_t kTypeUnsignedByte =;
inline constexpr uint16_t kTypeAsciiString =;
inline constexpr uint16_t kTypeUnsignedShort =;
inline constexpr uint16_t kTypeUnsignedLong =;
inline constexpr uint16_t kTypeUnsignedRational =;
inline constexpr uint16_t kTypeSignedByte =;
inline constexpr uint16_t kTypeUndefined =;
inline constexpr uint16_t kTypeSignedShort =;
inline constexpr uint16_t kTypeSignedLong =;
inline constexpr uint16_t kTypeSignedRational =;
inline constexpr uint16_t kTypeSingleFloat =;
inline constexpr uint16_t kTypeDoubleFloat =;

/*
 * Helper function for parsing a Tiff Image File Directory (IFD) structure. This structure is used
 * by EXIF tags, multi-picture, and maker note metadata.
 */
class ImageFileDirectory {};

}  // namespace SkTiff

#endif