blob: 4891557a19ea646ee056cf15097249e5fc3260cc [file] [log] [blame]
Leon Scroggins IIIba458302019-09-24 12:40:11 -04001/*
2 * Copyright 2017 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkParseEncodedOrigin_DEFINED
9#define SkParseEncodedOrigin_DEFINED
10
11#include "include/codec/SkEncodedOrigin.h"
12
13/**
14 * If |data| is an EXIF tag representing an SkEncodedOrigin, return true and set |out|
15 * appropriately. Otherwise return false.
16 */
17bool SkParseEncodedOrigin(const uint8_t* data, size_t data_length, SkEncodedOrigin* out);
18
19#endif // SkParseEncodedOrigin_DEFINED