mirror of
https://github.com/halpz/re3.git
synced 2025-07-07 06:18:53 +00:00
skeleton updated, windows specific stuff added
This commit is contained in:
dxsdk
Include
Amvideo.hBdatif.hDShow.h
DShowIDL
Bdatif.idlMpeg2Data.idlMpeg2Structs.idlMstvca.idlMstvgs.idlMsvidctl.idlSegment.idlVideoacc.idlVmrender.idlamstream.idlaustream.idlaxcore.idlaxextend.idlbdaiface.idlcontrol.odlddstream.idldevenum.idldmodshow.idldshowasf.idldvdif.idldxtrans.idldyngraph.idlmediaobj.idlmedparam.idlmixerocx.idlmmstream.idlmstve.idlqedit.idlregbag.idlsbe.idlstrmif.idltuner.idltvratings.idlvidcap.idlvmr9.idl
DxDiag.hIwstdec.hMpeg2Bits.hMpeg2Error.hMstvca.hMstve.hMsvidctl.hMsvidctl.tlbPixPlugin.hSegment.hTuner.tlbactivecf.hamaudio.hamparse.hamstream.hamva.hatsmedia.haudevcod.haustream.haviriff.hbdaiface.hbdamedia.hbdatypes.hcomlite.hcontrol.hd3d.hd3d8.hd3d8caps.hd3d8types.hd3d9.hd3d9caps.hd3d9types.hd3dcaps.hd3drm.hd3drmdef.hd3drmobj.hd3drmwin.hd3dtypes.hd3dvec.inld3dx.hd3dx8.hd3dx8core.hd3dx8effect.hd3dx8math.hd3dx8math.inld3dx8mesh.hd3dx8shape.hd3dx8tex.hd3dx9.hd3dx9anim.hd3dx9core.hd3dx9effect.hd3dx9math.hd3dx9math.inld3dx9mesh.hd3dx9shader.hd3dx9shape.hd3dx9tex.hd3dx9xof.hd3dxcore.hd3dxerr.hd3dxmath.hd3dxmath.inld3dxshapes.hd3dxsprite.hddraw.hddstream.hdinput.hdinputd.hdls1.hdls2.hdmdls.hdmerror.hdmksctrl.hdmo.hdmodshow.hdmoimpl.hdmoreg.hdmort.hdmplugin.hdmusbuff.hdmusicc.hdmusicf.hdmusici.hdmusics.hdpaddr.hdplay.hdplay8.hdplobby.hdplobby8.hdpnathlp.hdsconf.hdsetup.hdshowasf.hdsound.hdv.hdvdevcod.hdvdmedia.hdvoice.hdvp.hdx7todx8.hdxerr8.hdxerr9.hdxfile.hdxtrans.hdxva.hedevctrl.hedevdefs.herrors.hevcode.hil21dec.hks.hksguid.hksmedia.hksproxy.hksuuids.hmediaerr.hmediaobj.hmedparam.hmixerocx.hmmstream.hmpconfig.hmpeg2data.hmpegtype.hmultimon.hplaylist.hqedit.hqnetwork.hregbag.hrmxfguid.hrmxftmpl.hsbe.hstrmif.hstrsafe.htune.htuner.htvratings.huuids.hvfwmsgs.hvidcap.hvideoacc.hvmr9.hvpconfig.hvpnotify.hvptype.hxprtdefs.hLib
src
62
dxsdk/Include/dv.h
Normal file
62
dxsdk/Include/dv.h
Normal file
@ -0,0 +1,62 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// File: DV.h
|
||||
//
|
||||
// Desc: DV typedefs and defines
|
||||
//
|
||||
// Copyright (c) 1997-2001, Microsoft Corporation. All rights reserved.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef _DV_H_
|
||||
#define _DV_H_
|
||||
|
||||
#define DV_DVSD_NTSC_FRAMESIZE 120000L
|
||||
#define DV_DVSD_PAL_FRAMESIZE 144000L
|
||||
|
||||
#define DV_SMCHN 0x0000e000
|
||||
#define DV_AUDIOMODE 0x00000f00
|
||||
#define DV_AUDIOSMP 0x38000000
|
||||
|
||||
#define DV_AUDIOQU 0x07000000
|
||||
#define DV_NTSCPAL 0x00200000
|
||||
#define DV_STYPE 0x001f0000
|
||||
|
||||
|
||||
//There are NTSC or PAL DV camcorders
|
||||
#define DV_NTSC 0
|
||||
#define DV_PAL 1
|
||||
|
||||
//DV camcorder can output sd/hd/sl
|
||||
#define DV_SD 0x00
|
||||
#define DV_HD 0x01
|
||||
#define DV_SL 0x02
|
||||
|
||||
//user can choice 12 bits or 16 bits audio from DV camcorder
|
||||
#define DV_CAP_AUD16Bits 0x00
|
||||
#define DV_CAP_AUD12Bits 0x01
|
||||
|
||||
#define SIZE_DVINFO 0x20
|
||||
|
||||
typedef struct Tag_DVAudInfo
|
||||
{
|
||||
BYTE bAudStyle[2];
|
||||
|
||||
//LSB 6 bits for starting DIF sequence number
|
||||
//MSB 2 bits: 0 for mon. 1: stereo in one 5/6 DIF sequences, 2: stereo audio in both 5/6 DIF sequences
|
||||
//example: 0x00: mon, audio in first 5/6 DIF sequence
|
||||
// 0x05: mon, audio in 2nd 5 DIF sequence
|
||||
// 0x15: stereo, audio only in 2nd 5 DIF sequence
|
||||
// 0x10: stereo, audio only in 1st 5/6 DIF sequence
|
||||
// 0x20: stereo, left ch in 1st 5/6 DIF sequence, right ch in 2nd 5/6 DIF sequence
|
||||
// 0x26: stereo, rightch in 1st 6 DIF sequence, left ch in 2nd 6 DIF sequence
|
||||
BYTE bAudQu[2]; //qbits, only support 12, 16,
|
||||
|
||||
BYTE bNumAudPin; //how many pins
|
||||
WORD wAvgSamplesPerPinPerFrm[2]; //sample size for one audio pin in one frame(which has 10 or 12 DIF sequence)
|
||||
WORD wBlkMode; //45 for NTSC, 54 for PAL
|
||||
WORD wDIFMode; //5 for NTSC, 6 for PAL
|
||||
WORD wBlkDiv; //15 for NTSC, 18 for PAL
|
||||
|
||||
} DVAudInfo;
|
||||
|
||||
#endif // _DV_H_
|
Reference in New Issue
Block a user