12 #include "../GrayLibBase.h"
20 class cSurfaceBitmapInfo;
52 cAVHeader(
float fFramesPerSec = 0.0f, UINT32 dwTotalTimeSec = 0)
54 , m_fFramesPerSec(fFramesPerSec)
55 , m_dwTotalTimeSec(dwTotalTimeSec)
70 , m_nQuality(nQuality)
85 static const BYTE k_FLAG_KeyFrame = 0x80;
108 return (m_bTypeId & k_FLAG_KeyFrame) ? true :
false;
191 : m_pStreamInput(&stmIn)
#define CATTR_PACKED
Definition: GrayCore.h:87
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
Using X files without the sources and the makefile How to use you just create a debug directory e the sample3 directory must contain Sample3 Final Sample3 exe Sample3 Final Debug Sample3 Final Gfx OpenGL bmp Sample3 Final Gfx tiny_skin bmp Sample3 Final Gfx tiny_4anim x The source files have the DevCpp project file plus the makefile The demos use standard FreeGlut functions Technical without warranty Neither Paul Coppens nor GameDev net make any or either express or with respect to the their or fitness for a specific purpose neither Paul Coppens nor GameDev net shall have any liability to you or any other person or entity with respect to any or damage caused or alleged to have been caused directly or indirectly by the programs provided by Paul Coppens and GameDev net This but is not limited interruption of loss of data
Definition: Readme.txt:39
#define UNREFERENCED_PARAMETER(P)
< _WIN32 type thing. get rid of stupid warning.
Definition: SysTypes.h:299
#define UNREFERENCED_REFERENCE(x)
Definition: SysTypes.h:318
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cAVSink.h:205
virtual ~cAVControl()
Definition: cAVSink.h:224
CTL_TYPE
Definition: cAVSink.h:210
@ CTL_Source
0x01 = request alternate video Source. "{ #stream (0=all), 'source string' }"
Definition: cAVSink.h:214
@ CTL_Position
0x06 = my view/listen position has changed. (for 3d audio mixing, if applicable)
Definition: cAVSink.h:219
@ CTL_Stop
0x04 = send control messages to the AV source. "{ 0=Stop, 1=Start, 2=Pause, 3=Unpause....
Definition: cAVSink.h:217
@ CTL_Channel
0x02 = request alternate video Channel. "{ #stream (0=all), channel # }"
Definition: cAVSink.h:215
@ CTL_Keys
0x08 = send input messages back to the AV source. keyboard or mouse buttons. "{ key code,...
Definition: cAVSink.h:221
@ CTL_Mouse
0x07 = send input messages back to the AV source. Mouse position. "{ x, y }"
Definition: cAVSink.h:220
@ CTL_Seek
0x05 = attempt to time seek on the AV stream if possible. "{ #mSec }"
Definition: cAVSink.h:218
@ CTL_Quality
0x03 = request a AV_QUALITY_t level change on a stream (or all streams). "{ #stream (0=all),...
Definition: cAVSink.h:216
virtual HRESULT OnControl(CTL_TYPE eType, const void *pData=nullptr, size_t nSizeData=0)=0
Definition: cAVSink.h:114
cHeapBlock m_data
Definition: cAVSink.h:119
cAVFrame(const cAVHeaderFrame &head, const cHeapBlock &data)
Definition: cAVSink.h:121
cAVHeaderFrame m_head
Definition: cAVSink.h:118
Definition: cAVSink.h:231
virtual HRESULT BuildCompFrame(TIMESYS_t tWhenLast, const void *&rpCompRet, size_t &rnSizeRet)=0
Definition: cAVSink.h:181
cAVSink * m_pAVSink
Output to this destination cAVSink.
Definition: cAVSink.h:187
cStreamInput * m_pStreamInput
read from this file or memory stream
Definition: cAVSink.h:186
virtual ~cAVReader()
Definition: cAVSink.h:195
virtual HRESULT ReadStream()=0
cAVReader(cStreamInput &stmIn, cAVSink *pSink)
Definition: cAVSink.h:190
Definition: cAVSink.h:175
Definition: cAVSink.h:130
virtual HRESULT OnClose()
Definition: cAVSink.h:167
virtual HRESULT OnHeaderClose()
Definition: cAVSink.h:154
virtual HRESULT OnHeaderOpen(const cAVHeader &head)
Definition: cAVSink.h:140
virtual HRESULT OnHeaderStream(const cAVHeaderStream &head, const void *pForm, size_t nSizeForm)
Definition: cAVSink.h:146
virtual ~cAVSink()
Definition: cAVSink.h:136
virtual HRESULT OnFrame(const cAVHeaderFrame &head, const void *pData, size_t nSizeData)
Definition: cAVSink.h:159
BYTE AV_STREAM_t
a single type as a BYTE.
Definition: cAVSink.h:39
short AV_QUALITY_t
0 to 10000 e.g. 9900 = 99%. same as ICQUALITY_LOW,ICQUALITY_HIGH
Definition: cAVSink.h:21
AV_STREAM_TYPE
Definition: cAVSink.h:25
@ AV_STREAM_MASK
Definition: cAVSink.h:35
@ AV_STREAM_Meta
Other meta type info. XML?
Definition: cAVSink.h:33
@ AV_STREAM_QTY
Definition: cAVSink.h:34
@ AV_STREAM_Video
Video needs cSurfaceBitmapInfo header.
Definition: cAVSink.h:29
@ AV_STREAM_UNK
not set yet.
Definition: cAVSink.h:28
@ AV_STREAM_Location
3d location info. usually for Audio. or GPS for real world location ?
Definition: cAVSink.h:32
@ AV_STREAM_Audio
Audio needs cWaveFormatEx header.
Definition: cAVSink.h:30
@ AV_STREAM_Text
Text, Lyrics or Close Caption info. Needs cLanguageID Header.
Definition: cAVSink.h:31
BYTE AV_STREAMS_t
bitmask of AV_STREAM_t ..
Definition: cAVSink.h:40
UINT32 TIMESYS_t
TIMESYS_t = The normal system tick timer. milli-seconds since start of system/app ?
Definition: cTimeSys.h:27