Microsoft DirectX 8.1 (C++) |
The STREAM_ID_MAP structure describes an elementary stream within an MPEG-2 program stream. Used with the IEnumStreamIdMap interface methods.
Syntax
typedef struct {
ULONG stream_id;
DWORD dwMediaSampleContent;
ULONG ulSubstreamFilterValue;
int iDataOffset;
} STREAM_ID_MAP ;
Members
stream_id
Specifies the ID of the PES stream.
dwMediaSampleContent
Specifies the media contents of the stream. May be one of the following values defined in axextend.idl:
Define | Value |
MPEG2_PROGRAM_STREAM_MAP | 0x00000000 |
MPEG2_PROGRAM_ELEMENTARY_STREAM | 0x00000001 |
MPEG2_PROGRAM_DIRECTORY_PES_PACKET | 0x00000002 |
MPEG2_PROGRAM_PACK_HEADER | 0x00000003 |
MPEG2_PROGRAM_PES_STREAM | 0x00000004 |
MPEG2_PROGRAM_SYSTEM_HEADER | 0x00000005 |
ulSubstreamFilterValue
Specifies the substream within the elementary stream. If no substream filtering is required, use SUBSTREAM_FILTER_VAL_NONE (0x10000000).
iDataOffset
Specifies the offset in bytes for the substream. If no filtering is required, specify 0.
See Also