Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
haio_formats.hpp File Reference
#include <array>
#include <string_view>
Include dependency graph for haio_formats.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Haio::ColorAlias

Namespaces

namespace  Haio

Enumerations

enum class  Haio::Format {
  Haio::RAW , Haio::PNG , Haio::PPM , Haio::JPEG ,
  Haio::KTX , Haio::KTX2 , Haio::DDS , Haio::PVR ,
  Haio::ZCIS , Haio::ANSI , Haio::UTF8 , Haio::ROM ,
  Haio::TGA , Haio::GIF
}
enum class  Haio::Color {
  Haio::RGBA8888 , Haio::RGB888 , Haio::RGB565 , Haio::RGB555 ,
  Haio::RGBA5551 , Haio::BGR888 , Haio::BGRA8888 , Haio::GRAY8 ,
  Haio::ETC1 , Haio::YUV420 , Haio::PALETTE , Haio::CHR_NES
}

Variables

constexpr ColorAlias Haio::colorAliases []

Class Documentation

◆ Haio::ColorAlias

struct Haio::ColorAlias

the other names these layouts go by.

ffmpeg's -pix_fmt is where most people learned to name a pixel layout on a command line, so what they already type for it is accepted beside the enumerator's own name. the list sits next to the enum rather than inside the lookup that reads it, because the command line grammar prints it too, and a list written in two places is a list that drifts.

Definition at line 167 of file haio_formats.hpp.

Class Members
Color color
string_view spelling