PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Enumerations
Enumerated Types
PDL API Reference » GFXSS (Graphics Sub System)

## General Description

## Enumerations
enum | cy_en_gfx_status_t { CY_GFX_SUCCESS , CY_GFX_BAD_PARAM , CY_GFX_TIMEOUT }
| Graphics API result. More...
enum | cy_en_gfx_rlad_fmt_t { CY_GFX_RLAD_FMT_ARGB4444 , CY_GFX_RLAD_FMT_ARGB1555 , CY_GFX_RLAD_FMT_RGB565 , CY_GFX_RLAD_FMT_ARGB8888 , CY_GFX_RLAD_FMT_RGB888 , CY_GFX_RLAD_FMT_RGB666 , CY_GFX_RLAD_FMT_RGB444 , CY_GFX_RLAD_FMT_GRAY8 , CY_GFX_RLAD_FMT_GRAY6 , CY_GFX_RLAD_FMT_GRAY4 }
| RLAD image format.
enum | cy_en_gfx_rlad_status_t { CY_GFX_RLAD_NORMAL_OPERATION , CY_GFX_RLAD_AXI_ERROR , CY_GFX_RLAD_BUF_TOO_SMALL , CY_GFX_RLAD_BUF_TOO_LARGE , CY_GFX_RLAD_DC_INVALID_SIZE , CY_GFX_RLAD_DC_INVALID_FORMAT }
| RLAD decoder status. More...
enum | cy_en_gfx_rlad_comp_mode_t { CY_GFX_RLAD_MODE_RLAD , CY_GFX_RLAD_MODE_RLAD_UNIFORM , CY_GFX_RLAD_MODE_RLA , CY_GFX_RLAD_MODE_RL }
| RLAD compression mode. More...
enum | cy_en_gfx_layer_type_t { GFX_LAYER_GRAPHICS , GFX_LAYER_OVERLAY0 , GFX_LAYER_OVERLAY1 }
| Layer type.
enum | cy_en_gfx_display_type_t { GFX_DISP_TYPE_DPI , GFX_DISP_TYPE_DBI_A , GFX_DISP_TYPE_DBI_B , GFX_DISP_TYPE_DBI_C , GFX_DISP_TYPE_DSI_DBI , GFX_DISP_TYPE_DSI_DPI }
| Display type.
enum | cy_en_gfx_display_format_t { GFX_DPI_D24 , GFX_DPI_D16CFG1 , GFX_DPI_D16CFG2 , GFX_DPI_D16CFG3 , GFX_DPI_D18CFG1 , GFXSS_DPI_D18CFG2 , GFX_DBI_D8R3G3B2 , GFX_DBI_D8R4G4B4 , GFX_DBI_D8R5G6B5 , GFX_DBI_D8R6G6B6 , GFX_DBI_D8R8G8B8 , GFX_DBI_D9R6G6B6 , GFX_DBI_D16R3G3B2 , GFX_DBI_D16R4G4B4 , GFX_DBI_D16R5G6B5 , GFX_DBI_D16R6G6B6OP1 , GFX_DBI_D16R6G6B6OP2 , GFX_DBI_D16R8G8B8OP1 , GFX_DBI_D16R8G8B8OP2 , GFX_DBI_D1R5G6B5 , GFX_DBI_D1R8G8B8 }
| Display format type.
enum | cy_en_gfx_disp_buffer_update_type_t { GFX_SINGLE_BUFFER , GFX_DOUBLE_BUFFER , GFX_SPLIT_BUFFER }
| Display buffer update type.

## Enumeration Type Documentation

## ◆ cy_en_gfx_status_t

enum cy_en_gfx_status_t

Graphics API result.

Enumerator
CY_GFX_SUCCESS | Success.
CY_GFX_BAD_PARAM | Bad parameter.
CY_GFX_TIMEOUT | Operation timeout.

## ◆ cy_en_gfx_rlad_status_t

enum cy_en_gfx_rlad_status_t

RLAD decoder status.

Enumerator
CY_GFX_RLAD_NORMAL_OPERATION | No fail state or Normal Operation.
CY_GFX_RLAD_AXI_ERROR | An AXI error response was received when reading compressed image data.
CY_GFX_RLAD_BUF_TOO_SMALL | The RLAD_SIZE setting is inconsistent with the compressed image data (image decompression not complete when end of buffer was reached).
CY_GFX_RLAD_BUF_TOO_LARGE | The RLAD_SIZE setting is inconsistent with the compressed image data (image decompression completed before end of buffer was reached).
CY_GFX_RLAD_DC_INVALID_SIZE | The DC was reading the first pixel of a frame when it was not expected. This means an inconsistent setup of RLAD and DC configuration.
CY_GFX_RLAD_DC_INVALID_FORMAT | The DC was reading data with an unexpected burst length. This means an invalid buffer format was configured.

## ◆ cy_en_gfx_rlad_comp_mode_t

enum cy_en_gfx_rlad_comp_mode_t

RLAD compression mode.

Enumerator
CY_GFX_RLAD_MODE_RLAD | 'Run Length Adaptive Dithering' compression. It is a lossless image compression type.
CY_GFX_RLAD_MODE_RLAD_UNIFORM | 'Run Length Adaptive Dithering' compression with uniform bits per pixel. It is a lossless image compression type.
CY_GFX_RLAD_MODE_RLA | 'Run Length Adaptive' compression. It is a lossless image compression type.
CY_GFX_RLAD_MODE_RL | 'Run length Encoded' compression. It is a lossless image compression type.