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

📄 iflvdecoder.h

📁 包裝ffmpeg中的codecs成為DirectShow中的transform filter
💻 H
字号:
// iFLVDecoder.h: interface for the CFLVDecoder class
//
//////////////////////////////////////////////////////////////////////
// Classes defined:
//
//   GUIDs of Filter CFLVDecoder, Interface IFLVDecoder and 
//       its property page CFLVDecoderProp
//   FLVDecoderParams:
//       The parameters that control the CFLVDecoder
//   IFLVDecoder:
//       The interface that controls the CFLVDecoder.
//////////////////////////////////////////////////////////////////////
#pragma once

// The parameter control the CFLVDecoder.
struct FLVDecoderParams {
    int    param1;
    double param2;
};

// {832304a0-768b-4667-a069-f30ebc9ff636}
DEFINE_GUID(CLSID_FLVDecoder, 
0x832304a0, 0x768b, 0x4667, 0xa0, 0x69, 0xf3, 0xe, 0xbc, 0x9f, 0xf6, 0x36);

// {088aed6f-e2db-44ed-b776-07e912ecbffe}
DEFINE_GUID(CLSID_FLVDecoderProp, 
0x88aed6f, 0xe2db, 0x44ed, 0xb7, 0x76, 0x7, 0xe9, 0x12, 0xec, 0xbf, 0xfe);

// {34e97f81-da0e-40a7-96ad-1f0dc3a3e77b}
DEFINE_GUID(IID_IFLVDecoder, 
0x34e97f81, 0xda0e, 0x40a7, 0x96, 0xad, 0x1f, 0xd, 0xc3, 0xa3, 0xe7, 0x7b);

#ifdef __cplusplus
extern "C" {
#endif

DECLARE_INTERFACE_(IFLVDecoder, IUnknown)
{
    // Get the parameters of the filter
    STDMETHOD(GetParams) (THIS_
                FLVDecoderParams *irp
             ) PURE;

    // Set the parameters of the filter
    STDMETHOD(SetParams) (THIS_
                FLVDecoderParams *irp
             ) PURE;
};

#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

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