Macros
Defines
Graphics » HAL GFX » GFX GRAPHICS
Collaboration diagram for Defines:

## Macros
#define | HAL_GFX_RGBX8888 (0x00U)
| RGBX8888. More...
#define | HAL_GFX_RGBA8888 (0x01U)
| RGBA8888. More...
#define | HAL_GFX_XRGB8888 (0x02U)
| XRGB8888. More...
#define | HAL_GFX_ARGB8888 (0x03U)
| ARGB8888. More...
#define | HAL_GFX_RGB565 (0x04U)
| RGBA5650. More...
#define | HAL_GFX_RGBA5650 (0x04U)
| RGBA5650. More...
#define | HAL_GFX_RGBA5551 (0x05U)
| RGBA5551. More...
#define | HAL_GFX_RGBA4444 (0x06U)
| RGBA4444. More...
#define | HAL_GFX_RGBA0800 (0x07U)
| RGBA0800. More...
#define | HAL_GFX_A8 (0x08U)
| RGBA0008. More...
#define | HAL_GFX_RGBA0008 (0x08U)
| RGBA0008. More...
#define | HAL_GFX_L8 (0x09U)
| L8 More...
#define | HAL_GFX_RGBA3320 (0x38U)
| RGBA3320 (source only) More...
#define | HAL_GFX_RGB332 (0x38U)
| RGBA3320 (source only) More...
#define | HAL_GFX_BW1 (0x0CU)
| A1 (source only) More...
#define | HAL_GFX_A1 (0x0CU)
| A1 (source only) More...
#define | HAL_GFX_L1 (0x0BU)
| L1 (source only) More...
#define | HAL_GFX_UYVY (0x0DU)
| UYVY More...
#define | HAL_GFX_ABGR8888 (0x0EU)
| ABGR8888. More...
#define | HAL_GFX_BGRA8888 (0x10U)
| BGRA More...
#define | HAL_GFX_BGRX8888 (0x11U)
| BGRX More...
#define | HAL_GFX_TSC4 (0x12U)
| TSC4 More...
#define | HAL_GFX_TSC6 (0x16U)
| TSC6 More...
#define | HAL_GFX_TSC6A (0x17U)
| TSC6A More...
#define | HAL_GFX_RV (0x18U)
| RV More...
#define | HAL_GFX_GU (0x19U)
| GU More...
#define | HAL_GFX_BY (0x1AU)
| BY More...
#define | HAL_GFX_YUV (0x1BU)
| YUV More...
#define | HAL_GFX_Z24_8 (0x1cU)
| Z24_8 More...
#define | HAL_GFX_Z16 (0x1dU)
| Z16 More...
#define | HAL_GFX_UV (0x1eU)
| UV More...
#define | HAL_GFX_A1LE (0x27U)
| A1LE More...
#define | HAL_GFX_A2LE (0x28U)
| A2LE More...
#define | HAL_GFX_A4LE (0x29U)
| A4LE More...
#define | HAL_GFX_L1LE (0x2AU)
| L1LE More...
#define | HAL_GFX_L2LE (0x2BU)
| L2LE More...
#define | HAL_GFX_L4LE (0x2CU)
| L4LE More...
#define | HAL_GFX_A2 (0x30U)
| A2 More...
#define | HAL_GFX_A4 (0x34U)
| A4 More...
#define | HAL_GFX_L2 (0x31U)
| L2 More...
#define | HAL_GFX_L4 (0x35U)
| L4 More...
#define | HAL_GFX_BGR24 (0x39U)
| BGR24 More...
#define | HAL_GFX_RGB24 (0x3CU)
| RGB24 More...
#define | HAL_GFX_RV10 (0x3DU)
| RV-10bit. More...
#define | HAL_GFX_GU10 (0x3EU)
| GU-10bit. More...
#define | HAL_GFX_BY10 (0x3FU)
| BY-10bit. More...
#define | HAL_GFX_DITHER (0x80U)
| GPU Dithering. More...
#define | HAL_GFX_FORMAT_MASK (0x7FU)
| Format Mask. More...
#define | HAL_GFX_FILTER_PS (0x00U)
| Point Sampling. More...
#define | HAL_GFX_FILTER_BL (0x01U)
| Bilinear filtering. More...
#define | HAL_GFX_TEX_CLAMP (0x00U<<2)
| Clamp. More...
#define | HAL_GFX_TEX_REPEAT (0x01U<<2)
| Repeat. More...
#define | HAL_GFX_TEX_BORDER (0x02U<<2)
| Border. More...
#define | HAL_GFX_TEX_MIRROR (0x03U<<2)
| Mirror. More...
#define | HAL_GFX_TEX_MORTON_ORDER (0x10U)
| Order. More...
#define | HAL_GFX_TEX_RANGE_0_1 (0x1U<<5)
| Interpolated Coordinates range: 0-1. More...
#define | HAL_GFX_TEX_LEFT_HANDED (0x1U<<6)
| (0,0) is bottom left corner More...
#define | HAL_GFX_ROT_000_CCW (0x0U)
| No rotation. More...
#define | HAL_GFX_ROT_090_CCW (0x1U)
| Rotate 90 degrees counter-clockwise. More...
#define | HAL_GFX_ROT_180_CCW (0x2U)
| Rotate 180 degrees counter-clockwise. More...
#define | HAL_GFX_ROT_270_CCW (0x3U)
| Rotate 270 degrees counter-clockwise. More...
#define | HAL_GFX_ROT_000_CW (0x0U)
| No rotation. More...
#define | HAL_GFX_ROT_270_CW (0x1U)
| Rotate 270 degrees clockwise. More...
#define | HAL_GFX_ROT_180_CW (0x2U)
| Rotate 180 degrees clockwise. More...
#define | HAL_GFX_ROT_090_CW (0x3U)
| Rotate 90 degrees clockwise. More...
#define | HAL_GFX_MIR_VERT (0x4U)
| Mirror Vertically. More...
#define | HAL_GFX_MIR_HOR (0x8U)
| Mirror Horizontally. More...

## Detailed Description

## Macro Definition Documentation

## ◆ HAL_GFX_A1

#define HAL_GFX_A1 (0x0CU)

A1 (source only)

Definition at line 109 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_A1LE

#define HAL_GFX_A1LE (0x27U)

A1LE

Definition at line 125 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_A2

#define HAL_GFX_A2 (0x30U)

A2

Definition at line 131 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_A2LE

#define HAL_GFX_A2LE (0x28U)

A2LE

Definition at line 126 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_A4

#define HAL_GFX_A4 (0x34U)

A4

Definition at line 132 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_A4LE

#define HAL_GFX_A4LE (0x29U)

A4LE

Definition at line 127 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_A8

#define HAL_GFX_A8 (0x08U)

RGBA0008.

Definition at line 103 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_ABGR8888

#define HAL_GFX_ABGR8888 (0x0EU)

ABGR8888.

Definition at line 112 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_ARGB8888

#define HAL_GFX_ARGB8888 (0x03U)

ARGB8888.

Definition at line 97 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_BGR24

#define HAL_GFX_BGR24 (0x39U)

BGR24

Definition at line 135 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_BGRA8888

#define HAL_GFX_BGRA8888 (0x10U)

BGRA

Definition at line 113 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_BGRX8888

#define HAL_GFX_BGRX8888 (0x11U)

BGRX

Definition at line 114 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_BW1

#define HAL_GFX_BW1 (0x0CU)

A1 (source only)

Definition at line 108 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_BY

#define HAL_GFX_BY (0x1AU)

BY

Definition at line 120 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_BY10

#define HAL_GFX_BY10 (0x3FU)

BY-10bit.

Definition at line 139 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_DITHER

#define HAL_GFX_DITHER (0x80U)

GPU Dithering.

Definition at line 141 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_FILTER_BL

#define HAL_GFX_FILTER_BL (0x01U)

Bilinear filtering.

Definition at line 151 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_FILTER_PS

#define HAL_GFX_FILTER_PS (0x00U)

Point Sampling.

Definition at line 150 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_FORMAT_MASK

#define HAL_GFX_FORMAT_MASK (0x7FU)

Format Mask.

Definition at line 142 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_GU

#define HAL_GFX_GU (0x19U)

GU

Definition at line 119 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_GU10

#define HAL_GFX_GU10 (0x3EU)

GU-10bit.

Definition at line 138 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_L1

#define HAL_GFX_L1 (0x0BU)

L1 (source only)

Definition at line 110 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_L1LE

#define HAL_GFX_L1LE (0x2AU)

L1LE

Definition at line 128 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_L2

#define HAL_GFX_L2 (0x31U)

L2

Definition at line 133 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_L2LE

#define HAL_GFX_L2LE (0x2BU)

L2LE

Definition at line 129 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_L4

#define HAL_GFX_L4 (0x35U)

L4

Definition at line 134 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_L4LE

#define HAL_GFX_L4LE (0x2CU)

L4LE

Definition at line 130 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_L8

#define HAL_GFX_L8 (0x09U)

L8

Definition at line 105 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_MIR_HOR

#define HAL_GFX_MIR_HOR (0x8U)

Mirror Horizontally.

Definition at line 181 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_MIR_VERT

#define HAL_GFX_MIR_VERT (0x4U)

Mirror Vertically.

Definition at line 180 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGB24

#define HAL_GFX_RGB24 (0x3CU)

RGB24

Definition at line 136 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGB332

#define HAL_GFX_RGB332 (0x38U)

RGBA3320 (source only)

Definition at line 107 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGB565

#define HAL_GFX_RGB565 (0x04U)

RGBA5650.

Definition at line 98 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGBA0008

#define HAL_GFX_RGBA0008 (0x08U)

RGBA0008.

Definition at line 104 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGBA0800

#define HAL_GFX_RGBA0800 (0x07U)

RGBA0800.

Definition at line 102 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGBA3320

#define HAL_GFX_RGBA3320 (0x38U)

RGBA3320 (source only)

Definition at line 106 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGBA4444

#define HAL_GFX_RGBA4444 (0x06U)

RGBA4444.

Definition at line 101 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGBA5551

#define HAL_GFX_RGBA5551 (0x05U)

RGBA5551.

Definition at line 100 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGBA5650

#define HAL_GFX_RGBA5650 (0x04U)

RGBA5650.

Definition at line 99 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGBA8888

#define HAL_GFX_RGBA8888 (0x01U)

RGBA8888.

Definition at line 95 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RGBX8888

#define HAL_GFX_RGBX8888 (0x00U)

RGBX8888.

Definition at line 94 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_ROT_000_CCW

#define HAL_GFX_ROT_000_CCW (0x0U)

No rotation.

Definition at line 172 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_ROT_000_CW

#define HAL_GFX_ROT_000_CW (0x0U)

No rotation.

Definition at line 176 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_ROT_090_CCW

#define HAL_GFX_ROT_090_CCW (0x1U)

Rotate 90 degrees counter-clockwise.

Definition at line 173 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_ROT_090_CW

#define HAL_GFX_ROT_090_CW (0x3U)

Rotate 90 degrees clockwise.

Definition at line 179 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_ROT_180_CCW

#define HAL_GFX_ROT_180_CCW (0x2U)

Rotate 180 degrees counter-clockwise.

Definition at line 174 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_ROT_180_CW

#define HAL_GFX_ROT_180_CW (0x2U)

Rotate 180 degrees clockwise.

Definition at line 178 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_ROT_270_CCW

#define HAL_GFX_ROT_270_CCW (0x3U)

Rotate 270 degrees counter-clockwise.

Definition at line 175 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_ROT_270_CW

#define HAL_GFX_ROT_270_CW (0x1U)

Rotate 270 degrees clockwise.

Definition at line 177 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RV

#define HAL_GFX_RV (0x18U)

RV

Definition at line 118 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_RV10

#define HAL_GFX_RV10 (0x3DU)

RV-10bit.

Definition at line 137 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_TEX_BORDER

#define HAL_GFX_TEX_BORDER (0x02U<<2)

Border.

Definition at line 157 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_TEX_CLAMP

#define HAL_GFX_TEX_CLAMP (0x00U<<2)

Clamp.

Definition at line 155 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_TEX_LEFT_HANDED

#define HAL_GFX_TEX_LEFT_HANDED (0x1U<<6)

(0,0) is bottom left corner

Definition at line 167 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_TEX_MIRROR

#define HAL_GFX_TEX_MIRROR (0x03U<<2)

Mirror.

Definition at line 158 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_TEX_MORTON_ORDER

#define HAL_GFX_TEX_MORTON_ORDER (0x10U)

Order.

Definition at line 162 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_TEX_RANGE_0_1

#define HAL_GFX_TEX_RANGE_0_1 (0x1U<<5)

Interpolated Coordinates range: 0-1.

Definition at line 166 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_TEX_REPEAT

#define HAL_GFX_TEX_REPEAT (0x01U<<2)

Repeat.

Definition at line 156 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_TSC4

#define HAL_GFX_TSC4 (0x12U)

TSC4

Definition at line 115 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_TSC6

#define HAL_GFX_TSC6 (0x16U)

TSC6

Definition at line 116 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_TSC6A

#define HAL_GFX_TSC6A (0x17U)

TSC6A

Definition at line 117 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_UV

#define HAL_GFX_UV (0x1eU)

UV

Definition at line 124 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_UYVY

#define HAL_GFX_UYVY (0x0DU)

UYVY

Definition at line 111 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_XRGB8888

#define HAL_GFX_XRGB8888 (0x02U)

XRGB8888.

Definition at line 96 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_YUV

#define HAL_GFX_YUV (0x1BU)

YUV

Definition at line 121 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_Z16

#define HAL_GFX_Z16 (0x1dU)

Z16

Definition at line 123 of file hal_gfx_graphics.h.

## ◆ HAL_GFX_Z24_8

#define HAL_GFX_Z24_8 (0x1cU)

Z24_8

Definition at line 122 of file hal_gfx_graphics.h.