ieintimage.cpp

来自「很珍贵得视频编辑器原码及CODEC。需要安装下列CODEC.可播放多种格式的视频」· C++ 代码 · 共 40 行

CPP
40
字号
// IEIntImage.cpp: implementation of the IEIntImage class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "IEIntImage.h"
#include "IEDib.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

/*
BOOL IEIntImage::FromDib(IEDib* pDib)
{
	int i, j;
	int w = pDib->GetWidth();
	int h = pDib->GetHeight();
	
	MakeImage(w, h);
	
	BYTE** src = pDib->GetPtr();
	
	for( j = 0 ; j < h ; j++ )
		for( i = 0 ; i < w ; i++ )
		{
			pixels[j][i] = src[j][i];
		}
		
		pDib->FreePtr(src);
		
		return TRUE;
}
*/

⌨️ 快捷键说明

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