14#include <egt/detail/enum.h>
15#include <egt/detail/meta.h>
EGT_API std::string demangle(const char *name)
Demangle a C++ symbol into something human readable.
std::string format(T value, int precision=2)
Format a float/double to a fixed precision and return as a string.
Definition detail/string.h:65
PixelFormat egt_format(uint32_t format)
Convert a DRM format to a pixel format.
std::string gstreamer_format(PixelFormat format)
Convert a pixel format to a gstreamer format.
uint32_t drm_format(PixelFormat format)
Convert a pixel format to a DRM format.
PixelFormat
Supported pixel formats.
Definition types.h:30
@ xrgb8888
32 bpp, 24-bit color
@ rgb565
16 bpp, 16-bit color
@ argb8888
32 bpp, 24-bit color + 8-bit alpha
@ yuyv
Packed format with ½ horizontal chroma resolution, also known.
@ nv21
YUV 4:2:0 planar image, with 8 bit Y samples, followed by.
@ uyvy
Reverse byte order of YUY2.
@ invalid
Invalid color format.
EGT_API std::ostream & operator<<(std::ostream &os, const Color &color)
Overloaded std::ostream insertion operator.
EGT framework namespace.
Definition animation.h:24
When using enum_to_string() and enum_from_string(), this type needs to be defined and specialized to ...
Definition enum.h:48