• 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 "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  */
17 bool SkParseEncodedOrigin(const uint8_t* data, size_t data_length, SkEncodedOrigin* out);
18 
19 #endif // SkParseEncodedOrigin_DEFINED
20