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

📄 directdraw.h

📁 symbian上的yuv视频文件处理程序 可对yuv的每一帧数据进行读取 处理 显示
💻 H
字号:
/*
 * DirectDraw.h
 *
 * The MPEG4 Codec for Symbian Project
 *
 * Copyright (c) 2005-2008 for Cyansoft Studio (www.cyansoft.com.cn).
 * All Rights Reserved.
 *
 * Contributor(s): ______________________________________.
 *
 * $Cyansoft$
 * 
 */
#ifndef _DIRECT_DRAW_INC_
#define _DIRECT_DRAW_INC_

#include <e32base.h>
#include <w32std.h>
#include <cdsb.h>

class CDirectDraw : public CBase, public MDirectScreenAccess
{
public:
	static CDirectDraw* NewL( RWsSession& aWs, CWsScreenDevice& aScreenDevice, RWindowBase& aWindow, TPoint& aPt, TRect& aRect );
	static CDirectDraw* NewLC( RWsSession& aWs, CWsScreenDevice& aScreenDevice, RWindowBase& aWindow, TPoint& aPt, TRect& aRect );
	//CDirectDraw();
	void ConstructL( RWsSession& aWs, CWsScreenDevice& aScreenDevice, RWindowBase& aWindow, TPoint& aPt, TRect& aRect );
	virtual ~CDirectDraw();
	
public:
	TUint8* BeginDraw();
	void EndDraw();
	
public: // from MDirectScreenAccess
	virtual void Restart( RDirectScreenAccess::TTerminationReasons aReason );
	virtual void AbortNow( RDirectScreenAccess::TTerminationReasons aReason );
	
private:
	CDirectScreenAccess* iDrawer;
	CFbsBitGc* iGc;
	CFbsBitmap* iVirtualScreen;
	
	TPoint iPoint;
	TRect iRect;
	TBool iPause;
};

#endif /* _DIRECT_DRAW_INC_ */
/* End of file */

⌨️ 快捷键说明

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