blob: fd04535a5219e39e5e471320194a6719e7fbb20b [file] [log] [blame]
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkConvertPixels_DEFINED
#define SkConvertPixels_DEFINED
#include "include/private/base/SkAttributes.h"
#include <cstddef>
struct SkImageInfo;
bool SK_WARN_UNUSED_RESULT SkConvertPixels(
const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes);
#endif