diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2020-12-29 18:53:36 +0100 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2020-12-29 18:53:36 +0100 |
commit | bffaceb579ba66ba675f5b99e93258423b3c97ab (patch) | |
tree | f1e0e8ef4002d2e5b444678c4c98dd8785cbe980 /sdk/dx8sdk/Include/Mpeg2Bits.h | |
parent | Reorder CEntity functions into their original order (diff) | |
download | re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar.gz re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar.bz2 re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar.lz re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar.xz re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.tar.zst re3-bffaceb579ba66ba675f5b99e93258423b3c97ab.zip |
Diffstat (limited to 'sdk/dx8sdk/Include/Mpeg2Bits.h')
-rw-r--r-- | sdk/dx8sdk/Include/Mpeg2Bits.h | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/sdk/dx8sdk/Include/Mpeg2Bits.h b/sdk/dx8sdk/Include/Mpeg2Bits.h deleted file mode 100644 index 45debbb6..00000000 --- a/sdk/dx8sdk/Include/Mpeg2Bits.h +++ /dev/null @@ -1,95 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// Module Name: -// -// Mpeg2Bits.h -// -// Abstract: -// -// This file defines the MPEG-2 section header bitfields. These are -// defined here instead of in mpegstructs.idl because of MIDL -// compiler conflicts with bitfield definitions. -// -///////////////////////////////////////////////////////////////////////////// - -#pragma once - -#pragma pack(push) -#pragma pack(1) - - -// -// PID structure -// - -#ifdef __midl - -typedef struct -{ - WORD Bits; -} PID_BITS_MIDL; - -#else - -typedef struct -{ - WORD Reserved : 3; - WORD ProgramId : 13; -} PID_BITS, *PPID_BITS; - -#endif - - - -// -// Generic MPEG packet header structure -// - -#ifdef __midl - -typedef struct -{ - WORD Bits; -} MPEG_HEADER_BITS_MIDL; - -#else - -typedef struct -{ - WORD SectionLength : 12; - WORD Reserved : 2; - WORD PrivateIndicator : 1; - WORD SectionSyntaxIndicator : 1; -} MPEG_HEADER_BITS, *PMPEG_HEADER_BITS; - -#endif - - - -// -// Long MPEG packet header structure -// - -#ifdef __midl - -typedef struct -{ - BYTE Bits; -} MPEG_HEADER_VERSION_BITS_MIDL; - -#else - -typedef struct -{ - BYTE CurrentNextIndicator : 1; - BYTE VersionNumber : 5; - BYTE Reserved : 2; -} MPEG_HEADER_VERSION_BITS, *PMPEG_HEADER_VERSION_BITS; - -#endif - - - -#pragma pack(pop) |