Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
3545aad0
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
3545aad0
编写于
9月 21, 2022
作者:
L
liyan
提交者:
Gitee
9月 21, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改拼写错误
Signed-off-by:
N
li-yan339
<
liyan339@h-partners.com
>
Signed-off-by:
N
liyan
<
liyan339@h-partners.com
>
上级
805112ec
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
2 addition
and
2 deletion
+2
-2
zh-cn/device-dev/reference/hdi-apis/display__type_8h.md
zh-cn/device-dev/reference/hdi-apis/display__type_8h.md
+2
-2
未找到文件。
zh-cn/device-dev/reference/hdi-apis/display__type_8h.md
浏览文件 @
3545aad0
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
| 枚举 | 描述 |
| 枚举 | 描述 |
| -------- | -------- |
| -------- | -------- |
|
[
DispErrCode
](
_display.md#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
} | 返回值类型定义。
[
更多...
](
_display.md#disperrcode
)
|
|
[
DispErrCode
](
_display.md#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
} | 返回值类型定义。
[
更多...
](
_display.md#disperrcode
)
|
|
[
LayerType
](
_display.md#layertype
)
{
LAYER_TYPE_GRAPHIC,
LAYER_TYPE_OVERLAY,
LAYER_TYPE_S
DI
EBAND,
LAYER_TYPE_CURSOR,
LAYER_TYPE_BUTT
} | 图层类型定义。
[
更多...
](
_display.md#layertype
)
|
|
[
LayerType
](
_display.md#layertype
)
{
LAYER_TYPE_GRAPHIC,
LAYER_TYPE_OVERLAY,
LAYER_TYPE_S
ID
EBAND,
LAYER_TYPE_CURSOR,
LAYER_TYPE_BUTT
} | 图层类型定义。
[
更多...
](
_display.md#layertype
)
|
| {
HBM_USE_CPU_READ
=
(1
<<
0),
HBM_USE_CPU_WRITE
=
(1
<<
1),
HBM_USE_MEM_MMZ
=
(1
<<
2),
HBM_USE_MEM_DMA
=
(1
<<
3),
HBM_USE_MEM_SHARE
=
(1
<<
4),
HBM_USE_MEM_MMZ_CACHE
=
(1
<<
5),
HBM_USE_MEM_FB
=
(1
<<
6),
HBM_USE_ASSIGN_SIZE
=
(1
<<
7)
} |缓冲区定义。
[
更多...
](
_display.md#anonymous-enum
)
|
| {
HBM_USE_CPU_READ
=
(1
<<
0),
HBM_USE_CPU_WRITE
=
(1
<<
1),
HBM_USE_MEM_MMZ
=
(1
<<
2),
HBM_USE_MEM_DMA
=
(1
<<
3),
HBM_USE_MEM_SHARE
=
(1
<<
4),
HBM_USE_MEM_MMZ_CACHE
=
(1
<<
5),
HBM_USE_MEM_FB
=
(1
<<
6),
HBM_USE_ASSIGN_SIZE
=
(1
<<
7)
} |缓冲区定义。
[
更多...
](
_display.md#anonymous-enum
)
|
|
[
PixelFormat
](
_display.md#pixelformat
)
{
PIXEL_FMT_CLUT8
=
0,
PIXEL_FMT_CLUT1,
PIXEL_FMT_CLUT4,
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_VENDER_MASK
=
0X7FFF0000,
PIXEL_FMT_BUTT
=
0X7FFFFFFF
} | 像素格式类型定义。
[
更多...
](
_display.md#pixelformat
)
|
|
[
PixelFormat
](
_display.md#pixelformat
)
{
PIXEL_FMT_CLUT8
=
0,
PIXEL_FMT_CLUT1,
PIXEL_FMT_CLUT4,
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_VENDER_MASK
=
0X7FFF0000,
PIXEL_FMT_BUTT
=
0X7FFFFFFF
} | 像素格式类型定义。
[
更多...
](
_display.md#pixelformat
)
|
|
[
TransformType
](
_display.md#transformtype
)
{
ROTATE_NONE
=
0,
ROTATE_90,
ROTATE_180,
ROTATE_270,
ROTATE_BUTT
} | 图层变换类型定义。
[
更多...
](
_display.md#transformtype
)
|
|
[
TransformType
](
_display.md#transformtype
)
{
ROTATE_NONE
=
0,
ROTATE_90,
ROTATE_180,
ROTATE_270,
ROTATE_BUTT
} | 图层变换类型定义。
[
更多...
](
_display.md#transformtype
)
|
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
|
[
InterfaceType
](
_display.md#interfacetype
)
{
DISP_INTF_HDMI
=
0,
DISP_INTF_LCD,
DISP_INTF_BT1120,
DISP_INTF_BT656,
DISP_INTF_YPBPR,
DISP_INTF_RGB,
DISP_INTF_CVBS,
DISP_INTF_SVIDEO,
DISP_INTF_VGA,
DISP_INTF_MIPI,
DISP_INTF_PANEL,
DISP_INTF_BUTT
} | 枚举接口类型。
[
更多...
](
_display.md#interfacetype
)
|
|
[
InterfaceType
](
_display.md#interfacetype
)
{
DISP_INTF_HDMI
=
0,
DISP_INTF_LCD,
DISP_INTF_BT1120,
DISP_INTF_BT656,
DISP_INTF_YPBPR,
DISP_INTF_RGB,
DISP_INTF_CVBS,
DISP_INTF_SVIDEO,
DISP_INTF_VGA,
DISP_INTF_MIPI,
DISP_INTF_PANEL,
DISP_INTF_BUTT
} | 枚举接口类型。
[
更多...
](
_display.md#interfacetype
)
|
|
[
DispPowerStatus
](
_display.md#disppowerstatus
)
{
POWER_STATUS_ON,
POWER_STATUS_STANDBY,
POWER_STATUS_SUSPEND,
POWER_STATUS_OFF,
POWER_STATUS_BUTT
} | 枚举显示状态
[
更多...
](
_display.md#disppowerstatus
)
|
|
[
DispPowerStatus
](
_display.md#disppowerstatus
)
{
POWER_STATUS_ON,
POWER_STATUS_STANDBY,
POWER_STATUS_SUSPEND,
POWER_STATUS_OFF,
POWER_STATUS_BUTT
} | 枚举显示状态
[
更多...
](
_display.md#disppowerstatus
)
|
|
[
CompositionType
](
_display.md#compositiontype
)
{
COMPOSITION_CLIENT,
COMPOSITION_DEVICE,
COMPOSITION_CURSOR,
COMPOSITION_VIDEO,
COMPOSITION_DEVICE_CLEAR,
COMPOSITION_CLIENT_CLEAR,
COMPOSITION_TUNNEL,
COMPOSITION_BUTT
} | 枚举特殊层的组合类型。
[
更多...
](
_display.md#compositiontype
)
|
|
[
CompositionType
](
_display.md#compositiontype
)
{
COMPOSITION_CLIENT,
COMPOSITION_DEVICE,
COMPOSITION_CURSOR,
COMPOSITION_VIDEO,
COMPOSITION_DEVICE_CLEAR,
COMPOSITION_CLIENT_CLEAR,
COMPOSITION_TUNNEL,
COMPOSITION_BUTT
} | 枚举特殊层的组合类型。
[
更多...
](
_display.md#compositiontype
)
|
|
[
ColorGamut
](
_display.md#colorgamut
)
{
COLOR_GAMUT_INVALID
=
-1,
COLOR_GAMUT_NATIVE
=
0,
COLOR_GAMUT_S
AT
NDARD_BT601
=
1,
COLOR_GAMUT_STANDARD_BT709
=
2,
COLOR_GAMUT_DCI_P3
=
3,
COLOR_GAMUT_SRGB
=
4,
COLOR_GAMUT_ADOBE_RGB
=
5,
COLOR_GAMUT_DISPLAY_P3
=
6,
COLOR_GAMUT_BT2020
=
7,
COLOR_GAMUT_BT2100_PQ
=
8,
COLOR_GAMUT_BT2100_HLG
=
9,
COLOR_GAMUT_DISPLAY_BT2020
=
10
} | 色域类型枚举值
[
更多...
](
_display.md#colorgamut
)
|
|
[
ColorGamut
](
_display.md#colorgamut
)
{
COLOR_GAMUT_INVALID
=
-1,
COLOR_GAMUT_NATIVE
=
0,
COLOR_GAMUT_S
TA
NDARD_BT601
=
1,
COLOR_GAMUT_STANDARD_BT709
=
2,
COLOR_GAMUT_DCI_P3
=
3,
COLOR_GAMUT_SRGB
=
4,
COLOR_GAMUT_ADOBE_RGB
=
5,
COLOR_GAMUT_DISPLAY_P3
=
6,
COLOR_GAMUT_BT2020
=
7,
COLOR_GAMUT_BT2100_PQ
=
8,
COLOR_GAMUT_BT2100_HLG
=
9,
COLOR_GAMUT_DISPLAY_BT2020
=
10
} | 色域类型枚举值
[
更多...
](
_display.md#colorgamut
)
|
|
[
GamutMap
](
_display.md#gamutmap
)
{
GAMUT_MAP_CONSTANT
=
0,
GAMUT_MAP_EXPANSION
=
1,
GAMUT_MAP_HDR_CONSTANT
=
2,
GAMUT_MAP_HDR_EXPANSION
=
3
} | 枚举色域的映射类型
[
更多...
](
_display.md#gamutmap
)
|
|
[
GamutMap
](
_display.md#gamutmap
)
{
GAMUT_MAP_CONSTANT
=
0,
GAMUT_MAP_EXPANSION
=
1,
GAMUT_MAP_HDR_CONSTANT
=
2,
GAMUT_MAP_HDR_EXPANSION
=
3
} | 枚举色域的映射类型
[
更多...
](
_display.md#gamutmap
)
|
|
[
ColorDataSpace
](
_display.md#colordataspace
)
{
COLOR_DATA_SPACE_UNKNOWN
=
0,
GAMUT_BT601
=
0x00000001,
GAMUT_BT709
=
0x00000002,
GAMUT_DCI_P3
=
0x00000003,
GAMUT_SRGB
=
0x00000004,
GAMUT_ADOBE_RGB
=
0x00000005,
GAMUT_DISPLAY_P3
=
0x00000006,
GAMUT_BT2020
=
0x00000007,
GAMUT_BT2100_PQ
=
0x00000008,
GAMUT_BT2100_HLG
=
0x00000009,
GAMUT_DISPLAY_BT2020
=
0x0000000a,
TRANSFORM_FUNC_UNSPECIFIED
=
0x00000100,
TRANSFORM_FUNC_LINEAR
=
0x00000200,
TRANSFORM_FUNC_SRGB
=
0x00000300,
TRANSFORM_FUNC_SMPTE_170M
=
0x00000400,
TRANSFORM_FUNC_GM2_2
=
0x00000500,
TRANSFORM_FUNC_GM2_6
=
0x00000600,
TRANSFORM_FUNC_GM2_8
=
0x00000700,
TRANSFORM_FUNC_ST2084
=
0x00000800,
TRANSFORM_FUNC_HLG
=
0x00000900,
PRECISION_UNSPECIFIED
=
0x00010000,
PRECISION_FULL
=
0x00020000,
PRESION_LIMITED
=
0x00030000,
PRESION_EXTENDED
=
0x00040000,
BT601_SMPTE170M_FULL
=
GAMUT_BT601
\|
TRANSFORM_FUNC_SMPTE_170M
\|
PRECISION_FULL,
BT601_SMPTE170M_LIMITED
=
GAMUT_BT601
\|
TRANSFORM_FUNC_SMPTE_170M
\|
PRESION_LIMITED,
BT709_LINEAR_FULL
=
GAMUT_BT709
\|
TRANSFORM_FUNC_LINEAR
\|
PRECISION_FULL,
BT709_LINEAR_EXTENDED
=
GAMUT_BT709
\|
TRANSFORM_FUNC_LINEAR
\|
PRESION_EXTENDED,
BT709_SRGB_FULL
=
GAMUT_BT709
\|
TRANSFORM_FUNC_SRGB
\|
PRECISION_FULL,
BT709_SRGB_EXTENDED
=
GAMUT_BT709
\|
TRANSFORM_FUNC_SRGB
\|
PRESION_EXTENDED,
BT709_SMPTE170M_LIMITED
=
GAMUT_BT709
\|
TRANSFORM_FUNC_SMPTE_170M
\|
PRESION_LIMITED,
DCI_P3_LINEAR_FULL
=
GAMUT_DCI_P3
\|
TRANSFORM_FUNC_LINEAR
\|
PRECISION_FULL,
DCI_P3_GAMMA26_FULL
=
GAMUT_DCI_P3
\|
TRANSFORM_FUNC_GM2_6
\|
PRECISION_FULL,
DISPLAY_P3_LINEAR_FULL
=
GAMUT_DISPLAY_P3
\|
TRANSFORM_FUNC_LINEAR
\|
PRECISION_FULL,
DCI_P3_SRGB_FULL
=
GAMUT_DCI_P3
\|
TRANSFORM_FUNC_SRGB
\|
PRECISION_FULL,
ADOBE_RGB_GAMMA22_FULL
=
GAMUT_ADOBE_RGB
\|
TRANSFORM_FUNC_GM2_2
\|
PRECISION_FULL,
BT2020_LINEAR_FULL
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_LINEAR
\|
PRECISION_FULL,
BT2020_SRGB_FULL
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_SRGB
\|
PRECISION_FULL,
BT2020_SMPTE170M_FULL
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_SMPTE_170M
\|
PRECISION_FULL,
BT2020_ST2084_FULL
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_ST2084
\|
PRECISION_FULL,
BT2020_HLG_FULL
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_HLG
\|
PRECISION_FULL,
BT2020_ST2084_LIMITED
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_ST2084
\|
PRESION_LIMITED
} | 枚举颜色空间的类型
[
更多...
](
_display.md#colordataspace
)
|
|
[
ColorDataSpace
](
_display.md#colordataspace
)
{
COLOR_DATA_SPACE_UNKNOWN
=
0,
GAMUT_BT601
=
0x00000001,
GAMUT_BT709
=
0x00000002,
GAMUT_DCI_P3
=
0x00000003,
GAMUT_SRGB
=
0x00000004,
GAMUT_ADOBE_RGB
=
0x00000005,
GAMUT_DISPLAY_P3
=
0x00000006,
GAMUT_BT2020
=
0x00000007,
GAMUT_BT2100_PQ
=
0x00000008,
GAMUT_BT2100_HLG
=
0x00000009,
GAMUT_DISPLAY_BT2020
=
0x0000000a,
TRANSFORM_FUNC_UNSPECIFIED
=
0x00000100,
TRANSFORM_FUNC_LINEAR
=
0x00000200,
TRANSFORM_FUNC_SRGB
=
0x00000300,
TRANSFORM_FUNC_SMPTE_170M
=
0x00000400,
TRANSFORM_FUNC_GM2_2
=
0x00000500,
TRANSFORM_FUNC_GM2_6
=
0x00000600,
TRANSFORM_FUNC_GM2_8
=
0x00000700,
TRANSFORM_FUNC_ST2084
=
0x00000800,
TRANSFORM_FUNC_HLG
=
0x00000900,
PRECISION_UNSPECIFIED
=
0x00010000,
PRECISION_FULL
=
0x00020000,
PRESION_LIMITED
=
0x00030000,
PRESION_EXTENDED
=
0x00040000,
BT601_SMPTE170M_FULL
=
GAMUT_BT601
\|
TRANSFORM_FUNC_SMPTE_170M
\|
PRECISION_FULL,
BT601_SMPTE170M_LIMITED
=
GAMUT_BT601
\|
TRANSFORM_FUNC_SMPTE_170M
\|
PRESION_LIMITED,
BT709_LINEAR_FULL
=
GAMUT_BT709
\|
TRANSFORM_FUNC_LINEAR
\|
PRECISION_FULL,
BT709_LINEAR_EXTENDED
=
GAMUT_BT709
\|
TRANSFORM_FUNC_LINEAR
\|
PRESION_EXTENDED,
BT709_SRGB_FULL
=
GAMUT_BT709
\|
TRANSFORM_FUNC_SRGB
\|
PRECISION_FULL,
BT709_SRGB_EXTENDED
=
GAMUT_BT709
\|
TRANSFORM_FUNC_SRGB
\|
PRESION_EXTENDED,
BT709_SMPTE170M_LIMITED
=
GAMUT_BT709
\|
TRANSFORM_FUNC_SMPTE_170M
\|
PRESION_LIMITED,
DCI_P3_LINEAR_FULL
=
GAMUT_DCI_P3
\|
TRANSFORM_FUNC_LINEAR
\|
PRECISION_FULL,
DCI_P3_GAMMA26_FULL
=
GAMUT_DCI_P3
\|
TRANSFORM_FUNC_GM2_6
\|
PRECISION_FULL,
DISPLAY_P3_LINEAR_FULL
=
GAMUT_DISPLAY_P3
\|
TRANSFORM_FUNC_LINEAR
\|
PRECISION_FULL,
DCI_P3_SRGB_FULL
=
GAMUT_DCI_P3
\|
TRANSFORM_FUNC_SRGB
\|
PRECISION_FULL,
ADOBE_RGB_GAMMA22_FULL
=
GAMUT_ADOBE_RGB
\|
TRANSFORM_FUNC_GM2_2
\|
PRECISION_FULL,
BT2020_LINEAR_FULL
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_LINEAR
\|
PRECISION_FULL,
BT2020_SRGB_FULL
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_SRGB
\|
PRECISION_FULL,
BT2020_SMPTE170M_FULL
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_SMPTE_170M
\|
PRECISION_FULL,
BT2020_ST2084_FULL
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_ST2084
\|
PRECISION_FULL,
BT2020_HLG_FULL
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_HLG
\|
PRECISION_FULL,
BT2020_ST2084_LIMITED
=
GAMUT_BT2020
\|
TRANSFORM_FUNC_ST2084
\|
PRESION_LIMITED
} | 枚举颜色空间的类型
[
更多...
](
_display.md#colordataspace
)
|
|
[
HDRFormat
](
_display.md#hdrformat
)
{
NOT_SUPPORT_HDR
=
0,
DOLBY_VISION
=
1,
HDR10
=
2,
HLG
=
3,
HDR10_PLUS
=
4,
HDR_VIVID
=
5
} | 枚举HDR格式
[
更多...
](
_display.md#hdrformat
)
|
|
[
HDRFormat
](
_display.md#hdrformat
)
{
NOT_SUPPORT_HDR
=
0,
DOLBY_VISION
=
1,
HDR10
=
2,
HLG
=
3,
HDR10_PLUS
=
4,
HDR_VIVID
=
5
} | 枚举HDR格式
[
更多...
](
_display.md#hdrformat
)
|
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录