Microsoft DirectX 9.0

MPEG_HEADER_VERSION_BITS Structure

The MPEG_HEADER_VERSION_BITS structure contains the first 8 bits following the TSID in an MPEG-2 PSI section. These bits contain the version number and the current/next indicator.

Syntax

typedef struct
{
    BYTE CurrentNextIndicator : 1;
    BYTE VersionNumber        : 5;
    BYTE Reserved             : 2;
} MPEG_HEADER_VERSION_BITS, *PMPEG_HEADER_VERSION_BITS;

typedef struct
{
    BYTE Bits;
} MPEG_HEADER_VERSION_BITS_MIDL;

Members

CurrentNextIndicator

The current_next_indicator field.

VersionNumber

The version_number field.

Reserved

Two reserved bits.

Remarks

The MPEG_HEADER_VERSION_BITS_MIDL structure is defined for compatibility with the MIDL compiler. Applications should use the MPEG_HEADER_VERSION_BITS structure, which defines the individual bit fields within the byte.

Requirements

Include Mpeg2bits.h.

See Also