This section describes the Microsoft® DirectShow™ data types.
Data type | Description |
AM_ASPECT_RATIO_MODE | Specifies the aspect ratio of a video image in a display window. |
AM_DVD_GRAPH_FLAGS | Specifies the type of decoder to use in a DVD filter graph. |
AM_DVD_STREAM_FLAGS | Describes a DVD stream type (video, audio, or subpicture). |
AM_LINE21_CCLEVEL | Closed caption capability level. |
AM_LINE21_CCSERVICE | Closed caption decoder service. |
AM_LINE21_CCSTATE | Closed caption state (on or off). |
AM_LINE21_DRAWBGMODE | Closed caption text background mode. |
AM_SAMPLE_PROPERTY_FLAGS | Values for the dwSampleFlags member of the AM_SAMPLE2_PROPERTIES structure. |
AM_STREAM_INFO_FLAGS | Indicates whether or not various components of the AM_STREAM_INFO structure have been set. |
AMVP_CONTEXT | Specifies the video port (VP) context (Video or VBI data). |
AMVP_MODE | Specifies the various modes for video ports (VP). |
AnalogVideoStandard | Specifies the format of the baseband analog video signal. |
CameraControlProperty | Specifies what part of the camera DirectShow is controlling. |
CL_ELEM_FLAGS | Cutlist element flags. |
CL_ELEM_STATUS | Cutlist status flags. |
CompressionCaps | Indicates video compression capabilities. |
DVD_DISC_SIDE | Sides of a DVD disc. |
DVD_DOMAIN | Indicates the state of a DVD player. |
DVD_ERROR | Specifies DVD error conditions. |
DVD_FRAMERATE | DVD frame rates. |
DVD_MENU_ID | DVD Video Title Set (VTS) menu identifiers. |
DVD_PLAYBACK_LOCATION | DVD playback location. |
DVD_WARNING | Specifies DVD warning conditions. |
FILTER_STATE | Describes a filter's state. |
InterleavingMode | Specifies how video frames and audio samples are to be written to disk. |
MPEG2Level | The MPEG2 video Level as specified in the MPEG2 video standard. (ISO13818-2) |
MPEG2Profile | The MPEG2 video Profile as specified in the MPEG2 video standard. (ISO13818-2) |
PIN_DIRECTION | Describes a pin's direction. |
QualityMessageType | Describes a quality message type. |
REG_PINFLAG | Flags for the dwFlags member in the REGFILTERPINS2 structure. |
StreamControlState | Describes the state of the stream and indicates how to proceed. |
TunerInputType | Specifies the frequency of a TV tuner (Cable or Antenna). |
VfwCaptureDialogs | Specifies a dialog box that might exist in a Microsoft Video for Windows® capture driver. |
VfwCompressDialogs | Specifies a dialog box that might exist in a Video for Windows compression (codec) driver. |
Specifies the aspect ratio of a video image in a display window.
typedef enum _AM_ASPECT_RATIO_MODE { AM_ARMODE_NONE, AM_ARMODE_LETTER_BOX, } AM_ASPECT_RATIO_MODE;
If the AM_ARMODE_NONE member is specified in this enumerated type, a video stream will always occupy the entire region of the display window when the window is resized. The AM_ARMODE_LETTER_BOX member eliminates stretching and distortions of the video by keeping the aspect ratio consistant and painting the excess areas of the window a background color.
Specifies the type of decoder to use in a DVD filter graph.
enum { AM_DVD_HWDEC_PREFER, AM_DVD_HWDEC_ONLY, AM_DVD_SWDEC_PREFER, AM_DVD_SWDEC_ONLY, AM_DVD_NOVPE } AM_DVD_GRAPH_FLAGS;
Do not combine any of the hardware flags (AM_DVD_HWDEC_*) with any of the software flags (AM_DVD_SWDEC_*). However, you can combine AM_DVD_NOVPE with any of the hardware flags.
IDvdGraphBuilder::RenderDvdVideoVolume
Describes a DVD stream type (video, audio, or subpicture).
enum { AM_DVD_STREAM_VIDEO, AM_DVD_STREAM_AUDIO, AM_DVD_STREAM_SUBPIC } AM_DVD_STREAM_FLAGS;
Closed caption capability level.
typedef enum _AM_LINE21_CCLEVEL { AM_L21_CCLEVEL_TC2 } AM_LINE21_CCLEVEL, *PAM_LINE21_CCLEVEL ;
IAMLine21Decoder::GetDecoderLevel
Closed caption decoder service.
typedef enum _AM_LINE21_CCSERVICE { AM_L21_CCSERVICE_None, AM_L21_CCSERVICE_Caption1, AM_L21_CCSERVICE_Caption2, AM_L21_CCSERVICE_Text1, AM_L21_CCSERVICE_Text2, AM_L21_CCSERVICE_XDS, } AM_LINE21_CCSERVICE, *PAM_LINE21_CCSERVICE ;
IAMLine21Decoder::GetCurrentService, IAMLine21Decoder::SetCurrentService
Closed caption state (on or off).
typedef enum _AM_LINE21_CCSTATE { AM_L21_CCSTATE_Off, AM_L21_CCSTATE_On } AM_LINE21_CCSTATE, *PAM_LINE21_CCSTATE ;
IAMLine21Decoder::GetServiceState, IAMLine21Decoder::SetServiceState
Closed caption text background mode.
typedef enum _AM_LINE21_DRAWBGMODE { AM_L21_DRAWBGMODE_Opaque, AM_L21_DRAWBGMODE_Transparent } AM_LINE21_DRAWBGMODE, *PAM_LINE21_DRAWBGMODE ;
IAMLine21Decoder::GetDrawBackgroundMode, IAMLine21Decoder::SetDrawBackgroundMode
Values for the dwSampleFlags member of the AM_SAMPLE2_PROPERTIES structure.
enum tagAM_SAMPLE_PROPERTY_FLAGS { AM_SAMPLE_SPLICEPOINT = 0x01, AM_SAMPLE_PREROLL = 0x02, AM_SAMPLE_DATADISCONTINUITY = 0x04, AM_SAMPLE_TYPECHANGED = 0x08, AM_SAMPLE_TIMEVALID = 0x10, AM_SAMPLE_TIMEDISCONTINUITY = 0x40, AM_SAMPLE_FLUSH_ON_PAUSE = 0x80, AM_SAMPLE_STOPVALID = 0x100, AM_SAMPLE_ENDOFSTREAM = 0x200, AM_STREAM_MEDIA = 0, AM_STREAM_CONTROL = 1 };
Indicates whether or not various components of the AM_STREAM_INFO structure have been set.
typedef enum { AM_STREAM_INFO_START_DEFINED = 0x00000001, AM_STREAM_INFO_STOP_DEFINED = 0x00000002, AM_STREAM_INFO_DISCARDING = 0x00000004, AM_STREAM_INFO_STOP_SEND_EXTRA = 0x00000010 } AM_STREAM_INFO_FLAGS;
Specifies the video port (VP) context (Video or VBI data).
typedef enum _AMVP_CONTEXT { AMVP_CONTEXT_VBI, AMVP_CONTEXT_VIDEO } AMVP_CONTEXT;
Specifies the various modes for video ports.
typedef enum _AMVP_MODE{ AMVP_MODE_WEAVE, AMVP_MODE_BOBINTERLEAVED, AMVP_MODE_BOBNONINTERLEAVED, AMVP_MODE_SKIPEVEN, AMVP_MODE_SKIPODD } AMVP_MODE;
Specifies the format of the baseband analog video signal.
typedef enum { AnalogVideo_None = 0x00000000 AnalogVideo_NTSC_M = 0x00000001, // 75 IRE Setup AnalogVideo_NTSC_M_J = 0x00000002, // Japan, 0 IRE Setup AnalogVideo_NTSC_433 = 0x00000004 AnalogVideo_PAL_B = 0x00000010, AnalogVideo_PAL_D = 0x00000020, AnalogVideo_PAL_H = 0x00000080, AnalogVideo_PAL_I = 0x00000100, AnalogVideo_PAL_M = 0x00000200, AnalogVideo_PAL_N = 0x00000400, AnalogVideo_PAL_60 = 0x00000800, AnalogVideo_SECAM_B = 0x00001000, AnalogVideo_SECAM_D = 0x00002000, AnalogVideo_SECAM_G = 0x00004000, AnalogVideo_SECAM_H = 0x00008000, AnalogVideo_SECAM_K = 0x00010000, AnalogVideo_SECAM_K1 = 0x00020000, AnalogVideo_SECAM_L = 0x00040000, AnalogVideo_SECAM_L1 = 0x00080000, } AnalogVideoStandard;
Specifies what part of the camera DirectShow is controlling.
typedef enum { CameraControl_Pan = 1, CameraControl_Tilt, CameraControl_Roll, CameraControl_Zoom, CameraControl_Exposure, CameraControl_Iris, CameraControl_Focus } CameraControlProperty;
Cutlist element flags.
enum CL_ELEM_FLAGS{ CL_ELEM_FIRST, CL_ELEM_LAST, CL_ELEM_NULL, CL_ELEM_ALL, CL_ELEM_NONE};
Cutlist status flags.
enum CL_ELEM_STATUS{ CL_NOT_PLAYED, CL_PLAYING, CL_FINISHED, CL_STATE_INVALID, CL_STATE_MASK, CL_WAIT_FOR_STATE};
Indicates video compression capabilities.
typedef enum { CompressionCaps_CanQuality = 0x00000001, CompressionCaps_CanCrunch = 0x00000002, CompressionCaps_CanKeyFrame = 0x00000004, CompressionCaps_CanBFrame = 0x00000008, CompressionCaps_CanWindow = 0x0000000A } CompressionCaps;
Sides of a DVD disc.
typedef enum tagDVD_DISC_SIDE { DVD_SIDE_A, DVD_SIDE_B } DVD_DISC_SIDE;
Indicates the state of a DVD player.
typedef enum tagDVD_DOMAIN { DVD_DOMAIN_FirstPlay, DVD_DOMAIN_VideoManagerMenu, DVD_DOMAIN_VideoTitleSetMenu, DVD_DOMAIN_Title, DVD_DOMAIN_Stop } DVD_DOMAIN;
Specifies DVD error conditions.
typedef enum _tagDVD_ERROR { DVD_ERROR_Unexpected, DVD_ERROR_CopyProtectFail, DVD_ERROR_InvalidDVD1_0Disc, DVD_ERROR_InvalidDiscRegion, DVD_ERROR_LowParentalLevel } DVD_ERROR;
DVD frame rates.
typedef enum tagDVD_FRAMERATE { DVD_FPS_25, DVD_FPS_30NonDrop } DVD_FRAMERATE;
You must know the frame rate to interpret the frame count as time.
DVD Video Title Set (VTS) menu identifiers.
typedef enum tagDVD_MENU_ID { DVD_MENU_Title, DVD_MENU_Root, DVD_MENU_Subpicture, DVD_MENU_Audio, DVD_MENU_Angle, DVD_MENU_Chapter } DVD_MENU_ID;
The root menu always provides a means of getting to the subpicture, audio, angle and chapter menus if they exist.
DVD playback location.
typedef struct tagDVD_PLAYBACK_LOCATION { ULONG TitleNum; ULONG ChapterNum; ULONG TimeCode; } DVD_PLAYBACK_LOCATION;
TitleNum and ChapterNum or TitleNum and TimeCode are sufficient to save the playback location for simple linear movies.
Specifies DVD warning conditions.
typedef enum _tagDVD_WARNING { DVD_WARNING_InvalidDVD1_0Disc } DVD_WARNING;
Describes a filter's state.
typedef enum _FilterState { State_Stopped = 0, State_Paused = State_Stopped + 1, State_Running = State_Paused + 1 } FILTER_STATE;
Specifies how video frames and audio samples are to be written to disk.
typedef enum { INTERLEAVE_NONE, INTERLEAVE_CAPTURE, INTERLEAVE_FULL } InterleavingMode;
The MPEG2 video Level as specified in the MPEG2 video standard. (ISO13818-2)
enum MPEG2Level { MPEG2Level_Low = 1, MPEG2Level_Main, MPEG2Level_High1440, MPEG2Level_High };
DVD MPEG-2 video decoders should support MPEG2Level_Low or MPEG2Level_Main.
The MPEG2 video Profile as specified in the MPEG2 video standard. (ISO13818-2)
enum MPEG2Profile { MPEG2Profile_Simple = 1, MPEG2Profile_Main, MPEG2Profile_SNRScalable, MPEG2Profile_SpatiallyScalable, MPEG2Profile_High };
DVD video decoders should support MPEG2Profile_Simple or MPEG2Profile_Main.
Describes a pin's direction.
typedef enum _PinDirection { PINDIR_INPUT, PINDIR_OUTPUT } PIN_DIRECTION;
Describes a quality message type.
typedef enum { Famine, Flood } QualityMessageType;
Flags for the dwFlags member in the REGFILTERPINS2 structure.
enum { REG_PINFLAG_B_ZERO = 0x1, REG_PINFLAG_B_RENDERER = 0x2, REG_PINFLAG_B_MANY = 0x4, REG_PINFLAG_B_OUTPUT = 0x8 } REG_PINFLAG;
Describes the state of the stream and indicates how to proceed.
enum StreamControlState { STREAM_FLOWING, STREAM_DISCARDING, STREAM_RECHECK };
CBase
Specifies the frequency of a TV tuner (Cable or Antenna).
typedef enum { TunerInputCable, TunerInputAntenna } TunerInputType;
Specifies a dialog box that might exist in a Video for Windows capture driver.
typedef enum { VfwCaptureDialog_Source = 1, VfwCaptureDialog_Format = 2, VfwCaptureDialog_Display = 4 } VfwCaptureDialogs;
The IAMVfwCaptureDialogs interface uses this enumerated data type.
Specifies a dialog box that might exist in a Video for Windows compression (codec) driver.
typedef enum { VfwCompressDialog_Config = 1, VfwCompressDialog_About = 2 } VfwCompressDialogs;
The IAMVfwCompressDialogs interface uses this enumerated data type.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.