• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# StreamDescription
2
3
4## 概述
5
6流描述信息,使用于[IVideoProcessSession::Prepare](interface_i_video_process_session_v13.md#prepare)。
7
8**起始版本:** 5.0
9
10**相关模块:**[Camera](_camera_v13.md)
11
12
13## 汇总
14
15
16### 成员变量
17
18| 名称 | 描述 |
19| -------- | -------- |
20| int [streamId](#streamid) | 流id。  |
21| enum [MediaStreamType](_camera_v13.md#mediastreamtype)[type](#type) | 媒体流类型。  |
22| int [pixelFormat](#pixelformat) | pixel格式。  |
23| int [width](#width) | 图片宽。  |
24| int [height](#height) | 图片高。  |
25| int [dataspace](#dataspace) | 图片色域。  |
26
27
28## 结构体成员变量说明
29
30
31### dataspace
32
33```
34int StreamDescription::dataspace
35```
36**描述**
37
38图片色域。
39
40**起始版本:** 5.0
41
42
43### height
44
45```
46int StreamDescription::height
47```
48**描述**
49
50图片高。
51
52**起始版本:** 5.0
53
54
55### pixelFormat
56
57```
58int StreamDescription::pixelFormat
59```
60**描述**
61
62pixel格式。
63
64**起始版本:** 5.0
65
66
67### streamId
68
69```
70int StreamDescription::streamId
71```
72**描述**
73
74流id。
75
76**起始版本:** 5.0
77
78
79### type
80
81```
82enum MediaStreamType StreamDescription::type
83```
84**描述**
85
86媒体流类型。
87
88**起始版本:** 5.0
89
90
91### width
92
93```
94int StreamDescription::width
95```
96**描述**
97
98图片宽。
99
100**起始版本:** 5.0
101