MPEG_HEADER_BITS Structure

 
Microsoft DirectShow 9.0

MPEG_HEADER_BITS Structure

The MPEG_HEADER_BITS structure contains the first 16 bits that follow the table_id in a generic MPEG-2 section header.

Syntax

typedef struct
{
    WORD SectionLength          : 12;
    WORD Reserved               :  2;
    WORD PrivateIndicator       :  1;
    WORD SectionSyntaxIndicator :  1;
} MPEG_HEADER_BITS, *PMPEG_HEADER_BITS;

typedef struct
{
    WORD Bits;
} MPEG_HEADER_BITS_MIDL;

Members

SectionLength

The length of the section, in bytes.

Reserved

Two reserved bits.

PrivateIndicator

The private_indicator bit.

SectionSyntaxIndicator

The section_syntax_indicator bit.

Remarks

The MPEG_HEADER_BITS_MIDL structure is defined for compatibility with the MIDL compiler. Applications should use the MPEG_HEADER_BITS structure, which defines the individual bit fields within the WORD value.

Requirements

Header: Include Mpeg2Structs.h.

See Also