--- branches/release-1_3-branch/xvidcore/dshow/src/CXvidDecoder.h 2015/06/14 19:17:57 2113 +++ branches/release-1_3-branch/xvidcore/dshow/src/CXvidDecoder.h 2015/06/14 19:18:14 2114 @@ -26,6 +26,7 @@ #ifndef _FILTER_H_ #define _FILTER_H_ +#include #include #include "IXvidDecoder.h" @@ -154,7 +155,7 @@ private : - HRESULT ChangeColorspace(GUID subtype, GUID formattype, void * format, int noflip); + HRESULT ChangeColorspace(GUID subtype, GUID formattype, void * format, int *bitdepth, int noflip); HRESULT OpenLib(); void CloseLib(); @@ -170,6 +171,9 @@ int rgb_flip; int out_stride; + clock_t m_startClock; + int m_tray_icon; + /* mft stuff */ #if defined(XVID_USE_MFT) BOOL HasPendingOutput() const { return m_frame.output.plane[1] != NULL; } @@ -177,10 +181,11 @@ HRESULT OnSetInputType(IMFMediaType *pmt); HRESULT OnCheckInputType(IMFMediaType *pmt); - HRESULT OnSetOutputType(IMFMediaType *pmt); + HRESULT OnSetOutputType(IMFMediaType *pmt, int bitdepth); IMFMediaType *m_pInputType; IMFMediaType *m_pOutputType; + int m_pOutputTypeBPP; CRITICAL_SECTION m_mft_lock; REFERENCE_TIME m_timestamp; @@ -192,9 +197,9 @@ REFERENCE_TIME m_rtFrame; MFRatio m_frameRate; UINT64 m_duration; -#endif - HWND MSG_hwnd; /* message handler window */ + HANDLE m_thread_handle; +#endif }; #define WM_ICONMESSAGE (WM_USER + 1)