chromium/ui/gfx/codec/webp_codec.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/gfx/codec/webp_codec.h"

#include <vector>

#include "base/feature_list.h"
#include "ui/gfx/codec/vector_wstream.h"

BASE_FEATURE();

namespace gfx {

// Encoder ---------------------------------------------------------------------

bool WebpCodec::Encode(const SkPixmap& input,
                       int quality,
                       std::vector<unsigned char>* output) {}

bool WebpCodec::Encode(const SkBitmap& src,
                       int quality,
                       std::vector<unsigned char>* output) {}

std::optional<std::vector<uint8_t>> WebpCodec::EncodeAnimated(
    const std::vector<SkEncoder::Frame>& frames,
    const SkWebpEncoder::Options& options) {}

std::optional<std::vector<uint8_t>> WebpCodec::EncodeAnimated(
    const std::vector<Frame>& frames,
    const SkWebpEncoder::Options& options) {}

}  // namespace gfx