mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:42:58 +00:00
Create a branch for network fixes.
svn path=/branches/aicom-network-fixes/; revision=34994
This commit is contained in:
parent
0e213bbc00
commit
c501d8112c
18148 changed files with 0 additions and 860488 deletions
45
include/dxsdk/Mpeg2Bits.h
Normal file
45
include/dxsdk/Mpeg2Bits.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
|
||||
#pragma once
|
||||
#pragma pack(push)
|
||||
|
||||
#ifdef __midl
|
||||
typedef struct
|
||||
{
|
||||
WORD Bits;
|
||||
} PID_BITS_MIDL;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
WORD Bits;
|
||||
} MPEG_HEADER_BITS_MIDL;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
BYTE Bits;
|
||||
} MPEG_HEADER_VERSION_BITS_MIDL;
|
||||
|
||||
#else
|
||||
|
||||
typedef struct
|
||||
{
|
||||
WORD Reserved : 3;
|
||||
WORD ProgramId : 13;
|
||||
} PID_BITS, *PPID_BITS;
|
||||
typedef struct
|
||||
{
|
||||
WORD SectionLength : 12;
|
||||
WORD Reserved : 2;
|
||||
WORD PrivateIndicator : 1;
|
||||
WORD SectionSyntaxIndicator : 1;
|
||||
} MPEG_HEADER_BITS, *PMPEG_HEADER_BITS;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
BYTE CurrentNextIndicator : 1;
|
||||
BYTE VersionNumber : 5;
|
||||
BYTE Reserved : 2;
|
||||
} MPEG_HEADER_VERSION_BITS, *PMPEG_HEADER_VERSION_BITS;
|
||||
#endif
|
||||
|
||||
#pragma pack(pop)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue