最終更新:2015-12-11 (金) 16:14:41 (3058d)
MJPEGビデオフレームディスクリプタ
Top / MJPEGビデオフレームディスクリプタ
Motion-JPEG Video Frame Descriptor
オフセット | フィールド | サイズ | メモ |
0 | bLength? | 1 | bFrameIntervalType?が0なら38 |
1 | bDescriptorType | 1 | |
2 | bDescriptorSubType | 1 | VS_FRAME_MJPEG |
3 | bFrameIndex? | 1 | このフレームディスクリプタの番号 |
4 | bmCapabilities? | 1 | ビット0:スチルイメージサポート,ビット1:固定フレームレート |
5 | wWidth? | 2 | |
7 | wHeight? | 2 | |
9 | dwMinBitRate? | 4 | Specifies the minimum bit rate at the longest frame interval in units of bps at which the data can be transmitted. |
13 | dwMaxBitRate | 4 | Specifies the maximum bit rate at the shortest frame interval in units of bps at which the data can be transmitted. |
17 | dwMaxVideoFrameBufferSize? | 4 | Use of this field has been deprecated.Specifies the maximum number of bytes that the compressor will produce for a video frame or still image. |
21 | dwDefaultFrameInterval? | 4 | デフォルトのフレームレート |
25 | bFrameIntervalType? | 1 | 0:連続、1~255:The number of discrete frame intervals supported (n) |
26 | dwMinFrameInterval? | 4 | bFrameIntervalType?=0の場合。Shortest frame interval supported (at highest frame rate), in 100 ns units. |
30 | dwMaxFrameInterval? | 4 | bFrameIntervalType?=0の場合。Longest frame interval supported (at lowest frame rate), in 100 ns units. |
34 | dwFrameIntervalStep? | 4 | bFrameIntervalType?=0の場合。Indicates granularity of frame interval range, in 100 ns units. |
26 | dwFrameInterval(1) | 4 | bFrameIntervalType?=1の場合。個数分続く。 |
26+(4*n)-4 | dwFrameInterval(n) | 4 |
bLength
- Size of this descriptor in bytes when bFrameIntervalType? is 0: 38
- Size of this descriptor in bytes when bFrameIntervalType? > 0: 26+(4*n)