• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# StreamAttribute
2
3
4## 概述
5
6流的属性。
7
8**相关模块:**
9
10[Camera](_camera.md)
11
12
13## 汇总
14
15
16### Public 属性
17
18  | 名称 | 描述 |
19| -------- | -------- |
20| [streamId_](#streamid_) | int<br/>流的ID,用于在设备内唯一标识一条流。&nbsp; |
21| [width_](#width_) | int<br/>图像宽度。&nbsp; |
22| [height_](#height_) | int<br/>图像高度。&nbsp; |
23| [overrideFormat_](#overrideformat_) | int<br/>重写的图像格式。&nbsp; |
24| [overrideDataspace_](#overridedataspace_) | int<br/>重写的图像颜色空间。&nbsp; |
25| [producerUsage_](#producerusage_) | int<br/>重写后的生产者的使用方式。&nbsp; |
26| [producerBufferCount_](#producerbuffercount_) | int<br/>重写后的生产者缓存数量。&nbsp; |
27| [maxBatchCaptureCount_](#maxbatchcapturecount_) | int<br/>连拍支持的最大捕获帧数量。&nbsp; |
28| [maxCaptureCount_](#maxcapturecount_) | int<br/>最大的并发捕获请求个数,默认为1。&nbsp; |
29
30
31## 类成员变量说明
32
33
34### height_
35
36
37```
38int StreamAttribute::height_
39```
40**描述:**
41图像高度。
42
43
44### maxBatchCaptureCount_
45
46
47```
48int StreamAttribute::maxBatchCaptureCount_
49```
50**描述:**
51连拍支持的最大捕获帧数量。
52
53
54### maxCaptureCount_
55
56
57```
58int StreamAttribute::maxCaptureCount_
59```
60**描述:**
61最大的并发捕获请求个数,默认为1。
62
63
64### overrideDataspace_
65
66
67```
68int StreamAttribute::overrideDataspace_
69```
70**描述:**
71重写的图像颜色空间。
72
73
74### overrideFormat_
75
76
77```
78int StreamAttribute::overrideFormat_
79```
80**描述:**
81重写的图像格式。
82
83
84### producerBufferCount_
85
86
87```
88int StreamAttribute::producerBufferCount_
89```
90**描述:**
91重写后的生产者缓存数量。
92
93
94### producerUsage_
95
96
97```
98int StreamAttribute::producerUsage_
99```
100**描述:**
101重写后的生产者的使用方式。
102
103
104### streamId_
105
106
107```
108int StreamAttribute::streamId_
109```
110**描述:**
111流的ID,用于在设备内唯一标识一条流。
112
113
114### width_
115
116
117```
118int StreamAttribute::width_
119```
120**描述:**
121图像宽度。
122