SkWuffsCodec.h 501 B

1234567891011121314151617
  1. /*
  2. * Copyright 2018 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. #ifndef SkWuffsCodec_DEFINED
  8. #define SkWuffsCodec_DEFINED
  9. #include "include/codec/SkCodec.h"
  10. // These functions' types match DecoderProc in SkCodec.cpp.
  11. bool SkWuffsCodec_IsFormat(const void*, size_t);
  12. std::unique_ptr<SkCodec> SkWuffsCodec_MakeFromStream(std::unique_ptr<SkStream>, SkCodec::Result*);
  13. #endif // SkWuffsCodec_DEFINED