# ISurface - [Overview](#section1540575515165631) - [Summary](#section446071761165631) - [Data Fields](#pub-attribs) - [Details](#section20802730165631) - [Field](#section1265100385165631) - [alpha0](#ac2aa13d6c25df5d1a1fcfa92da425d29) - [alpha1](#a4fd217bfeb9d0a73992c797a900ba632) - [bAlphaExt1555](#a9d9ba9ee72ae25c0e84bfba10fe52f9a) - [bAlphaMax255](#a17f87b9850f83633f427eeceb74c93a7) - [bYCbCrClut](#ad2693b11b0cefeed40070364f9e31e84) - [cbcrPhyAddr](#adc8bc02eb42a881adf57caf06ddff243) - [cbcrStride](#a835f95df55db296dbf92061da1aa9627) - [clutPhyAddr](#a98bca93c426df8030c0a67b8fba02525) - [enColorFmt](#a260d540d41736284edc5a27c1ff46963) - [height](#ae68d2e393fe150b1bde8c312c36945c6) - [phyAddr](#aeac36e064994bcf2f2f1acc4b0f6a1ea) - [stride](#a61ea4da3897aac944042e60df73554be) - [width](#a3cc2e909bab924936e8273a237ddbb65) ## **Overview** **Related Modules:** [Display](display.md) **Description:** Stores surface information for hardware acceleration, such as draw image, and bit blit. ## **Summary** ## Data Fields

Variable Name

Description

phyAddr

uint64_t

height

int32_t

width

int32_t

stride

int32_t

enColorFmt

PixelFormat

bYCbCrClut

bool

bAlphaMax255

bool

bAlphaExt1555

bool

alpha0

uint8_t

alpha1

uint8_t

cbcrPhyAddr

uint64_t

cbcrStride

int32_t

clutPhyAddr

uint64_t

## **Details** ## **Field ** ## alpha0 ``` uint8_t ISurface::alpha0 ``` **Description:** Value of alpha0, ranging from 0 to 255 ## alpha1 ``` uint8_t ISurface::alpha1 ``` **Description:** Value of alpha1, ranging from 0 to 255 ## bAlphaExt1555 ``` bool ISurface::bAlphaExt1555 ``` **Description:** ARGB1555 alpha extension enable bit ## bAlphaMax255 ``` bool ISurface::bAlphaMax255 ``` **Description:** Maximum alpha value of an image \(255 or 128\) ## bYCbCrClut ``` bool ISurface::bYCbCrClut ``` **Description:** Whether the color lookup table \(CLUT\) is in the YCbCr space ## cbcrPhyAddr ``` uint64_t ISurface::cbcrPhyAddr ``` **Description:** CbCr physical address ## cbcrStride ``` int32_t ISurface::cbcrStride ``` **Description:** CbCr stride ## clutPhyAddr ``` uint64_t ISurface::clutPhyAddr ``` **Description:** Start physical address of the CLUT, used for color extension or correction ## enColorFmt ``` [PixelFormat](codec.md#ga60883d4958a60b91661e97027a85072a) ISurface::enColorFmt ``` **Description:** Image format ## height ``` int32_t ISurface::height ``` **Description:** Image height ## phyAddr ``` uint64_t ISurface::phyAddr ``` **Description:** Start physical address of an image ## stride ``` int32_t ISurface::stride ``` **Description:** Image stride ## width ``` int32_t ISurface::width ``` **Description:** Image width