mpeg2bits.h 688 B

1234567891011121314151617181920212223
  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. typedef struct _MPEG_HEADER_BITS {
  10. WORD SectionLength :12;
  11. WORD Reserved :2;
  12. WORD PrivateIndicator :1;
  13. WORD SectionSyntaxIndicator :1;
  14. } MPEG_HEADER_BITS, *PMPEG_HEADER_BITS;
  15. typedef struct _MPEG_HEADER_VERSION_BITS {
  16. BYTE CurrentNextIndicator :1;
  17. BYTE VersionNumber :5;
  18. BYTE Reserved :2;
  19. } MPEG_HEADER_VERSION_BITS, *PMPEG_HEADER_VERSION_BITS;
  20. #endif /* __INC_MPEG2BITS__ */