h265vview_thread.h
来自「ZPAV (H265) PC(X86) demo ZPAV (H26」· C头文件 代码 · 共 47 行
H
47 行
/*
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright (C) 2006-2008 Beijing, pengzhen (pengzhenxp@yahoo.com.cn) //
// //
///////////////////////////////////////////////////////////////////////////////
*/
#ifdef __USE_THREAD__
#define thread_init() m_csViewLock = &m_csViewLock1; \
m_hViewThread = NULL; m_ViewMilliSecond = 0;
#define thread_open() ViewThreadOpen();
#define thread_close() ViewThreadClose();
#define thread_ctrl() m_ViewMilliSecond
HANDLE m_hViewThread;
CRITICAL_SECTION m_csViewLock1;
CRITICAL_SECTION* m_csViewLock;
DWORD m_ViewMilliSecond ;
void ViewThreadOpen(void);
void ViewThreadClose(void);
static void ViewThreadInitialProc(void* pv) ;
void ViewThreadProc(void);
#else
#define thread_init() m_csViewLock = &m_csViewLock1; m_uTimer = 0;
#define thread_open() ::InitializeCriticalSection( m_csViewLock );
#define thread_close() ::DeleteCriticalSection( m_csViewLock );
#define thread_ctrl() m_uTimer
UINT m_uTimer;
CRITICAL_SECTION m_csViewLock1;
CRITICAL_SECTION* m_csViewLock;
#endif //__USE_THREAD__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?