Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
SkTiffUtility.cpp File Reference
#include "src/codec/SkTiffUtility.h"
#include "include/core/SkData.h"
#include "src/codec/SkCodecPriv.h"
#include <cstddef>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  SkTiff
 

Functions

static const uint8_t * SkTiff::get_entry_address (const SkData *data, uint32_t ifdOffset, uint16_t entryIndex)
 
static bool SkTiff::validate_ifd (const SkData *data, bool littleEndian, uint32_t ifdOffset, bool allowTruncated, uint16_t *outNumEntries, uint32_t *outNextIfdOffset)
 

Variables

constexpr size_t SkTiff::kSizeEntry = 12
 
constexpr size_t SkTiff::kSizeShort = 2
 
constexpr size_t SkTiff::kSizeLong = 4