RetroArch
Classes | Macros | Enumerations | Variables
drm_pixformats.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  color_component
 
struct  rgb_info
 
struct  yuv_info
 
struct  format_info
 

Macros

#define MAKE_RGB_INFO(rl, ro, gl, go, bl, bo, al, ao)   .rgb = { { (rl), (ro) }, { (gl), (go) }, { (bl), (bo) }, { (al), (ao) } }
 
#define MAKE_YUV_INFO(order, xsub, ysub, chroma_stride)   .yuv = { (order), (xsub), (ysub), (chroma_stride) }
 

Enumerations

enum  yuv_order { YUV_YCbCr = 1, YUV_YCrCb = 2, YUV_YC = 4, YUV_CY = 8 }
 

Variables

static const struct format_info format_info []
 

Macro Definition Documentation

◆ MAKE_RGB_INFO

#define MAKE_RGB_INFO (   rl,
  ro,
  gl,
  go,
  bl,
  bo,
  al,
  ao 
)    .rgb = { { (rl), (ro) }, { (gl), (go) }, { (bl), (bo) }, { (al), (ao) } }

◆ MAKE_YUV_INFO

#define MAKE_YUV_INFO (   order,
  xsub,
  ysub,
  chroma_stride 
)    .yuv = { (order), (xsub), (ysub), (chroma_stride) }

Enumeration Type Documentation

◆ yuv_order

enum yuv_order
Enumerator
YUV_YCbCr 
YUV_YCrCb 
YUV_YC 
YUV_CY 

Variable Documentation

◆ format_info

const struct format_info format_info[]
static