[Datatype-cvs] wm/video/renderer/pub wmvdecoder.h, 1.3.24.1.2.2, 1.3.24.1.2.3 wmvformat.h, 1.1.1.1.24.2.2.2, 1.1.1.1.24.2.2.3
gahluwalia at helixcommunity.org gahluwalia at helixcommunity.orgUpdate of /cvsroot/datatype/wm/video/renderer/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv16351/pub
Modified Files:
Tag: hxclient_3_6_1_atlas
wmvdecoder.h wmvformat.h
Log Message:
Fallback mechanism from H/W to S/W decoder
Index: wmvdecoder.h
===================================================================
RCS file: /cvsroot/datatype/wm/video/renderer/pub/wmvdecoder.h,v
retrieving revision 1.3.24.1.2.2
retrieving revision 1.3.24.1.2.3
diff -u -d -r1.3.24.1.2.2 -r1.3.24.1.2.3
--- wmvdecoder.h 12 Nov 2009 10:57:50 -0000 1.3.24.1.2.2
+++ wmvdecoder.h 20 Sep 2010 09:58:40 -0000 1.3.24.1.2.3
@@ -114,6 +114,7 @@
static HX_RESULT STDMETHODCALLTYPE OnNewImage(HXSTREAM streamRef,
HXSTREAM fromStreamRef,
HXCODEC_DATA* pData);
+ HX_RESULT TryNextDecoder();
protected:
IUnknown* m_pContext;
CWMVideoRenderer* m_pVideoRenderer;
Index: wmvformat.h
===================================================================
RCS file: /cvsroot/datatype/wm/video/renderer/pub/wmvformat.h,v
retrieving revision 1.1.1.1.24.2.2.2
retrieving revision 1.1.1.1.24.2.2.3
diff -u -d -r1.1.1.1.24.2.2.2 -r1.1.1.1.24.2.2.3
--- wmvformat.h 12 Nov 2009 10:57:50 -0000 1.1.1.1.24.2.2.2
+++ wmvformat.h 20 Sep 2010 09:58:40 -0000 1.1.1.1.24.2.2.3
@@ -132,6 +132,11 @@
static void KillWMVSampleDesc(void* pSampleDesc, void* pUserData);
static void KillWMVInputBuffer(void* pBuffer, void* pUserData);
static void KillWMVOutputBuffer(void* pBuffer, void* pUserData);
+ void ClearInputList();
+ HX_RESULT SendQueuedPacket(int index);
+ HXBOOL m_bIsDecodeSuccessful;
+ CHXSimpleList m_InputList;
+ HXMutex* m_pInputLock;
};
#endif /* #ifndef WMVFORMAT_H */