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

📄 flvdecoderprop.h

📁 包裝ffmpeg中的codecs成為DirectShow中的transform filter
💻 H
字号:
// FLVDecoderProp.h: interface for the CFLVDecoderProp class
// 
//////////////////////////////////////////////////////////////////////
#pragma once

///////////////////////////////////////////////////////////////////////
//  CFLVDecoderProp: property page of CFLVDecoder
//  It provides a dialogbox to setup the CFLVDecoder.
///////////////////////////////////////////////////////////////////////
class CFLVDecoderProp : public CBasePropertyPage
{
public:
    static CUnknown * WINAPI CreateInstance(LPUNKNOWN lpunk, HRESULT *phr);

private:
    // Constructor
    CFLVDecoderProp(LPUNKNOWN lpunk, HRESULT *phr);
    
    // Handle the messages in the dialogbox
    BOOL OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
    // Connect the property page to filter (pUnknown) or Disconnect
    HRESULT OnConnect(IUnknown *pUnknown);
    HRESULT OnDisconnect();

    // When activate or deactivate or apply changes the property page
    HRESULT OnActivate();
    HRESULT OnDeactivate();
    HRESULT OnApplyChanges();

    // Helper functions
    void    GetControlValues(); // Read parameters from controls
    void    SetControlValues(); // Set controls according to parameters

    BOOL m_bIsInitialized; // Used to ignore startup messages
    IFLVDecoder *m_pIFLVDecoder;  // interface of the filter
    FLVDecoderParams m_FLVDecoderParams; // Filter parameters
};

⌨️ 快捷键说明

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