├── Client
├── CameraDS.cpp
├── CameraDS.h
├── Client.cpp
├── Client.h
├── Client.rc
├── Client.sln
├── Client.suo
├── Client.vcproj
├── Client.vcproj.Tiger-PC.Administrator.user
├── ClientDlg.cpp
├── ClientDlg.h
├── DirectShow
│ ├── Include
│ │ ├── Amvideo.h
│ │ ├── Bdatif.h
│ │ ├── DShow.h
│ │ ├── DxDiag.h
│ │ ├── Iwstdec.h
│ │ ├── Mpeg2Bits.h
│ │ ├── Mpeg2Error.h
│ │ ├── Mstvca.h
│ │ ├── Mstve.h
│ │ ├── Msvidctl.h
│ │ ├── Msvidctl.tlb
│ │ ├── Segment.h
│ │ ├── Tuner.tlb
│ │ ├── activecf.h
│ │ ├── amaudio.h
│ │ ├── amparse.h
│ │ ├── amstream.h
│ │ ├── amva.h
│ │ ├── atsmedia.h
│ │ ├── audevcod.h
│ │ ├── austream.h
│ │ ├── aviriff.h
│ │ ├── basetsd.h
│ │ ├── bdaiface.h
│ │ ├── bdamedia.h
│ │ ├── bdatypes.h
│ │ ├── comlite.h
│ │ ├── control.h
│ │ ├── d3d.h
│ │ ├── d3d8.h
│ │ ├── d3d8caps.h
│ │ ├── d3d8types.h
│ │ ├── d3d9.h
│ │ ├── d3d9caps.h
│ │ ├── d3d9types.h
│ │ ├── d3dcaps.h
│ │ ├── d3drm.h
│ │ ├── d3drmdef.h
│ │ ├── d3drmobj.h
│ │ ├── d3drmwin.h
│ │ ├── d3dtypes.h
│ │ ├── d3dvec.inl
│ │ ├── d3dx.h
│ │ ├── d3dx8.h
│ │ ├── d3dx8core.h
│ │ ├── d3dx8effect.h
│ │ ├── d3dx8math.h
│ │ ├── d3dx8math.inl
│ │ ├── d3dx8mesh.h
│ │ ├── d3dx8shape.h
│ │ ├── d3dx8tex.h
│ │ ├── d3dx9.h
│ │ ├── d3dx9anim.h
│ │ ├── d3dx9core.h
│ │ ├── d3dx9effect.h
│ │ ├── d3dx9math.h
│ │ ├── d3dx9math.inl
│ │ ├── d3dx9mesh.h
│ │ ├── d3dx9shader.h
│ │ ├── d3dx9shape.h
│ │ ├── d3dx9tex.h
│ │ ├── d3dxcore.h
│ │ ├── d3dxerr.h
│ │ ├── d3dxmath.h
│ │ ├── d3dxmath.inl
│ │ ├── d3dxshapes.h
│ │ ├── d3dxsprite.h
│ │ ├── ddraw.h
│ │ ├── ddstream.h
│ │ ├── dinput.h
│ │ ├── dinputd.h
│ │ ├── dls1.h
│ │ ├── dls2.h
│ │ ├── dmdls.h
│ │ ├── dmerror.h
│ │ ├── dmksctrl.h
│ │ ├── dmo.h
│ │ ├── dmodshow.h
│ │ ├── dmoimpl.h
│ │ ├── dmoreg.h
│ │ ├── dmort.h
│ │ ├── dmplugin.h
│ │ ├── dmusbuff.h
│ │ ├── dmusicc.h
│ │ ├── dmusicf.h
│ │ ├── dmusici.h
│ │ ├── dmusics.h
│ │ ├── dpaddr.h
│ │ ├── dplay.h
│ │ ├── dplay8.h
│ │ ├── dplobby.h
│ │ ├── dplobby8.h
│ │ ├── dpnathlp.h
│ │ ├── dsconf.h
│ │ ├── dsetup.h
│ │ ├── dshowasf.h
│ │ ├── dsound.h
│ │ ├── dv.h
│ │ ├── dvdevcod.h
│ │ ├── dvdmedia.h
│ │ ├── dvoice.h
│ │ ├── dvp.h
│ │ ├── dx7todx8.h
│ │ ├── dxerr8.h
│ │ ├── dxerr9.h
│ │ ├── dxfile.h
│ │ ├── dxtrans.h
│ │ ├── dxva.h
│ │ ├── edevctrl.h
│ │ ├── edevdefs.h
│ │ ├── errors.h
│ │ ├── evcode.h
│ │ ├── il21dec.h
│ │ ├── ks.h
│ │ ├── ksguid.h
│ │ ├── ksmedia.h
│ │ ├── ksproxy.h
│ │ ├── ksuuids.h
│ │ ├── mediaerr.h
│ │ ├── mediaobj.h
│ │ ├── medparam.h
│ │ ├── mixerocx.h
│ │ ├── mmstream.h
│ │ ├── mpconfig.h
│ │ ├── mpeg2data.h
│ │ ├── mpegtype.h
│ │ ├── multimon.h
│ │ ├── playlist.h
│ │ ├── qedit.h
│ │ ├── qnetwork.h
│ │ ├── regbag.h
│ │ ├── rmxfguid.h
│ │ ├── rmxftmpl.h
│ │ ├── sbe.h
│ │ ├── strmif.h
│ │ ├── tune.h
│ │ ├── tuner.h
│ │ ├── tvratings.h
│ │ ├── uuids.h
│ │ ├── vfwmsgs.h
│ │ ├── videoacc.h
│ │ ├── vmr9.h
│ │ ├── vpconfig.h
│ │ ├── vpnotify.h
│ │ ├── vptype.h
│ │ └── xprtdefs.h
│ └── Lib
│ │ └── strmiids.lib
├── ReadMe.txt
├── UDPSession.cpp
├── UDPSession.h
├── UDPSock.cpp
├── UDPSock.h
├── VideoDec.cpp
├── VideoDec.h
├── VideoEnc.cpp
├── VideoEnc.h
├── VideoWnd.cpp
├── VideoWnd.h
├── bin
│ ├── Client.exe
│ ├── Client.pdb
│ ├── avcodec-55.dll
│ ├── avdevice-55.dll
│ ├── avfilter-4.dll
│ ├── avformat-55.dll
│ ├── avutil-52.dll
│ ├── libeay32.dll
│ ├── postproc-52.dll
│ ├── pthreadVC2.dll
│ ├── sqlite3.dll
│ ├── ssleay32.dll
│ ├── swresample-0.dll
│ └── swscale-2.dll
├── buffer.cpp
├── evbuffer.h
├── global.cpp
├── global.h
├── include
│ ├── BasicUsageEnvironment
│ │ └── include
│ │ │ ├── BasicHashTable.hh
│ │ │ ├── BasicUsageEnvironment.hh
│ │ │ ├── BasicUsageEnvironment0.hh
│ │ │ ├── BasicUsageEnvironment_version.hh
│ │ │ ├── DelayQueue.hh
│ │ │ └── HandlerSet.hh
│ ├── UsageEnvironment
│ │ └── include
│ │ │ ├── Boolean.hh
│ │ │ ├── HashTable.hh
│ │ │ ├── UsageEnvironment.hh
│ │ │ ├── UsageEnvironment_version.hh
│ │ │ └── strDup.hh
│ ├── groupsock
│ │ └── include
│ │ │ ├── GroupEId.hh
│ │ │ ├── Groupsock.hh
│ │ │ ├── GroupsockHelper.hh
│ │ │ ├── IOHandlers.hh
│ │ │ ├── NetAddress.hh
│ │ │ ├── NetCommon.h
│ │ │ ├── NetInterface.hh
│ │ │ ├── TunnelEncaps.hh
│ │ │ └── groupsock_version.hh
│ ├── inttypes.h
│ ├── libavcodec
│ │ ├── avcodec.h
│ │ ├── avfft.h
│ │ ├── dxva2.h
│ │ ├── old_codec_ids.h
│ │ ├── vaapi.h
│ │ ├── vda.h
│ │ ├── vdpau.h
│ │ ├── version.h
│ │ └── xvmc.h
│ ├── libavdevice
│ │ ├── avdevice.h
│ │ └── version.h
│ ├── libavfilter
│ │ ├── asrc_abuffer.h
│ │ ├── avcodec.h
│ │ ├── avfilter.h
│ │ ├── avfiltergraph.h
│ │ ├── buffersink.h
│ │ ├── buffersrc.h
│ │ └── version.h
│ ├── libavformat
│ │ ├── avformat.h
│ │ ├── avio.h
│ │ └── version.h
│ ├── libavutil
│ │ ├── adler32.h
│ │ ├── aes.h
│ │ ├── attributes.h
│ │ ├── audio_fifo.h
│ │ ├── audioconvert.h
│ │ ├── avassert.h
│ │ ├── avconfig.h
│ │ ├── avstring.h
│ │ ├── avutil.h
│ │ ├── base64.h
│ │ ├── blowfish.h
│ │ ├── bprint.h
│ │ ├── bswap.h
│ │ ├── buffer.h
│ │ ├── channel_layout.h
│ │ ├── common.h
│ │ ├── cpu.h
│ │ ├── crc.h
│ │ ├── dict.h
│ │ ├── display.h
│ │ ├── downmix_info.h
│ │ ├── error.h
│ │ ├── eval.h
│ │ ├── ffversion.h
│ │ ├── fifo.h
│ │ ├── file.h
│ │ ├── frame.h
│ │ ├── hmac.h
│ │ ├── imgutils.h
│ │ ├── intfloat.h
│ │ ├── intfloat_readwrite.h
│ │ ├── intreadwrite.h
│ │ ├── lfg.h
│ │ ├── log.h
│ │ ├── lzo.h
│ │ ├── macros.h
│ │ ├── mathematics.h
│ │ ├── md5.h
│ │ ├── mem.h
│ │ ├── murmur3.h
│ │ ├── old_pix_fmts.h
│ │ ├── opt.h
│ │ ├── parseutils.h
│ │ ├── pixdesc.h
│ │ ├── pixfmt.h
│ │ ├── random_seed.h
│ │ ├── rational.h
│ │ ├── replaygain.h
│ │ ├── ripemd.h
│ │ ├── samplefmt.h
│ │ ├── sha.h
│ │ ├── sha512.h
│ │ ├── stereo3d.h
│ │ ├── threadmessage.h
│ │ ├── time.h
│ │ ├── timecode.h
│ │ ├── timestamp.h
│ │ ├── version.h
│ │ └── xtea.h
│ ├── libpostproc
│ │ ├── postprocess.h
│ │ └── version.h
│ ├── libswresample
│ │ ├── swresample.h
│ │ └── version.h
│ ├── libswscale
│ │ ├── swscale.h
│ │ └── version.h
│ ├── liveMedia
│ │ └── include
│ │ │ ├── AC3AudioFileServerMediaSubsession.hh
│ │ │ ├── AC3AudioRTPSink.hh
│ │ │ ├── AC3AudioRTPSource.hh
│ │ │ ├── AC3AudioStreamFramer.hh
│ │ │ ├── ADTSAudioFileServerMediaSubsession.hh
│ │ │ ├── ADTSAudioFileSource.hh
│ │ │ ├── AMRAudioFileServerMediaSubsession.hh
│ │ │ ├── AMRAudioFileSink.hh
│ │ │ ├── AMRAudioFileSource.hh
│ │ │ ├── AMRAudioRTPSink.hh
│ │ │ ├── AMRAudioRTPSource.hh
│ │ │ ├── AMRAudioSource.hh
│ │ │ ├── AVIFileSink.hh
│ │ │ ├── AudioInputDevice.hh
│ │ │ ├── AudioRTPSink.hh
│ │ │ ├── Base64.hh
│ │ │ ├── BasicUDPSink.hh
│ │ │ ├── BasicUDPSource.hh
│ │ │ ├── BitVector.hh
│ │ │ ├── ByteStreamFileSource.hh
│ │ │ ├── ByteStreamMemoryBufferSource.hh
│ │ │ ├── ByteStreamMultiFileSource.hh
│ │ │ ├── DVVideoFileServerMediaSubsession.hh
│ │ │ ├── DVVideoRTPSink.hh
│ │ │ ├── DVVideoRTPSource.hh
│ │ │ ├── DVVideoStreamFramer.hh
│ │ │ ├── DarwinInjector.hh
│ │ │ ├── DeviceSource.hh
│ │ │ ├── DigestAuthentication.hh
│ │ │ ├── FileServerMediaSubsession.hh
│ │ │ ├── FileSink.hh
│ │ │ ├── FramedFileSource.hh
│ │ │ ├── FramedFilter.hh
│ │ │ ├── FramedSource.hh
│ │ │ ├── GSMAudioRTPSink.hh
│ │ │ ├── H261VideoRTPSource.hh
│ │ │ ├── H263plusVideoFileServerMediaSubsession.hh
│ │ │ ├── H263plusVideoRTPSink.hh
│ │ │ ├── H263plusVideoRTPSource.hh
│ │ │ ├── H263plusVideoStreamFramer.hh
│ │ │ ├── H264VideoFileServerMediaSubsession.hh
│ │ │ ├── H264VideoFileSink.hh
│ │ │ ├── H264VideoRTPSink.hh
│ │ │ ├── H264VideoRTPSource.hh
│ │ │ ├── H264VideoStreamDiscreteFramer.hh
│ │ │ ├── H264VideoStreamFramer.hh
│ │ │ ├── InputFile.hh
│ │ │ ├── JPEGVideoRTPSink.hh
│ │ │ ├── JPEGVideoRTPSource.hh
│ │ │ ├── JPEGVideoSource.hh
│ │ │ ├── Locale.hh
│ │ │ ├── MP3ADU.hh
│ │ │ ├── MP3ADURTPSink.hh
│ │ │ ├── MP3ADURTPSource.hh
│ │ │ ├── MP3ADUTranscoder.hh
│ │ │ ├── MP3ADUinterleaving.hh
│ │ │ ├── MP3AudioFileServerMediaSubsession.hh
│ │ │ ├── MP3FileSource.hh
│ │ │ ├── MP3Transcoder.hh
│ │ │ ├── MPEG1or2AudioRTPSink.hh
│ │ │ ├── MPEG1or2AudioRTPSource.hh
│ │ │ ├── MPEG1or2AudioStreamFramer.hh
│ │ │ ├── MPEG1or2Demux.hh
│ │ │ ├── MPEG1or2DemuxedElementaryStream.hh
│ │ │ ├── MPEG1or2DemuxedServerMediaSubsession.hh
│ │ │ ├── MPEG1or2FileServerDemux.hh
│ │ │ ├── MPEG1or2VideoFileServerMediaSubsession.hh
│ │ │ ├── MPEG1or2VideoRTPSink.hh
│ │ │ ├── MPEG1or2VideoRTPSource.hh
│ │ │ ├── MPEG1or2VideoStreamDiscreteFramer.hh
│ │ │ ├── MPEG1or2VideoStreamFramer.hh
│ │ │ ├── MPEG2IndexFromTransportStream.hh
│ │ │ ├── MPEG2TransportFileServerMediaSubsession.hh
│ │ │ ├── MPEG2TransportStreamFramer.hh
│ │ │ ├── MPEG2TransportStreamFromESSource.hh
│ │ │ ├── MPEG2TransportStreamFromPESSource.hh
│ │ │ ├── MPEG2TransportStreamIndexFile.hh
│ │ │ ├── MPEG2TransportStreamMultiplexor.hh
│ │ │ ├── MPEG2TransportStreamTrickModeFilter.hh
│ │ │ ├── MPEG2TransportUDPServerMediaSubsession.hh
│ │ │ ├── MPEG4ESVideoRTPSink.hh
│ │ │ ├── MPEG4ESVideoRTPSource.hh
│ │ │ ├── MPEG4GenericRTPSink.hh
│ │ │ ├── MPEG4GenericRTPSource.hh
│ │ │ ├── MPEG4LATMAudioRTPSink.hh
│ │ │ ├── MPEG4LATMAudioRTPSource.hh
│ │ │ ├── MPEG4VideoFileServerMediaSubsession.hh
│ │ │ ├── MPEG4VideoStreamDiscreteFramer.hh
│ │ │ ├── MPEG4VideoStreamFramer.hh
│ │ │ ├── MPEGVideoStreamFramer.hh
│ │ │ ├── MatroskaFile.hh
│ │ │ ├── MatroskaFileServerDemux.hh
│ │ │ ├── Media.hh
│ │ │ ├── MediaSession.hh
│ │ │ ├── MediaSink.hh
│ │ │ ├── MediaSource.hh
│ │ │ ├── MultiFramedRTPSink.hh
│ │ │ ├── MultiFramedRTPSource.hh
│ │ │ ├── OnDemandServerMediaSubsession.hh
│ │ │ ├── OutputFile.hh
│ │ │ ├── PassiveServerMediaSubsession.hh
│ │ │ ├── ProxyServerMediaSession.hh
│ │ │ ├── QCELPAudioRTPSource.hh
│ │ │ ├── QuickTimeFileSink.hh
│ │ │ ├── QuickTimeGenericRTPSource.hh
│ │ │ ├── RTCP.hh
│ │ │ ├── RTPInterface.hh
│ │ │ ├── RTPSink.hh
│ │ │ ├── RTPSource.hh
│ │ │ ├── RTSPClient.hh
│ │ │ ├── RTSPCommon.hh
│ │ │ ├── RTSPRegisterSender.hh
│ │ │ ├── RTSPServer.hh
│ │ │ ├── RTSPServerSupportingHTTPStreaming.hh
│ │ │ ├── SIPClient.hh
│ │ │ ├── ServerMediaSession.hh
│ │ │ ├── SimpleRTPSink.hh
│ │ │ ├── SimpleRTPSource.hh
│ │ │ ├── StreamReplicator.hh
│ │ │ ├── T140TextRTPSink.hh
│ │ │ ├── TCPStreamSink.hh
│ │ │ ├── TextRTPSink.hh
│ │ │ ├── VP8VideoRTPSink.hh
│ │ │ ├── VP8VideoRTPSource.hh
│ │ │ ├── VideoRTPSink.hh
│ │ │ ├── VorbisAudioRTPSink.hh
│ │ │ ├── VorbisAudioRTPSource.hh
│ │ │ ├── WAVAudioFileServerMediaSubsession.hh
│ │ │ ├── WAVAudioFileSource.hh
│ │ │ ├── liveMedia.hh
│ │ │ ├── liveMedia_version.hh
│ │ │ └── uLawAudioFilter.hh
│ ├── pthread.h
│ ├── rtmp
│ │ ├── amf.h
│ │ ├── bytes.h
│ │ ├── dh.h
│ │ ├── dhgroups.h
│ │ ├── handshake.h
│ │ ├── http.h
│ │ ├── log.h
│ │ ├── pthread.h
│ │ ├── rtmp.h
│ │ ├── rtmp_sys.h
│ │ ├── sched.h
│ │ ├── semaphore.h
│ │ └── stdint.h
│ ├── sched.h
│ ├── semaphore.h
│ └── stdint.h
├── lib
│ ├── avcodec.lib
│ ├── avdevice.lib
│ ├── avfilter.lib
│ ├── avformat.lib
│ ├── avutil.lib
│ ├── libBasicUsageEnvironment.lib
│ ├── libUsageEnvironment.lib
│ ├── libgroupsock.lib
│ ├── libliveMedia.lib
│ ├── librtmp.lib
│ ├── librtmpd.lib
│ ├── postproc.lib
│ ├── pthread.lib
│ ├── swresample.lib
│ └── swscale.lib
├── readme
├── res
│ ├── Client.ico
│ └── Client.rc2
├── resource.h
├── stdafx.cpp
├── stdafx.h
└── targetver.h
├── README.md
├── Server
└── Server.suo
└── stun_server
├── makefile
├── run
├── include
│ ├── UDPSession.h
│ ├── UDPSock.h
│ ├── UserMgr.h
│ ├── XAgent.h
│ ├── evbuffer.h
│ └── global.h
├── makefile
└── src
│ ├── UDPSession.cpp
│ ├── UDPSock.cpp
│ ├── UserMgr.cpp
│ ├── XAgent.cpp
│ ├── buffer.cpp
│ └── global.cpp
└── stun_server.cpp
/Client/CameraDS.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/CameraDS.cpp
--------------------------------------------------------------------------------
/Client/CameraDS.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/CameraDS.h
--------------------------------------------------------------------------------
/Client/Client.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/Client.cpp
--------------------------------------------------------------------------------
/Client/Client.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/Client.h
--------------------------------------------------------------------------------
/Client/Client.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/Client.rc
--------------------------------------------------------------------------------
/Client/Client.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 10.00
3 | # Visual Studio 2008
4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Client", "Client.vcproj", "{FA71F81C-6DD0-46ED-97C7-9649DCA96ED3}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Win32 = Debug|Win32
9 | Release|Win32 = Release|Win32
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {FA71F81C-6DD0-46ED-97C7-9649DCA96ED3}.Debug|Win32.ActiveCfg = Debug|Win32
13 | {FA71F81C-6DD0-46ED-97C7-9649DCA96ED3}.Debug|Win32.Build.0 = Debug|Win32
14 | {FA71F81C-6DD0-46ED-97C7-9649DCA96ED3}.Release|Win32.ActiveCfg = Release|Win32
15 | {FA71F81C-6DD0-46ED-97C7-9649DCA96ED3}.Release|Win32.Build.0 = Release|Win32
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Client/Client.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/Client.suo
--------------------------------------------------------------------------------
/Client/Client.vcproj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/Client.vcproj
--------------------------------------------------------------------------------
/Client/Client.vcproj.Tiger-PC.Administrator.user:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
11 |
35 |
36 |
39 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/Client/ClientDlg.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/ClientDlg.cpp
--------------------------------------------------------------------------------
/Client/ClientDlg.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/ClientDlg.h
--------------------------------------------------------------------------------
/Client/DirectShow/Include/Mpeg2Bits.h:
--------------------------------------------------------------------------------
1 | /////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright (c) Microsoft Corporation. All rights reserved.
4 | //
5 | // Module Name:
6 | //
7 | // Mpeg2Bits.h
8 | //
9 | // Abstract:
10 | //
11 | // This file defines the MPEG-2 section header bitfields. These are
12 | // defined here instead of in mpegstructs.idl because of MIDL
13 | // compiler conflicts with bitfield definitions.
14 | //
15 | /////////////////////////////////////////////////////////////////////////////
16 |
17 | #pragma once
18 |
19 | #pragma pack(push)
20 | #pragma pack(1)
21 |
22 |
23 | //
24 | // PID structure
25 | //
26 |
27 | #ifdef __midl
28 |
29 | typedef struct
30 | {
31 | WORD Bits;
32 | } PID_BITS_MIDL;
33 |
34 | #else
35 |
36 | typedef struct
37 | {
38 | WORD Reserved : 3;
39 | WORD ProgramId : 13;
40 | } PID_BITS, *PPID_BITS;
41 |
42 | #endif
43 |
44 |
45 |
46 | //
47 | // Generic MPEG packet header structure
48 | //
49 |
50 | #ifdef __midl
51 |
52 | typedef struct
53 | {
54 | WORD Bits;
55 | } MPEG_HEADER_BITS_MIDL;
56 |
57 | #else
58 |
59 | typedef struct
60 | {
61 | WORD SectionLength : 12;
62 | WORD Reserved : 2;
63 | WORD PrivateIndicator : 1;
64 | WORD SectionSyntaxIndicator : 1;
65 | } MPEG_HEADER_BITS, *PMPEG_HEADER_BITS;
66 |
67 | #endif
68 |
69 |
70 |
71 | //
72 | // Long MPEG packet header structure
73 | //
74 |
75 | #ifdef __midl
76 |
77 | typedef struct
78 | {
79 | BYTE Bits;
80 | } MPEG_HEADER_VERSION_BITS_MIDL;
81 |
82 | #else
83 |
84 | typedef struct
85 | {
86 | BYTE CurrentNextIndicator : 1;
87 | BYTE VersionNumber : 5;
88 | BYTE Reserved : 2;
89 | } MPEG_HEADER_VERSION_BITS, *PMPEG_HEADER_VERSION_BITS;
90 |
91 | #endif
92 |
93 |
94 |
95 | #pragma pack(pop)
96 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/Msvidctl.tlb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/DirectShow/Include/Msvidctl.tlb
--------------------------------------------------------------------------------
/Client/DirectShow/Include/Tuner.tlb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/DirectShow/Include/Tuner.tlb
--------------------------------------------------------------------------------
/Client/DirectShow/Include/activecf.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // File: ActiveCf.h
3 | //
4 | // Desc: Contains the data formats for the transfer of VfW4 filters via the
5 | // clipboard.
6 | //
7 | // Copyright (c) 1992-2001, Microsoft Corporation. All rights reserved.
8 | //------------------------------------------------------------------------------
9 |
10 |
11 | #define CFSTR_VFW_FILTERLIST "Video for Windows 4 Filters"
12 |
13 | typedef struct tagVFW_FILTERLIST{
14 | UINT cFilters; // number of CLSIDs in aClsId
15 | CLSID aClsId[1]; // ClsId of each filter
16 |
17 | } VFW_FILTERLIST;
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/amaudio.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // File: AMAudio.h
3 | //
4 | // Desc: Audio related definitions and interfaces for ActiveMovie.
5 | //
6 | // Copyright (c) 1992-2001, Microsoft Corporation. All rights reserved.
7 | //------------------------------------------------------------------------------
8 |
9 |
10 | #ifndef __AMAUDIO__
11 | #define __AMAUDIO__
12 |
13 | #ifdef __cplusplus
14 | extern "C" {
15 | #endif // __cplusplus
16 |
17 | #include
18 | #include
19 |
20 | // This is the interface the audio renderer supports to give the application
21 | // access to the direct sound object and the buffers it is using, to allow the
22 | // application to use things like the 3D features of Direct Sound for the
23 | // soundtrack of a movie being played with Active Movie.
24 |
25 | // be nice to our friends in C
26 | #undef INTERFACE
27 | #define INTERFACE IAMDirectSound
28 |
29 | DECLARE_INTERFACE_(IAMDirectSound,IUnknown)
30 | {
31 | /* IUnknown methods */
32 |
33 | STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID *ppvObj) PURE;
34 | STDMETHOD_(ULONG,AddRef)(THIS) PURE;
35 | STDMETHOD_(ULONG,Release)(THIS) PURE;
36 |
37 | /* IAMDirectSound methods */
38 |
39 | STDMETHOD(GetDirectSoundInterface)(THIS_ LPDIRECTSOUND *lplpds) PURE;
40 | STDMETHOD(GetPrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER *lplpdsb) PURE;
41 | STDMETHOD(GetSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER *lplpdsb) PURE;
42 | STDMETHOD(ReleaseDirectSoundInterface)(THIS_ LPDIRECTSOUND lpds) PURE;
43 | STDMETHOD(ReleasePrimaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER lpdsb) PURE;
44 | STDMETHOD(ReleaseSecondaryBufferInterface)(THIS_ LPDIRECTSOUNDBUFFER lpdsb) PURE;
45 | STDMETHOD(SetFocusWindow)(THIS_ HWND, BOOL) PURE ;
46 | STDMETHOD(GetFocusWindow)(THIS_ HWND *, BOOL*) PURE ;
47 | };
48 |
49 |
50 | #ifdef __cplusplus
51 | }
52 | #endif // __cplusplus
53 | #endif // __AMAUDIO__
54 |
55 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/amparse.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // File: AMParse.h
3 | //
4 | // Desc: Interface to the parser to get current time. This is useful for
5 | // multifile playback.
6 | //
7 | // Copyright (c) 1996-2001, Microsoft Corporation. All rights reserved.
8 | //------------------------------------------------------------------------------
9 |
10 |
11 | #ifndef __AMPARSE__
12 | #define __AMPARSE__
13 |
14 | #ifdef __cplusplus
15 | extern "C" {
16 | #endif // __cplusplus
17 |
18 |
19 | DEFINE_GUID(IID_IAMParse,
20 | 0xc47a3420, 0x005c, 0x11d2, 0x90, 0x38, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x98);
21 |
22 | //
23 | // Parser interface - supported by MPEG-2 splitter filter
24 | //
25 | DECLARE_INTERFACE_(IAMParse, IUnknown) {
26 | STDMETHOD(GetParseTime) (THIS_
27 | REFERENCE_TIME *prtCurrent
28 | ) PURE;
29 | STDMETHOD(SetParseTime) (THIS_
30 | REFERENCE_TIME rtCurrent
31 | ) PURE;
32 | STDMETHOD(Flush) (THIS) PURE;
33 | };
34 |
35 | #ifdef __cplusplus
36 | }
37 | #endif // __cplusplus
38 | #endif // __AMPARSE__
39 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/atsmedia.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // File: ATSMedia.h
3 | //
4 | // Desc: Broadcast Driver Architecture Media Definitions for ATSC
5 | //
6 | // Copyright (c) 1996-2001, Microsoft Corporation. All rights reserved.
7 | //------------------------------------------------------------------------------
8 |
9 |
10 | #if !defined(_KSMEDIA_)
11 | #error KSMEDIA.H must be included before BDAMEDIA.H
12 | #endif // !defined(_KSMEDIA_)
13 |
14 | #if !defined(_BDAMEDIA_)
15 | #error BDAMEDIA.H must be included before ATSCMEDIA.H
16 | #endif // !defined(_KSMEDIA_)
17 |
18 | #if !defined(_ATSCMEDIA_)
19 | #define _ATSCMEDIA_
20 |
21 |
22 | //===========================================================================
23 | //
24 | // ATSC Network Type
25 | //
26 | //===========================================================================
27 |
28 | #define STATIC_BDANETWORKTYPE_ATSC\
29 | 0x71985f51, 0x1ca1, 0x11d3, 0x9c, 0xc8, 0x0, 0xc0, 0x4f, 0x79, 0x71, 0xe0
30 | DEFINE_GUIDSTRUCT("71985F51-1CA1-11d3-9CC8-00C04F7971E0", BDANETWORKTYPE_ATSC);
31 | #define BDANETWORKTYPE_ATSC DEFINE_GUIDNAMED(BDANETWORKTYPE_ATSC)
32 |
33 |
34 | #endif // _ATSCMEDIA_
35 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/audevcod.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // File: AudEvCod.h
3 | //
4 | // Desc: List of Audio device error event codes and the expected params.
5 | //
6 | // Copyright (c) 1999-2001, Microsoft Corporation. All rights reserved.
7 | //------------------------------------------------------------------------------
8 |
9 |
10 |
11 | #ifndef __AUDEVCOD__
12 | #define __AUDEVCOD__
13 |
14 |
15 | #define EC_SND_DEVICE_ERROR_BASE 0x0200
16 |
17 | typedef enum _tagSND_DEVICE_ERROR {
18 |
19 | SNDDEV_ERROR_Open=1,
20 | SNDDEV_ERROR_Close=2,
21 | SNDDEV_ERROR_GetCaps=3,
22 | SNDDEV_ERROR_PrepareHeader=4,
23 | SNDDEV_ERROR_UnprepareHeader=5,
24 | SNDDEV_ERROR_Reset=6,
25 | SNDDEV_ERROR_Restart=7,
26 | SNDDEV_ERROR_GetPosition=8,
27 | SNDDEV_ERROR_Write=9,
28 | SNDDEV_ERROR_Pause=10,
29 | SNDDEV_ERROR_Stop=11,
30 | SNDDEV_ERROR_Start=12,
31 | SNDDEV_ERROR_AddBuffer=13,
32 | SNDDEV_ERROR_Query=14,
33 |
34 | } SNDDEV_ERR;
35 |
36 |
37 | // Sound device error event codes
38 | // ==============================
39 | //
40 | // All audio device error events are always passed on to the application, and are
41 | // never processed by the filter graph
42 |
43 |
44 | #define EC_SNDDEV_IN_ERROR (EC_SND_DEVICE_ERROR_BASE + 0x00)
45 | #define EC_SNDDEV_OUT_ERROR (EC_SND_DEVICE_ERROR_BASE + 0x01)
46 | // Parameters: ( DWORD, DWORD)
47 | // lParam1 is an enum SND_DEVICE_ERROR which notifies the app how the device was
48 | // being accessed when the failure occurred.
49 | //
50 | // lParam2 is the error returned from the sound device call.
51 | //
52 |
53 | #endif // __AUDEVCOD__
54 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/comlite.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // File: COMLite.h
3 | //
4 | // Desc: This header file is to provide a migration path for users of
5 | // ActiveMovie betas 1 and 2.
6 | //
7 | // Copyright (c) 1992-2001, Microsoft Corporation. All rights reserved.
8 | //------------------------------------------------------------------------------
9 |
10 |
11 | #ifndef _INC_COMLITE_
12 | #define _INC_COMLITE_
13 |
14 | #define QzInitialize CoInitialize
15 | #define QzUninitialize CoUninitialize
16 | #define QzFreeUnusedLibraries CoFreeUnusedLibraries
17 |
18 | #define QzGetMalloc CoGetMalloc
19 | #define QzTaskMemAlloc CoTaskMemAlloc
20 | #define QzTaskMemRealloc CoTaskMemRealloc
21 | #define QzTaskMemFree CoTaskMemFree
22 | #define QzCreateFilterObject CoCreateInstance
23 | #define QzCLSIDFromString CLSIDFromString
24 | #define QzStringFromGUID2 StringFromGUID2
25 |
26 | #endif // _INC_COMLITE_
27 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/d3d9types.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/DirectShow/Include/d3d9types.h
--------------------------------------------------------------------------------
/Client/DirectShow/Include/d3drmwin.h:
--------------------------------------------------------------------------------
1 | /*==========================================================================;
2 | *
3 | * Copyright (c) Microsoft Corporation. All rights reserved.
4 | *
5 | * File: d3drm.h
6 | * Content: Direct3DRM include file
7 | *
8 | ***************************************************************************/
9 |
10 | #ifndef __D3DRMWIN_H__
11 | #define __D3DRMWIN_H__
12 |
13 | #ifndef WIN32
14 | #define WIN32
15 | #endif
16 |
17 | #include "d3drm.h"
18 |
19 | #include "ddraw.h"
20 | #include "d3d.h"
21 |
22 | /*
23 | * GUIDS used by Direct3DRM Windows interface
24 | */
25 | DEFINE_GUID(IID_IDirect3DRMWinDevice, 0xc5016cc0, 0xd273, 0x11ce, 0xac, 0x48, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1);
26 |
27 | WIN_TYPES(IDirect3DRMWinDevice, DIRECT3DRMWINDEVICE);
28 |
29 | #undef INTERFACE
30 | #define INTERFACE IDirect3DRMWinDevice
31 |
32 | DECLARE_INTERFACE_(IDirect3DRMWinDevice, IDirect3DRMObject)
33 | {
34 | IUNKNOWN_METHODS(PURE);
35 | IDIRECT3DRMOBJECT_METHODS(PURE);
36 |
37 | /*
38 | * IDirect3DRMWinDevice methods
39 | */
40 |
41 | /* Repaint the window with the last frame which was rendered. */
42 | STDMETHOD(HandlePaint)(THIS_ HDC hdc) PURE;
43 |
44 | /* Respond to a WM_ACTIVATE message. */
45 | STDMETHOD(HandleActivate)(THIS_ WORD wparam) PURE;
46 | };
47 |
48 |
49 | #endif
50 |
51 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/d3dx.h:
--------------------------------------------------------------------------------
1 | ///////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright (C) Microsoft Corporation. All Rights Reserved.
4 | //
5 | // File: d3dx.h
6 | // Content: D3DX utility library
7 | //
8 | ///////////////////////////////////////////////////////////////////////////
9 |
10 | #ifndef __D3DX_H__
11 | #define __D3DX_H__
12 |
13 | #ifndef D3DXINLINE
14 | #ifdef __cplusplus
15 | #define D3DXINLINE inline
16 | #else
17 | #define D3DXINLINE _inline
18 | #endif
19 | #endif
20 |
21 | #include "d3dxcore.h"
22 | #include "d3dxmath.h"
23 | #include "d3dxshapes.h"
24 | #include "d3dxsprite.h"
25 |
26 | #endif //__D3DX_H__
27 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/d3dx8.h:
--------------------------------------------------------------------------------
1 | ///////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright (C) Microsoft Corporation. All Rights Reserved.
4 | //
5 | // File: d3dx8.h
6 | // Content: D3DX utility library
7 | //
8 | ///////////////////////////////////////////////////////////////////////////
9 |
10 | #ifndef __D3DX8_H__
11 | #define __D3DX8_H__
12 |
13 | #include "d3d8.h"
14 | #include
15 |
16 | #ifndef D3DXINLINE
17 | #ifdef _MSC_VER
18 | #if (_MSC_VER >= 1200)
19 | #define D3DXINLINE __forceinline
20 | #else
21 | #define D3DXINLINE __inline
22 | #endif
23 | #else
24 | #ifdef __cplusplus
25 | #define D3DXINLINE inline
26 | #else
27 | #define D3DXINLINE
28 | #endif
29 | #endif
30 | #endif
31 |
32 |
33 | #define D3DX_DEFAULT ULONG_MAX
34 | #define D3DX_DEFAULT_FLOAT FLT_MAX
35 |
36 | #include "d3dx8math.h"
37 | #include "d3dx8core.h"
38 | #include "d3dx8tex.h"
39 | #include "d3dx8mesh.h"
40 | #include "d3dx8shape.h"
41 | #include "d3dx8effect.h"
42 |
43 |
44 | #endif //__D3DX8_H__
45 |
46 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/d3dx9.h:
--------------------------------------------------------------------------------
1 | //////////////////////////////////////////////////////////////////////////////
2 | //
3 | // Copyright (C) Microsoft Corporation. All Rights Reserved.
4 | //
5 | // File: d3dx9.h
6 | // Content: D3DX utility library
7 | //
8 | //////////////////////////////////////////////////////////////////////////////
9 |
10 | #ifdef __D3DX_INTERNAL__
11 | #error Incorrect D3DX header used
12 | #endif
13 |
14 | #ifndef __D3DX9_H__
15 | #define __D3DX9_H__
16 |
17 |
18 | // Defines
19 | #include
20 |
21 | #define D3DX_DEFAULT ((UINT) -1)
22 | #define D3DX_DEFAULT_NONPOW2 ((UINT) -2)
23 | #define D3DX_DEFAULT_FLOAT FLT_MAX
24 |
25 | #ifndef D3DXINLINE
26 | #ifdef _MSC_VER
27 | #if (_MSC_VER >= 1200)
28 | #define D3DXINLINE __forceinline
29 | #else
30 | #define D3DXINLINE __inline
31 | #endif
32 | #else
33 | #ifdef __cplusplus
34 | #define D3DXINLINE inline
35 | #else
36 | #define D3DXINLINE
37 | #endif
38 | #endif
39 | #endif
40 |
41 |
42 |
43 | // Includes
44 | #include "d3d9.h"
45 | #include "d3dx9math.h"
46 | #include "d3dx9core.h"
47 | #include "d3dx9mesh.h"
48 | #include "d3dx9tex.h"
49 | #include "d3dx9shader.h"
50 | #include "d3dx9effect.h"
51 | #include "d3dx9shape.h"
52 | #include "d3dx9anim.h"
53 |
54 |
55 | // Errors
56 | #define _FACDD 0x876
57 | #define MAKE_DDHRESULT( code ) MAKE_HRESULT( 1, _FACDD, code )
58 |
59 | enum _D3DXERR {
60 | D3DXERR_CANNOTMODIFYINDEXBUFFER = MAKE_DDHRESULT(2900),
61 | D3DXERR_INVALIDMESH = MAKE_DDHRESULT(2901),
62 | D3DXERR_CANNOTATTRSORT = MAKE_DDHRESULT(2902),
63 | D3DXERR_SKINNINGNOTSUPPORTED = MAKE_DDHRESULT(2903),
64 | D3DXERR_TOOMANYINFLUENCES = MAKE_DDHRESULT(2904),
65 | D3DXERR_INVALIDDATA = MAKE_DDHRESULT(2905),
66 | D3DXERR_LOADEDMESHASNODATA = MAKE_DDHRESULT(2906),
67 | D3DXERR_DUPLICATENAMEDFRAGMENT = MAKE_DDHRESULT(2907),
68 | };
69 |
70 |
71 | #endif //__D3DX9_H__
72 |
73 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/dmo.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // File: DMO.h
3 | //
4 | // Desc: Headers needed by almost all DMOs.
5 | //
6 | // Copyright (c) 1999 - 2001, Microsoft Corporation. All rights reserved.
7 | //------------------------------------------------------------------------------
8 |
9 |
10 | #ifndef __DMO_H__
11 | #define __DMO_H__
12 |
13 |
14 | #include "mediaerr.h"
15 |
16 | // When using ATL we get collisions on Lock, so in this case rename
17 | // IMediaObject::Lock to IMediaObject::DMOLock
18 |
19 | #ifdef FIX_LOCK_NAME
20 | #define Lock DMOLock
21 | #endif
22 | #include "mediaobj.h"
23 | #ifdef FIX_LOCK_NAME
24 | #undef Lock
25 | #endif
26 | #include "dmoreg.h"
27 | #include "dmort.h"
28 |
29 | #endif //__DMO_H__
30 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/dmusbuff.h:
--------------------------------------------------------------------------------
1 | /***************************************************************************
2 | * *
3 | * DMusBuff.h -- This module defines the buffer format for DirectMusic *
4 | * Shared file between user mode and kernel mode components *
5 | * *
6 | * Copyright (c) 1998, Microsoft Corp. All rights reserved. *
7 | * *
8 | ***************************************************************************/
9 |
10 | #ifndef _DMusBuff_
11 | #define _DMusBuff_
12 |
13 | /* Format of DirectMusic events in a buffer
14 | *
15 | * A buffer contains 1 or more events, each with the following header.
16 | * Immediately following the header is the event data. The header+data
17 | * size is rounded to the nearest quadword (8 bytes).
18 | */
19 |
20 | #include /* Do not pad at end - that's where the data is */
21 | typedef struct _DMUS_EVENTHEADER *LPDMUS_EVENTHEADER;
22 | typedef struct _DMUS_EVENTHEADER
23 | {
24 | DWORD cbEvent; /* Unrounded bytes in event */
25 | DWORD dwChannelGroup; /* Channel group of event */
26 | REFERENCE_TIME rtDelta; /* Delta from start time of entire buffer */
27 | DWORD dwFlags; /* Flags DMUS_EVENT_xxx */
28 | } DMUS_EVENTHEADER;
29 | #include
30 |
31 | #define DMUS_EVENT_STRUCTURED 0x00000001 /* Unstructured data (SysEx, etc.) */
32 |
33 | /* The number of bytes to allocate for an event with 'cb' data bytes.
34 | */
35 | #define QWORD_ALIGN(x) (((x) + 7) & ~7)
36 | #define DMUS_EVENT_SIZE(cb) QWORD_ALIGN(sizeof(DMUS_EVENTHEADER) + cb)
37 |
38 |
39 | #endif /* _DMusBuff_ */
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/dv.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // File: DV.h
3 | //
4 | // Desc: DV typedefs and defines
5 | //
6 | // Copyright (c) 1997-2001, Microsoft Corporation. All rights reserved.
7 | //------------------------------------------------------------------------------
8 |
9 |
10 | #ifndef _DV_H_
11 | #define _DV_H_
12 |
13 | #define DV_DVSD_NTSC_FRAMESIZE 120000L
14 | #define DV_DVSD_PAL_FRAMESIZE 144000L
15 |
16 | #define DV_SMCHN 0x0000e000
17 | #define DV_AUDIOMODE 0x00000f00
18 | #define DV_AUDIOSMP 0x38000000
19 |
20 | #define DV_AUDIOQU 0x07000000
21 | #define DV_NTSCPAL 0x00200000
22 | #define DV_STYPE 0x001f0000
23 |
24 |
25 | //There are NTSC or PAL DV camcorders
26 | #define DV_NTSC 0
27 | #define DV_PAL 1
28 |
29 | //DV camcorder can output sd/hd/sl
30 | #define DV_SD 0x00
31 | #define DV_HD 0x01
32 | #define DV_SL 0x02
33 |
34 | //user can choice 12 bits or 16 bits audio from DV camcorder
35 | #define DV_CAP_AUD16Bits 0x00
36 | #define DV_CAP_AUD12Bits 0x01
37 |
38 | #define SIZE_DVINFO 0x20
39 |
40 | typedef struct Tag_DVAudInfo
41 | {
42 | BYTE bAudStyle[2];
43 |
44 | //LSB 6 bits for starting DIF sequence number
45 | //MSB 2 bits: 0 for mon. 1: stereo in one 5/6 DIF sequences, 2: stereo audio in both 5/6 DIF sequences
46 | //example: 0x00: mon, audio in first 5/6 DIF sequence
47 | // 0x05: mon, audio in 2nd 5 DIF sequence
48 | // 0x15: stereo, audio only in 2nd 5 DIF sequence
49 | // 0x10: stereo, audio only in 1st 5/6 DIF sequence
50 | // 0x20: stereo, left ch in 1st 5/6 DIF sequence, right ch in 2nd 5/6 DIF sequence
51 | // 0x26: stereo, rightch in 1st 6 DIF sequence, left ch in 2nd 6 DIF sequence
52 | BYTE bAudQu[2]; //qbits, only support 12, 16,
53 |
54 | BYTE bNumAudPin; //how many pins
55 | WORD wAvgSamplesPerPinPerFrm[2]; //sample size for one audio pin in one frame(which has 10 or 12 DIF sequence)
56 | WORD wBlkMode; //45 for NTSC, 54 for PAL
57 | WORD wDIFMode; //5 for NTSC, 6 for PAL
58 | WORD wBlkDiv; //15 for NTSC, 18 for PAL
59 |
60 | } DVAudInfo;
61 |
62 | #endif // _DV_H_
63 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/edevdefs.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/DirectShow/Include/edevdefs.h
--------------------------------------------------------------------------------
/Client/DirectShow/Include/errors.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // File: Errors.h
3 | //
4 | // Desc: ActiveMovie error defines.
5 | //
6 | // Copyright (c) 1992-2001, Microsoft Corporation. All rights reserved.
7 | //------------------------------------------------------------------------------
8 |
9 |
10 | #ifndef __ERRORS__
11 | #define __ERRORS__
12 |
13 | #ifdef __cplusplus
14 | extern "C" {
15 | #endif // __cplusplus
16 |
17 | #ifndef _AMOVIE_
18 | #define AMOVIEAPI DECLSPEC_IMPORT
19 | #else
20 | #define AMOVIEAPI
21 | #endif
22 |
23 | // codes 0-01ff are reserved for OLE
24 | #define VFW_FIRST_CODE 0x200
25 | #define MAX_ERROR_TEXT_LEN 160
26 |
27 | #include // includes all message definitions
28 |
29 | typedef BOOL (WINAPI* AMGETERRORTEXTPROCA)(HRESULT, char *, DWORD);
30 | typedef BOOL (WINAPI* AMGETERRORTEXTPROCW)(HRESULT, WCHAR *, DWORD);
31 |
32 | AMOVIEAPI DWORD WINAPI AMGetErrorTextA( HRESULT hr , char *pbuffer , DWORD MaxLen);
33 | AMOVIEAPI DWORD WINAPI AMGetErrorTextW( HRESULT hr , WCHAR *pbuffer , DWORD MaxLen);
34 |
35 |
36 | #ifdef UNICODE
37 | #define AMGetErrorText AMGetErrorTextW
38 | typedef AMGETERRORTEXTPROCW AMGETERRORTEXTPROC;
39 | #else
40 | #define AMGetErrorText AMGetErrorTextA
41 | typedef AMGETERRORTEXTPROCA AMGETERRORTEXTPROC;
42 | #endif
43 |
44 | #ifdef __cplusplus
45 | }
46 | #endif // __cplusplus
47 | #endif // __ERRORS__
48 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/ksguid.h:
--------------------------------------------------------------------------------
1 | /*++
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 |
5 | Module Name:
6 |
7 | ksguid.h
8 |
9 | Abstract:
10 |
11 | Define guids for non-C++.
12 |
13 | --*/
14 |
15 | #define INITGUID
16 | #include
17 |
18 | #if defined( DEFINE_GUIDEX )
19 | #undef DEFINE_GUIDEX
20 | #endif
21 | #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID __declspec(selectany) name = { STATICGUIDOF(name) }
22 |
23 | #ifndef STATICGUIDOF
24 | #define STATICGUIDOF(guid) STATIC_##guid
25 | #endif // !defined(STATICGUIDOF)
26 |
27 | #if !defined( DEFINE_WAVEFORMATEX_GUID )
28 | #define DEFINE_WAVEFORMATEX_GUID(x) (USHORT)(x), 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
29 | #endif
30 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/mediaerr.h:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | // File: MediaErr.h
3 | //
4 | // Desc: Shell error codes
5 | //
6 | // Copyright (c) 1999 - 2001, Microsoft Corporation. All rights reserved.
7 | //------------------------------------------------------------------------------
8 |
9 |
10 | #ifndef _MEDIAERR_H_
11 | #define _MEDIAERR_H_
12 |
13 | #define DMO_E_INVALIDSTREAMINDEX 0x80040201
14 | #define DMO_E_INVALIDTYPE 0x80040202
15 | #define DMO_E_TYPE_NOT_SET 0x80040203
16 | #define DMO_E_NOTACCEPTING 0x80040204
17 | #define DMO_E_TYPE_NOT_ACCEPTED 0x80040205
18 | #define DMO_E_NO_MORE_ITEMS 0x80040206
19 |
20 | #endif _MEDIAERR_H_
21 |
--------------------------------------------------------------------------------
/Client/DirectShow/Include/xprtdefs.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/DirectShow/Include/xprtdefs.h
--------------------------------------------------------------------------------
/Client/DirectShow/Lib/strmiids.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/DirectShow/Lib/strmiids.lib
--------------------------------------------------------------------------------
/Client/ReadMe.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sxcong/rttim/57cea98fd80e4a7aa9c62441c112cc621c6db884/Client/ReadMe.txt
--------------------------------------------------------------------------------
/Client/UDPSession.h:
--------------------------------------------------------------------------------
1 | // RTPSession.h: interface for the RTPSession class.
2 | //
3 | //////////////////////////////////////////////////////////////////////
4 |
5 | #if !defined(AFX_RTPSESSION_H__E0363A1C_703C_456A_9E3A_5FED274429BF__INCLUDED_)
6 | #define AFX_RTPSESSION_H__E0363A1C_703C_456A_9E3A_5FED274429BF__INCLUDED_
7 |
8 |
9 | #include "UDPSock.h"
10 | #include "global.h"
11 | #include "stdint.h"
12 | #include