summaryrefslogblamecommitdiffstats
path: root/src/video_core/textures/bcn.h
blob: 6464af88565ad96737d8cbc05bdd063229b0bc10 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                                
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include <span>
#include <stdint.h>

namespace Tegra::Texture::BCN {

void CompressBC1(std::span<const uint8_t> data, uint32_t width, uint32_t height, uint32_t depth,
                 std::span<uint8_t> output);

void CompressBC3(std::span<const uint8_t> data, uint32_t width, uint32_t height, uint32_t depth,
                 std::span<uint8_t> output);

} // namespace Tegra::Texture::BCN