Macros

#define HAL_GFX_RGBX8888   (0x00U)
 
#define HAL_GFX_RGBA8888   (0x01U)
 
#define HAL_GFX_XRGB8888   (0x02U)
 
#define HAL_GFX_ARGB8888   (0x03U)
 
#define HAL_GFX_RGB565   (0x04U)
 
#define HAL_GFX_RGBA5650   (0x04U)
 
#define HAL_GFX_RGBA5551   (0x05U)
 
#define HAL_GFX_RGBA4444   (0x06U)
 
#define HAL_GFX_RGBA0800   (0x07U)
 
#define HAL_GFX_A8   (0x08U)
 
#define HAL_GFX_RGBA0008   (0x08U)
 
#define HAL_GFX_L8   (0x09U)
 
#define HAL_GFX_RGBA3320   (0x38U)
 
#define HAL_GFX_RGB332   (0x38U)
 
#define HAL_GFX_BW1   (0x0CU)
 
#define HAL_GFX_A1   (0x0CU)
 
#define HAL_GFX_L1   (0x0BU)
 
#define HAL_GFX_UYVY   (0x0DU)
 
#define HAL_GFX_ABGR8888   (0x0EU)
 
#define HAL_GFX_BGRA8888   (0x10U)
 
#define HAL_GFX_BGRX8888   (0x11U)
 
#define HAL_GFX_TSC4   (0x12U)
 
#define HAL_GFX_TSC6   (0x16U)
 
#define HAL_GFX_TSC6A   (0x17U)
 
#define HAL_GFX_RV   (0x18U)
 
#define HAL_GFX_GU   (0x19U)
 
#define HAL_GFX_BY   (0x1AU)
 
#define HAL_GFX_YUV   (0x1BU)
 
#define HAL_GFX_Z24_8   (0x1cU)
 
#define HAL_GFX_Z16   (0x1dU)
 
#define HAL_GFX_UV   (0x1eU)
 
#define HAL_GFX_A1LE   (0x27U)
 
#define HAL_GFX_A2LE   (0x28U)
 
#define HAL_GFX_A4LE   (0x29U)
 
#define HAL_GFX_L1LE   (0x2AU)
 
#define HAL_GFX_L2LE   (0x2BU)
 
#define HAL_GFX_L4LE   (0x2CU)
 
#define HAL_GFX_A2   (0x30U)
 
#define HAL_GFX_A4   (0x34U)
 
#define HAL_GFX_L2   (0x31U)
 
#define HAL_GFX_L4   (0x35U)
 
#define HAL_GFX_BGR24   (0x39U)
 
#define HAL_GFX_RGB24   (0x3CU)
 
#define HAL_GFX_RV10   (0x3DU)
 
#define HAL_GFX_GU10   (0x3EU)
 
#define HAL_GFX_BY10   (0x3FU)
 
#define HAL_GFX_DITHER   (0x80U)
 
#define HAL_GFX_FORMAT_MASK   (0x7FU)
 
#define HAL_GFX_FILTER_PS   (0x00U)
 
#define HAL_GFX_FILTER_BL   (0x01U)
 
#define HAL_GFX_TEX_CLAMP   (0x00U<<2)
 
#define HAL_GFX_TEX_REPEAT   (0x01U<<2)
 
#define HAL_GFX_TEX_BORDER   (0x02U<<2)
 
#define HAL_GFX_TEX_MIRROR   (0x03U<<2)
 
#define HAL_GFX_TEX_MORTON_ORDER   (0x10U)
 
#define HAL_GFX_TEX_RANGE_0_1   (0x1U<<5)
 
#define HAL_GFX_TEX_LEFT_HANDED   (0x1U<<6)
 
#define HAL_GFX_ROT_000_CCW   (0x0U)
 
#define HAL_GFX_ROT_090_CCW   (0x1U)
 
#define HAL_GFX_ROT_180_CCW   (0x2U)
 
#define HAL_GFX_ROT_270_CCW   (0x3U)
 
#define HAL_GFX_ROT_000_CW   (0x0U)
 
#define HAL_GFX_ROT_270_CW   (0x1U)
 
#define HAL_GFX_ROT_180_CW   (0x2U)
 
#define HAL_GFX_ROT_090_CW   (0x3U)
 
#define HAL_GFX_MIR_VERT   (0x4U)
 
#define HAL_GFX_MIR_HOR   (0x8U)
 

Detailed Description

Macro Definition Documentation

◆ HAL_GFX_A1

#define HAL_GFX_A1   (0x0CU)

A1 (source only)

Definition at line 69 of file hal_gfx_graphics.h.

◆ HAL_GFX_A1LE

#define HAL_GFX_A1LE   (0x27U)

A1LE

Definition at line 85 of file hal_gfx_graphics.h.

◆ HAL_GFX_A2

#define HAL_GFX_A2   (0x30U)

A2

Definition at line 91 of file hal_gfx_graphics.h.

◆ HAL_GFX_A2LE

#define HAL_GFX_A2LE   (0x28U)

A2LE

Definition at line 86 of file hal_gfx_graphics.h.

◆ HAL_GFX_A4

#define HAL_GFX_A4   (0x34U)

A4

Definition at line 92 of file hal_gfx_graphics.h.

◆ HAL_GFX_A4LE

#define HAL_GFX_A4LE   (0x29U)

A4LE

Definition at line 87 of file hal_gfx_graphics.h.

◆ HAL_GFX_A8

#define HAL_GFX_A8   (0x08U)

RGBA0008

Definition at line 63 of file hal_gfx_graphics.h.

◆ HAL_GFX_ABGR8888

#define HAL_GFX_ABGR8888   (0x0EU)

ABGR8888

Definition at line 72 of file hal_gfx_graphics.h.

◆ HAL_GFX_ARGB8888

#define HAL_GFX_ARGB8888   (0x03U)

ARGB8888

Definition at line 57 of file hal_gfx_graphics.h.

◆ HAL_GFX_BGR24

#define HAL_GFX_BGR24   (0x39U)

BGR24

Definition at line 95 of file hal_gfx_graphics.h.

◆ HAL_GFX_BGRA8888

#define HAL_GFX_BGRA8888   (0x10U)

BGRA

Definition at line 73 of file hal_gfx_graphics.h.

◆ HAL_GFX_BGRX8888

#define HAL_GFX_BGRX8888   (0x11U)

BGRX

Definition at line 74 of file hal_gfx_graphics.h.

◆ HAL_GFX_BW1

#define HAL_GFX_BW1   (0x0CU)

A1 (source only)

Definition at line 68 of file hal_gfx_graphics.h.

◆ HAL_GFX_BY

#define HAL_GFX_BY   (0x1AU)

BY

Definition at line 80 of file hal_gfx_graphics.h.

◆ HAL_GFX_BY10

#define HAL_GFX_BY10   (0x3FU)

BY-10bit

Definition at line 99 of file hal_gfx_graphics.h.

◆ HAL_GFX_DITHER

#define HAL_GFX_DITHER   (0x80U)

GPU Dithering

Definition at line 101 of file hal_gfx_graphics.h.

◆ HAL_GFX_FILTER_BL

#define HAL_GFX_FILTER_BL   (0x01U)

Bilinear filtering.

Definition at line 111 of file hal_gfx_graphics.h.

◆ HAL_GFX_FILTER_PS

#define HAL_GFX_FILTER_PS   (0x00U)

Point Sampling.

Definition at line 110 of file hal_gfx_graphics.h.

◆ HAL_GFX_FORMAT_MASK

#define HAL_GFX_FORMAT_MASK   (0x7FU)

Format Mask

Definition at line 102 of file hal_gfx_graphics.h.

◆ HAL_GFX_GU

#define HAL_GFX_GU   (0x19U)

GU

Definition at line 79 of file hal_gfx_graphics.h.

◆ HAL_GFX_GU10

#define HAL_GFX_GU10   (0x3EU)

GU-10bit

Definition at line 98 of file hal_gfx_graphics.h.

◆ HAL_GFX_L1

#define HAL_GFX_L1   (0x0BU)

L1 (source only)

Definition at line 70 of file hal_gfx_graphics.h.

◆ HAL_GFX_L1LE

#define HAL_GFX_L1LE   (0x2AU)

L1LE

Definition at line 88 of file hal_gfx_graphics.h.

◆ HAL_GFX_L2

#define HAL_GFX_L2   (0x31U)

L2

Definition at line 93 of file hal_gfx_graphics.h.

◆ HAL_GFX_L2LE

#define HAL_GFX_L2LE   (0x2BU)

L2LE

Definition at line 89 of file hal_gfx_graphics.h.

◆ HAL_GFX_L4

#define HAL_GFX_L4   (0x35U)

L4

Definition at line 94 of file hal_gfx_graphics.h.

◆ HAL_GFX_L4LE

#define HAL_GFX_L4LE   (0x2CU)

L4LE

Definition at line 90 of file hal_gfx_graphics.h.

◆ HAL_GFX_L8

#define HAL_GFX_L8   (0x09U)

L8

Definition at line 65 of file hal_gfx_graphics.h.

◆ HAL_GFX_MIR_HOR

#define HAL_GFX_MIR_HOR   (0x8U)

Mirror Horizontally

Definition at line 141 of file hal_gfx_graphics.h.

◆ HAL_GFX_MIR_VERT

#define HAL_GFX_MIR_VERT   (0x4U)

Mirror Vertically

Definition at line 140 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGB24

#define HAL_GFX_RGB24   (0x3CU)

RGB24

Definition at line 96 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGB332

#define HAL_GFX_RGB332   (0x38U)

RGBA3320 (source only)

Definition at line 67 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGB565

#define HAL_GFX_RGB565   (0x04U)

RGBA5650

Definition at line 58 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGBA0008

#define HAL_GFX_RGBA0008   (0x08U)

RGBA0008

Definition at line 64 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGBA0800

#define HAL_GFX_RGBA0800   (0x07U)

RGBA0800

Definition at line 62 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGBA3320

#define HAL_GFX_RGBA3320   (0x38U)

RGBA3320 (source only)

Definition at line 66 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGBA4444

#define HAL_GFX_RGBA4444   (0x06U)

RGBA4444

Definition at line 61 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGBA5551

#define HAL_GFX_RGBA5551   (0x05U)

RGBA5551

Definition at line 60 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGBA5650

#define HAL_GFX_RGBA5650   (0x04U)

RGBA5650

Definition at line 59 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGBA8888

#define HAL_GFX_RGBA8888   (0x01U)

RGBA8888

Definition at line 55 of file hal_gfx_graphics.h.

◆ HAL_GFX_RGBX8888

#define HAL_GFX_RGBX8888   (0x00U)

RGBX8888

Definition at line 54 of file hal_gfx_graphics.h.

◆ HAL_GFX_ROT_000_CCW

#define HAL_GFX_ROT_000_CCW   (0x0U)

No rotation

Definition at line 132 of file hal_gfx_graphics.h.

◆ HAL_GFX_ROT_000_CW

#define HAL_GFX_ROT_000_CW   (0x0U)

No rotation

Definition at line 136 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 133 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 139 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 134 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 138 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 135 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 137 of file hal_gfx_graphics.h.

◆ HAL_GFX_RV

#define HAL_GFX_RV   (0x18U)

RV

Definition at line 78 of file hal_gfx_graphics.h.

◆ HAL_GFX_RV10

#define HAL_GFX_RV10   (0x3DU)

RV-10bit

Definition at line 97 of file hal_gfx_graphics.h.

◆ HAL_GFX_TEX_BORDER

#define HAL_GFX_TEX_BORDER   (0x02U<<2)

Border

Definition at line 117 of file hal_gfx_graphics.h.

◆ HAL_GFX_TEX_CLAMP

#define HAL_GFX_TEX_CLAMP   (0x00U<<2)

Clamp

Definition at line 115 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 127 of file hal_gfx_graphics.h.

◆ HAL_GFX_TEX_MIRROR

#define HAL_GFX_TEX_MIRROR   (0x03U<<2)

Mirror

Definition at line 118 of file hal_gfx_graphics.h.

◆ HAL_GFX_TEX_MORTON_ORDER

#define HAL_GFX_TEX_MORTON_ORDER   (0x10U)

Order

Definition at line 122 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 126 of file hal_gfx_graphics.h.

◆ HAL_GFX_TEX_REPEAT

#define HAL_GFX_TEX_REPEAT   (0x01U<<2)

Repeat

Definition at line 116 of file hal_gfx_graphics.h.

◆ HAL_GFX_TSC4

#define HAL_GFX_TSC4   (0x12U)

TSC4

Definition at line 75 of file hal_gfx_graphics.h.

◆ HAL_GFX_TSC6

#define HAL_GFX_TSC6   (0x16U)

TSC6

Definition at line 76 of file hal_gfx_graphics.h.

◆ HAL_GFX_TSC6A

#define HAL_GFX_TSC6A   (0x17U)

TSC6A

Definition at line 77 of file hal_gfx_graphics.h.

◆ HAL_GFX_UV

#define HAL_GFX_UV   (0x1eU)

UV

Definition at line 84 of file hal_gfx_graphics.h.

◆ HAL_GFX_UYVY

#define HAL_GFX_UYVY   (0x0DU)

UYVY

Definition at line 71 of file hal_gfx_graphics.h.

◆ HAL_GFX_XRGB8888

#define HAL_GFX_XRGB8888   (0x02U)

XRGB8888

Definition at line 56 of file hal_gfx_graphics.h.

◆ HAL_GFX_YUV

#define HAL_GFX_YUV   (0x1BU)

YUV

Definition at line 81 of file hal_gfx_graphics.h.

◆ HAL_GFX_Z16

#define HAL_GFX_Z16   (0x1dU)

Z16

Definition at line 83 of file hal_gfx_graphics.h.

◆ HAL_GFX_Z24_8

#define HAL_GFX_Z24_8   (0x1cU)

Z24_8

Definition at line 82 of file hal_gfx_graphics.h.