implement Episode 3 lobby banners
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <phosg/Encoding.hh>
|
||||
#include <phosg/Image.hh>
|
||||
#include <phosg/Strings.hh>
|
||||
|
||||
#include "Text.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
enum class GVRDataFormat : uint8_t {
|
||||
INTENSITY_4 = 0x00,
|
||||
INTENSITY_8 = 0x01,
|
||||
INTENSITY_A4 = 0x02,
|
||||
INTENSITY_A8 = 0x03,
|
||||
RGB565 = 0x04,
|
||||
RGB5A3 = 0x05,
|
||||
ARGB8888 = 0x06,
|
||||
INDEXED_4 = 0x08,
|
||||
INDEXED_8 = 0x09,
|
||||
DXT1 = 0x0E,
|
||||
};
|
||||
|
||||
string encode_gvm(const Image& img, GVRDataFormat data_format);
|
||||
Reference in New Issue
Block a user