Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef __INC_MPEG2BITS__
      7 #define __INC_MPEG2BITS__
      8 #include <windef.h>
      9 
     10 typedef struct _MPEG_HEADER_BITS {
     11   WORD SectionLength  :12;
     12   WORD Reserved  :2;
     13   WORD PrivateIndicator  :1;
     14   WORD SectionSyntaxIndicator  :1;
     15 } MPEG_HEADER_BITS, *PMPEG_HEADER_BITS;
     16 
     17 typedef struct _MPEG_HEADER_VERSION_BITS {
     18   BYTE CurrentNextIndicator  :1;
     19   BYTE VersionNumber  :5;
     20   BYTE Reserved  :2;
     21 } MPEG_HEADER_VERSION_BITS, *PMPEG_HEADER_VERSION_BITS;
     22 
     23 #endif /* __INC_MPEG2BITS__ */
     24