2.2.3.6.1 STREAM_DESCRIPTION
The STREAM_DESCRIPTION structure contains properties of a video stream.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FrameSourceTypes |
StreamCategory |
Selected |
|||||||||||||||||||||||||||||
CanBeShared |
FrameSourceTypes (2 bytes): A 16-bit unsigned integer that specifies the type of data the stream provides. This field MUST contain a combination of one or more of the following flags.
-
Flag
Meaning
Color
0x0001
This stream provides color data.
Infrared
0x0002
This stream provides infrared data.
Custom
0x0008
This stream provides custom data.
StreamCategory (1 byte): An 8-bit unsigned integer that specifies the category of the stream.
-
Value
Meaning
Capture
0x01
Capture category streams provide a stream of compressed or uncompressed digital video.
Selected (1 byte): An 8-bit unsigned integer that MUST be set to 1 if the stream is currently selected to produce video data, otherwise it MUST be set to 0.
CanBeShared (1 byte): An 8-bit unsigned integer that MUST be set to 1 if the stream can be shared between applications, otherwise it MUST be set to 0.