* include/amvideo.h (RESET_MASKS,RESET_PALETTE): Use ZeroMemory instead
of memset to avoid <string.h>. Still need a fix for memcmp. * include/dshow.h (AM_ASPECT_RATIO_MODE,AM_WST_DRAWBGMODE,AM_WST_LEVEL) (AMExtendedSeekingCapabilities,AM_WST_SERVICE,AM_WST_STATE) (AM_WST_STYLE): Add enums. (AM_WST_PAGE,AMVABeginFrameInfo,AMVACompBufferInfo,AMVAEndFrameInfo, AMVAInternalMemInfo,AMVAUncompBufferInfo,AMVAUncompDataInfo): New structures. * include/errors.h (VFW_*): Define. * include/evcode.h (AM_WMT_EVENT_DATA): New structure. * include/mmsystem.h (WAVE_FORMAT_EXTENSIBLE): Define. * include/edevdefs.h (ED_FORMAT_SMPTE_30,ED_FORMAT_SMPTE_30DROP) (ED_FORMAT_SMPTE_25,ED_FORMAT_SMPTE_24): Move from here... * include/strmif.h: ... to here. New file. * include/aviriff.h: New file. * include/bdatypes.h: New file. * include/control.h: New file. * include/dvdmedia.h: New file. * include/il21dec.h: New file. * include/ks.h: New file. * include/ksmedia.h: New file. * include/mmreg.h: New file. * include/mpegtype.h: New file. * include/vidcap.h: New file. * include/vmr9.h: New file. * include/vptype.h: New file. * include/xprtdefs.h: New file.
This commit is contained in:
71
winsup/w32api/include/mmreg.h
Normal file
71
winsup/w32api/include/mmreg.h
Normal file
@@ -0,0 +1,71 @@
|
||||
#ifndef _MMREG_H
|
||||
#define _MMREG_H
|
||||
#if __GNUC__ >= 3
|
||||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#ifndef _MMSYSTEM_H
|
||||
#include <mmsystem.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*--- DirectShow Reference - DirectShow Structures */
|
||||
typedef struct mpeg1waveformat_tag {
|
||||
WAVEFORMATEX wfx;
|
||||
WORD fwHeadLayer;
|
||||
DWORD dwHeadBitrate;
|
||||
WORD fwHeadMode;
|
||||
WORD fwHeadModeExt;
|
||||
WORD wHeadEmphasis;
|
||||
WORD fwHeadFlags;
|
||||
DWORD dwPTSLow;
|
||||
DWORD dwPTSHigh;
|
||||
} MPEG1WAVEFORMAT;
|
||||
#define ACM_MPEG_LAYER1 0x0001
|
||||
#define ACM_MPEG_LAYER2 0x0002
|
||||
#define ACM_MPEG_LAYER3 0x0004
|
||||
#define ACM_MPEG_STEREO 0x0001
|
||||
#define ACM_MPEG_JOINTSTEREO 0x0002
|
||||
#define ACM_MPEG_DUALCHANNEL 0x0004
|
||||
#define ACM_MPEG_SINGLECHANNEL 0x0008
|
||||
#define ACM_MPEG_PRIVATEBIT 0x0001
|
||||
#define ACM_MPEG_COPYRIGHT 0x0002
|
||||
#define ACM_MPEG_ORIGINALHOME 0x0004
|
||||
#define ACM_MPEG_PROTECTIONBIT 0x0008
|
||||
#define ACM_MPEG_ID_MPEG1 0x0010
|
||||
typedef struct {
|
||||
WAVEFORMATEX Format;
|
||||
union {
|
||||
WORD wValidBitsPerSample;
|
||||
WORD wSamplesPerBlock;
|
||||
WORD wReserved;
|
||||
} Samples;
|
||||
DWORD dwChannelMask;
|
||||
GUID SubFormat;
|
||||
} WAVEFORMATEXTENSIBLE,*PWAVEFORMATEXTENSIBLE;
|
||||
#define SPEAKER_FRONT_LEFT 0x1
|
||||
#define SPEAKER_FRONT_RIGHT 0x2
|
||||
#define SPEAKER_FRONT_CENTER 0x4
|
||||
#define SPEAKER_LOW_FREQUENCY 0x8
|
||||
#define SPEAKER_BACK_LEFT 0x10
|
||||
#define SPEAKER_BACK_RIGHT 0x20
|
||||
#define SPEAKER_FRONT_LEFT_OF_CENTER 0x40
|
||||
#define SPEAKER_FRONT_RIGHT_OF_CENTER 0x80
|
||||
#define SPEAKER_BACK_CENTER 0x100
|
||||
#define SPEAKER_SIDE_LEFT 0x200
|
||||
#define SPEAKER_SIDE_RIGHT 0x400
|
||||
#define SPEAKER_TOP_CENTER 0x800
|
||||
#define SPEAKER_TOP_FRONT_LEFT 0x1000
|
||||
#define SPEAKER_TOP_FRONT_CENTER 0x2000
|
||||
#define SPEAKER_TOP_FRONT_RIGHT 0x4000
|
||||
#define SPEAKER_TOP_BACK_LEFT 0x8000
|
||||
#define SPEAKER_TOP_BACK_CENTER 0x10000
|
||||
#define SPEAKER_TOP_BACK_RIGHT 0x20000
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
Reference in New Issue
Block a user