⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 remotescreen.cpp

📁 这是G.723和G.729的音频编解码的源代码
💻 CPP
字号:
// RemoteScreen.cpp : implementation file
//

#include "stdafx.h"

#include "VideoComm.h"
#include "RemoteScreen.h"

#include <stdlib.h>
#include <string.h>
#include <time.h>

#include <afxmt.h>
#include <afxtempl.h>

#include "CPacker.h"
#include "CChannel.h"
#include "CMultiplex.h"
#include "CDemultiplex.h"
#include "CByteBuffer.h"
#include "CComm.h"

#include "typedef2.h"
#include "cst2.h"
#include "tab2.h"
#include "G723.h"
#include "coder2.h"
#include "decod2.h"
#include "exc2.h"
#include "util2.h"
#include "codcng2.h"
#include "deccng2.h"
#include "vad2.h"
#include "G723.h"
#include "WaveIO.h"

#include "CChannel.h"

#include "CByteBuffer.h"

#include "LoopElementBuffer.h"
#include "SafeList.h"

#include "color.h"
#include "DBitstream.h"
#include "sactable.h"
#include "sad.h"
#include "Dh263class.h"
#include "commonfunc.h"
#include "ExpandYUV411.h"
#include "h263displayer.h"

#include "CBitstream.h"
#include "sac.h"
#include "Ch263class.h"
#include "h263encoder.h"

#include "InterfaceToBoard.h"
#include "TheInterfaceToBoard.h"

#include "VideoCommDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CRemoteScreen

CRemoteScreen::CRemoteScreen()
{
}

CRemoteScreen::~CRemoteScreen()
{
}


BEGIN_MESSAGE_MAP(CRemoteScreen, CWnd)
	//{{AFX_MSG_MAP(CRemoteScreen)
	ON_WM_PAINT()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// CRemoteScreen message handlers

void CRemoteScreen::OnPaint() 
{
	CPaintDC dc(this); // device context for painting
	
	// TODO: Add your message handler code here
	
	if(pVideoCommDlg)
		if(pVideoCommDlg->m_pDisplay)
			pVideoCommDlg->m_pDisplay->DisplayFrame(this);		
			
	ValidateRect(NULL);
	// Do not call CWnd::OnPaint() for painting messages
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -