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

📄 distributiondlg.h

📁 这是关于图像质量分析的源代码
💻 H
字号:
//{{AFX_INCLUDES()
#include "CGraphView.h"
#include "cgraphview.h"
//}}AFX_INCLUDES
#if !defined(AFX_DISTRIBUTIONDLG_H__73357CA4_14D4_46B8_A06B_0C0D230AFD3B__INCLUDED_)
#define AFX_DISTRIBUTIONDLG_H__73357CA4_14D4_46B8_A06B_0C0D230AFD3B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DistributionDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDistributionDlg dialog

#include "CXvid.h"

class CDistributionDlg : public CDialog
{
// Construction
public:
	CDistributionDlg(CWnd* pParent = NULL);   // standard constructor
	void Init(CXvid &xvid, CXvid::QUANTS* quants, int nframes);
// Dialog Data
	//{{AFX_DATA(CDistributionDlg)
	enum { IDD = IDD_DISTRIBUTION };
	CListCtrl	m_listp;
	CListCtrl	m_listi;
	int		m_icount;
	int		m_pcount;
	float	m_pavg;
	float	m_iavg;
	CGraphView	m_graphg;
	CGraphView	m_graphi;
	CGraphView	m_graphp;
	int		m_imaxfs;
	int		m_iminfs;
	int		m_pmaxfs;
	int		m_pminfs;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDistributionDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	
	int				nelem;
	CXvid::QUANTS*	qarray;

	int		ghisto[31];

	int		phisto[31];
	int		pcount;
	float	pavg;
	int		pmaxfs;
	int		pminfs;

	int		ihisto[31];
	int		icount;
	float	iavg;
	int		imaxfs;
	int		iminfs;
			
	void ParsePFrames(void);
	void ParseIFrames(void);
	void ScaleHistograms(void);
	void DrawHistograms(void);

	// Generated message map functions
	//{{AFX_MSG(CDistributionDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonDraw();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DISTRIBUTIONDLG_H__73357CA4_14D4_46B8_A06B_0C0D230AFD3B__INCLUDED_)

⌨️ 快捷键说明

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