DVD_DECODER_CAPS structure (strmif.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The DVD_DECODER_CAPS structure indicates the capabilities of a DVD decoder.

Syntax

typedef struct tagDVD_DECODER_CAPS {
  DWORD  dwSize;
  DWORD  dwAudioCaps;
  double dFwdMaxRateVideo;
  double dFwdMaxRateAudio;
  double dFwdMaxRateSP;
  double dBwdMaxRateVideo;
  double dBwdMaxRateAudio;
  double dBwdMaxRateSP;
  DWORD  dwRes1;
  DWORD  dwRes2;
  DWORD  dwRes3;
  DWORD  dwRes4;
} DVD_DECODER_CAPS;

Members

dwSize

Size of this structure.

dwAudioCaps

Bitwise OR of flags indicating which audio formats are supported. The following flags are defined.

Value Meaning
DVD_AUDIO_CAPS_AC3
0x00000001
Dolby Digital (AC3).
DVD_AUDIO_CAPS_MPEG2
0x00000002
MPEG-2 audio.
DVD_AUDIO_CAPS_LPCM
0x00000004
Linear pulse code modulation (LPCM).
DVD_AUDIO_CAPS_DTS
0x00000008
DTS audio.
DVD_AUDIO_CAPS_SDDS
0x00000010
Sony Dynamic Digital Sound (SDDS) audio.

dFwdMaxRateVideo

Maximum video data rate in forward direction.

dFwdMaxRateAudio

Maximum audio data rate in forward direction.

dFwdMaxRateSP

Maximum subpicture data rate in forward direction.

dBwdMaxRateVideo

Maximum video data rate in reverse direction. (0 if decoder does not support the smooth reverse mechanism.)

dBwdMaxRateAudio

Maximum audio data rate in reverse direction. (0 if decoder does not support the smooth reverse mechanism.)

dBwdMaxRateSP

Maximum subpicture data rate in reverse direction. (0 if decoder does not support the smooth reverse mechanism.)

dwRes1

Reserved for future use.

dwRes2

Reserved for future use.

dwRes3

Reserved for future use.

dwRes4

Reserved for future use.

Requirements

Requirement Value
Header strmif.h (include Dshow.h)

See also

DirectShow Structures

IDvdInfo2::GetDecoderCaps