KS_CompressionCaps 枚举 (ksmedia.h)

KS_CompressionCaps 枚举定义设备的压缩功能。

语法

typedef enum {
  KS_CompressionCaps_CanQuality,
  KS_CompressionCaps_CanCrunch,
  KS_CompressionCaps_CanKeyFrame,
  KS_CompressionCaps_CanBFrame,
  KS_CompressionCaps_CanWindow
} KS_CompressionCaps;

常量

 
KS_CompressionCaps_CanQuality
视频压缩器支持质量设置。
KS_CompressionCaps_CanCrunch
视频压缩器可以将视频压缩为指定的数据速率。 如果微型驱动程序支持此功能,则 KS_VIDEOINFOHEADER 结构的 dwBitRate 成员将指定默认数据速率。
KS_CompressionCaps_CanKeyFrame
视频压缩器支持用户指定的关键帧速率。
KS_CompressionCaps_CanBFrame
视频压缩器支持用户指定的 P 帧间隔。 关键帧和 P 帧之间的帧是双向 (B) 帧。
KS_CompressionCaps_CanWindow
视频压缩器支持用户指定的窗口大小 (,即平均大小不能超过指定数据速率) 的帧数。

要求

要求
Header ksmedia.h (包括 Ksmedia.h)

另请参阅

KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S

KS_VIDEOINFOHEADER