加入收藏
举报
02-14 20:02
#0
文件名称:
ISurface.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
8.90 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# ISurface
## **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 Documentation**
## 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
点赞 回复
回帖
支持markdown部分语法 ?