最終更新:2018-06-15 (金) 12:30:44 (783d)  

非圧縮ビデオフォーマットディスクリプタ
Top / 非圧縮ビデオフォーマットディスクリプタ

Uncompressed Video Format Descriptor

フィールド

  • OffsetFieldSizeValueDescription
    0bLength?1NumberSize of this descriptor in bytes: 27
    1bDescriptorType1ConstantCS_INTERFACE (0x24) descriptor type
    2bDescriptorSubtype1ConstantVS_FORMAT_UNCOMPRESSED descriptor subtype
    3bFormatIndex1NumberIndex of this format descriptor
    4bNumFrameDescriptors?1NumberNumber of frame descriptors following that correspond to this format
    5guidFormat16GUIDGlobally Unique Identifier used to identify stream-encoding format
    21bBitsPerPixel?1NumberNumber of bits per pixel used to specify color in the decoded video frame
    22bDefaultFrameIndex?1NumberOptimum Frame Index (used to select resolution) for this stream
    23bAspectRatioX?1NumberThe X dimension of the picture aspect ratio.
    24bAspectRatioY?1NumberThe Y dimension of the picture aspect ratio.
    25bmInterlaceFlags?1BitmapSpecifies interlace information.
    26bCopyProtect?1BooleanSpecifies whether duplication of the video stream is restricted

25:bmInterlaceFlags?

  • Specifies interlace information. If the scanning mode control in the Camera Terminal is supported for this stream, this field shall reflect the field format used in interlaced mode.
  • (Top field in PAL is field 1, top field in NTSC is field 2.):
    D0Interlaced stream or variable. 1 = Yes
    D1Fields per frame. 0= 2 fields, 1 = 1 field
    D2Field 1 first. 1 = Yes
    D3Reserved
    D5..4Field pattern
    00 = Field 1 only
    01 = Field 2 only
    10 = Regular pattern of fields 1 and 2
    11 = Random pattern of fields 1 and 2
    D7..6Reserved. Do not use.

26:bCopyProtect?

  • 0: No restrictions
  • 1: Restrict duplication

メモ

  • USB Video Class supports one packed 4:2:2 YUV format (YUY2) and one planar 4:2:0 YUV format (NV12).

関連