display_type.h

Overview

Related Modules:

Display

Description:

Declares the types used by the display driver functions.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name Description
DisplayInfo Defines display information.
LayerInfo Defines layer information.
LayerAlpha Defines alpha operations on a layer.
BufferHandle Defines the buffer handle type. The virtual address of a handle maps to its physical address.
GrallocBuffer Defines the memory buffer, including the buffer handle, memory type, memory size, and virtual memory address.
BufferData Defines buffer data of a layer, including the virtual and physical memory addresses.
LayerBuffer Defines the buffer, which is used to store layer data.
IRect Defines the coordinates of the upper left corner of a rectangle as well as its width and height to describe a rectangular area for an image.
ISurface Stores surface information for hardware acceleration, such as draw image, and bit blit.
ILine Describes a line to help draw lines in hardware acceleration.
ICircle Describes a circle to help draw circles in hardware acceleration.
Rectangle Describes a rectangle to help draw rectangles in hardware acceleration.
GfxOpt Defines hardware acceleration options.

Enumerations

Enumeration Name Description
DispErrCode { DISPLAY_SUCCESS = 0, DISPLAY_FAILURE = -1, DISPLAY_FD_ERR = -2, DISPLAY_PARAM_ERR = -3, DISPLAY_NULL_PTR = -4, DISPLAY_NOT_SUPPORT = -5, DISPLAY_NOMEM = -6, DISPLAY_SYS_BUSY = -7, DISPLAY_NOT_PERM = -8 } Enumerates return values of the functions.
LayerType { LAYER_TYPE_GRAPHIC, LAYER_TYPE_OVERLAY, LAYER_TYPE_SDIEBAND, LAYER_TYPE_BUTT } Enumerates layer types.
PixelFormat { PIXEL_FMT_RGB_565, PIXEL_FMT_RGBA_5658, PIXEL_FMT_RGBX_4444, PIXEL_FMT_RGBA_4444, PIXEL_FMT_RGB_444, PIXEL_FMT_RGBX_5551, PIXEL_FMT_RGBA_5551, PIXEL_FMT_RGB_555, PIXEL_FMT_RGBX_8888, PIXEL_FMT_RGBA_8888, PIXEL_FMT_RGB_888, PIXEL_FMT_BGR_565, PIXEL_FMT_BGRX_4444, PIXEL_FMT_BGRA_4444, PIXEL_FMT_BGRX_5551, PIXEL_FMT_BGRA_5551, PIXEL_FMT_BGRX_8888, PIXEL_FMT_BGRA_8888, PIXEL_FMT_YUV_422_I, PIXEL_FMT_YCBCR_422_SP, PIXEL_FMT_YCRCB_422_SP, PIXEL_FMT_YCBCR_420_SP, PIXEL_FMT_YCRCB_420_SP, PIXEL_FMT_YCBCR_422_P, PIXEL_FMT_YCRCB_422_P, PIXEL_FMT_YCBCR_420_P, PIXEL_FMT_YCRCB_420_P, PIXEL_FMT_YUYV_422_PKG, PIXEL_FMT_UYVY_422_PKG, PIXEL_FMT_YVYU_422_PKG, PIXEL_FMT_VYUY_422_PKG, PIXEL_FMT_BUTT } Enumerates pixel formats.
TransformType { ROTATE_NONE = 0, ROTATE_90, ROTATE_180, ROTATE_270, ROTATE_BUTT } Enumerates transform types of images.
MemType { NORMAL_MEM = 0, CACHE_MEM, SHM_MEM } Enumerates memory types.
BlendType { BLEND_NONE = 0, BLEND_CLEAR, BLEND_SRC, BLEND_SRCOVER, BLEND_DSTOVER, BLEND_SRCIN, BLEND_DSTIN, BLEND_SRCOUT, BLEND_DSTOUT, BLEND_SRCATOP, BLEND_DSTATOP, BLEND_ADD, BLEND_XOR, BLEND_DST, BLEND_AKS, BLEND_AKD, BLEND_BUTT } Enumerates image blending types.
RopType { ROP_BLACK = 0, ROP_NOTMERGEPEN, ROP_MASKNOTPEN, ROP_NOTCOPYPEN, ROP_MASKPENNOT, ROP_NOT, ROP_XORPEN, ROP_NOTMASKPEN, ROP_MASKPEN, ROP_NOTXORPEN, ROP_NOP, ROP_MERGENOTPEN, ROP_COPYPE, ROP_MERGEPENNOT, ROP_MERGEPEN, ROP_WHITE, ROP_BUTT } Enumerates ROP types supported by hardware acceleration.
ColorKey { CKEY_NONE = 0, CKEY_SRC, CKEY_DST, CKEY_BUTT } Enumerates color key types supported by hardware acceleration.
MirrorType { MIRROR_NONE = 0, MIRROR_LR, MIRROR_TB, MIRROR_BUTT } Enumerates mirror types supported by hardware acceleration.
Connection { INVALID = 0, CONNECTED, DISCONNECTED } Enumerates connection types of hot plugging.