1 /* 2 * Copyright 2023 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 SkJpegXmp_codec_DEFINED 9 #define SkJpegXmp_codec_DEFINED 10 11 #include "include/core/SkRefCnt.h" 12 #include "include/private/SkXmp.h" 13 14 class SkData; 15 16 #include <memory> 17 #include <vector> 18 19 // Find and parse all XMP metadata, given a list of all APP1 segment parameters. 20 std::unique_ptr<SkXmp> SkJpegMakeXmp(const std::vector<sk_sp<SkData>>& decoderApp1Params); 21 22 #endif 23