|
// MMXDemoDoc.h : interface of the CMMXDemoDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MMXDEMODOC_H__2228F0C8_65DC_4BF7_AC18_76931DDDEB5F__INCLUDED_)
#define AFX_MMXDEMODOC_H__2228F0C8_65DC_4BF7_AC18_76931DDDEB5F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "miniview.h"
#include "Elapsed.h"
class CMMXDemoDoc : public CDocument
{
protected: // create from serialization only
CMMXDemoDoc();
DECLARE_DYNCREATE(CMMXDemoDoc)
// Attributes
public:
BYTE *m_pImg1, *m_pImg2, *m_pImg;
int m_iWidth, m_iHeight, m_iSize;
CElapsed m_el;
// Operations
public:
CFrameWnd *CreateNewView(CRuntimeClass *pViewClass);
// NOTE : View Pointer is used for easy access only
CMiniView *m_pMiniView1, *m_pMiniView2;
void GenerateImage();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMMXDemoDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMMXDemoDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMMXDemoDoc)
afx_msg void OnRunbasic();
afx_msg void OnRunmmx();
afx_msg void OnRunopt();
afx_msg void OnClear();
afx_msg void OnChecksse();
afx_msg void OnRunasm();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MMXDEMODOC_H__2228F0C8_65DC_4BF7_AC18_76931DDDEB5F__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Interest in computer vision, biometrics, image processing & software optimizations. Known language C/C++, VC++ MFC, Win32, COM/ATL, Assembly.