• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
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 <cstddef>
12 #include "include/codec/SkEncodedOrigin.h"
13 
14 /**
15  * If |data| is an EXIF tag representing an SkEncodedOrigin, return true and set |out|
16  * appropriately. Otherwise return false.
17  */
18 bool SkParseEncodedOrigin(const void* data, size_t data_length, SkEncodedOrigin* out);
19 
20 #endif // SkParseEncodedOrigin_DEFINED
21