1 // Copyright 2019 yuzu Emulator Project 2 // Licensed under GPLv2 or any later version 3 // Refer to the license.txt file included. 4 5 #pragma once 6 7 #include "common/common_types.h" 8 9 namespace VideoCore::Surface { 10 enum class PixelFormat; 11 } 12 13 namespace Tegra::Texture { 14 15 void ConvertFromGuestToHost(u8* in_data, u8* out_data, VideoCore::Surface::PixelFormat pixel_format, 16 u32 width, u32 height, u32 depth, bool convert_astc, 17 bool convert_s8z24); 18 19 void ConvertFromHostToGuest(u8* data, VideoCore::Surface::PixelFormat pixel_format, u32 width, 20 u32 height, u32 depth, bool convert_astc, bool convert_s8z24); 21 22 } // namespace Tegra::Texture 23