- Main Page
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

# PPageMpegDecoder.h

    00001 /*
    00002  *      Copyright (C) 2003-2005 Gabest
    00003  *      http://www.gabest.org
    00004  *
    00005  *  This Program is free software; you can redistribute it and/or modify
    00006  *  it under the terms of the GNU General Public License as published by
    00007  *  the Free Software Foundation; either version 2, or (at your option)
    00008  *  any later version.
    00009  *
    00010  *  This Program is distributed in the hope that it will be useful,
    00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    00013  *  GNU General Public License for more details.
    00014  *
    00015  *  You should have received a copy of the GNU General Public License
    00016  *  along with GNU Make; see the file COPYING.  If not, write to
    00017  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
    00018  *  http://www.gnu.org/copyleft/gpl.html
    00019  *
    00020  */
    00021
    00022
    00023 #pragma once
    00024
    00025 #include <atlimage.h>
    00026 #include "PPageBase.h"
    00027 #include "..\..\filters\transform\Mpeg2DecFilter\IMpeg2DecFilter.h"
    00028
    00029 // CPPageMpegDecoder dialog
    00030
    00031 class CPPageMpegDecoder : public CPPageBase
    00032 {
    00033         DECLARE_DYNAMIC(CPPageMpegDecoder)
    00034
    00035 private:
    00036         CComQIPtr<IMpeg2DecFilter> m_pMpeg2DecFilter;
    00037
    00038 public:
    00039         CPPageMpegDecoder(IFilterGraph* pFG);
    00040         virtual ~CPPageMpegDecoder();
    00041
    00042 // Dialog Data
    00043         enum { IDD = IDD_PPAGEMPEG };
    00044
    00045 protected:
    00046         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    00047         virtual BOOL OnInitDialog();
    00048         virtual BOOL OnApply();
    00049
    00050         DECLARE_MESSAGE_MAP()
    00051
    00052 public:
    00053         CComboBox m_dilist;
    00054         CSliderCtrl m_brightctrl;
    00055         CSliderCtrl m_contctrl;
    00056         CSliderCtrl m_huectrl;
    00057         CSliderCtrl m_satctrl;
    00058         BOOL m_fForcedSubs;
    00059         BOOL m_fPlanarYUV;
    00060         afx_msg void OnCbnSelchangeCombo2();
    00061         afx_msg void OnCbnSelchangeCombo1();
    00062         afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
    00063         afx_msg void OnBnClickedCheck1();
    00064         afx_msg void OnBnClickedButton1();
    00065         afx_msg void OnBnClickedCheck2();
    00066         afx_msg void OnBnClickedButton2();
    00067 };