2010-02-23 17:40:34 +00:00
|
|
|
#ifndef PRECOMP_H__
|
|
|
|
#define PRECOMP_H__
|
|
|
|
|
2010-03-26 11:43:52 +00:00
|
|
|
#define BDAPLGIN_TRACE
|
2010-02-23 17:40:34 +00:00
|
|
|
#define BUILDING_KS
|
|
|
|
#define _KSDDK_
|
|
|
|
#include <dshow.h>
|
|
|
|
//#include <streams.h>
|
|
|
|
#include <ks.h>
|
|
|
|
#define __STREAMS__
|
|
|
|
#include <ksproxy.h>
|
2010-03-24 16:04:44 +00:00
|
|
|
#include <ksmedia.h>
|
2010-02-23 17:40:34 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <wchar.h>
|
|
|
|
#include <tchar.h>
|
|
|
|
#include <uuids.h>
|
2010-02-24 18:37:07 +00:00
|
|
|
#include <bdatypes.h>
|
2010-02-23 17:40:34 +00:00
|
|
|
#include <bdaiface.h>
|
|
|
|
#include <bdamedia.h>
|
2010-02-24 18:37:07 +00:00
|
|
|
#include <assert.h>
|
2010-02-23 17:40:34 +00:00
|
|
|
|
|
|
|
typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject);
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
const GUID* riid;
|
|
|
|
LPFNCREATEINSTANCE lpfnCI;
|
|
|
|
} INTERFACE_TABLE;
|
|
|
|
|
|
|
|
/* classfactory.cpp */
|
|
|
|
IClassFactory *
|
|
|
|
CClassFactory_fnConstructor(
|
|
|
|
LPFNCREATEINSTANCE lpfnCI,
|
|
|
|
PLONG pcRefDll,
|
|
|
|
IID * riidInst);
|
|
|
|
|
|
|
|
/* devicecontrol.cpp */
|
|
|
|
HRESULT
|
|
|
|
WINAPI
|
|
|
|
CBDADeviceControl_fnConstructor(
|
|
|
|
IUnknown * pUnkOuter,
|
|
|
|
REFIID riid,
|
|
|
|
LPVOID * ppv);
|
|
|
|
|
|
|
|
|
|
|
|
/* pincontrol.cpp */
|
|
|
|
HRESULT
|
|
|
|
WINAPI
|
|
|
|
CBDAPinControl_fnConstructor(
|
|
|
|
IUnknown * pUnkOuter,
|
|
|
|
REFIID riid,
|
|
|
|
LPVOID * ppv);
|
|
|
|
|
2010-02-24 18:37:07 +00:00
|
|
|
/* controlnode.cpp */
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
WINAPI
|
|
|
|
CControlNode_fnConstructor(
|
[BDAPLGIN]
- Add macro to enable/disable debug output
- Query the BaseFilter for the target control pin in order to query for IKsObject interface, which is used to retrieve the real pin handle.
- Pass the NodeId to constructors of IBDA_FrequencyFilter, IBDA_SignalStatistics, IBDA_LNBInfo, IBDA_DigitalDemodulator
- Implement IBDA_DigitalDemodulator::put_ModulationType, IBDA_DigitalDemodulator::put_InnerFECMethod, IBDADigitalDemodulator::put_InnerFECRate, IBDADigitalDemodulator::put_OuterFECMethod, IBDADigitalDemodulator::put_OuterFECRate, IBDADigitalDemodulator::put_SymbolRate, IBDADigitalDemodulator::put_SpectralInversion
- Implement IBDAFrequencyFilter::put_Frequency, IBDAFrequencyFilter::put_Polarity, IBDAFrequencyFilter::put_Range, IBDAFrequencyFilter::put_Bandwidth, IBDAFrequencyFilter::put_FrequencyMultiplier
- Implement IBDALNBInfo::put_LocalOscilatorFrequencyLowBand, IBDALNBInfo::put_LocalOscilatorFrequencyHighBand, IBDALNBInfo::put_HighLowSwitchFrequency
- Implement IBDASignalStatistics::get_SignalStrength, IBDASignalStatistics::get_SignalQuality, IBDASignalStatistics::get_SignalPresent, IBDASignalStatistics::get_SignalLocked, IBDASignalStatistics::put_SampleTime, IBDASignalStatistics::get_SampleTime
- Implement IBDA_DeviceControl::StartChanges, IBDA_DeviceControl::CheckChanges, IBDA_DeviceControl::CommitChanges, IBDA_DeviceControl::GetChangeState
- IBDA_DeviceControl interface now works with SageDvbRecorder(Windows XP SP3)
svn path=/trunk/; revision=45684
2010-02-26 01:53:48 +00:00
|
|
|
IBaseFilter * pFilter,
|
2010-02-24 18:37:07 +00:00
|
|
|
ULONG NodeType,
|
|
|
|
ULONG PinId,
|
|
|
|
REFIID riid,
|
|
|
|
LPVOID * ppv);
|
|
|
|
|
|
|
|
/* frequencyfilter.cpp */
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
WINAPI
|
|
|
|
CBDAFrequencyFilter_fnConstructor(
|
2010-03-26 11:43:52 +00:00
|
|
|
IKsPropertySet * pProperty,
|
[BDAPLGIN]
- Add macro to enable/disable debug output
- Query the BaseFilter for the target control pin in order to query for IKsObject interface, which is used to retrieve the real pin handle.
- Pass the NodeId to constructors of IBDA_FrequencyFilter, IBDA_SignalStatistics, IBDA_LNBInfo, IBDA_DigitalDemodulator
- Implement IBDA_DigitalDemodulator::put_ModulationType, IBDA_DigitalDemodulator::put_InnerFECMethod, IBDADigitalDemodulator::put_InnerFECRate, IBDADigitalDemodulator::put_OuterFECMethod, IBDADigitalDemodulator::put_OuterFECRate, IBDADigitalDemodulator::put_SymbolRate, IBDADigitalDemodulator::put_SpectralInversion
- Implement IBDAFrequencyFilter::put_Frequency, IBDAFrequencyFilter::put_Polarity, IBDAFrequencyFilter::put_Range, IBDAFrequencyFilter::put_Bandwidth, IBDAFrequencyFilter::put_FrequencyMultiplier
- Implement IBDALNBInfo::put_LocalOscilatorFrequencyLowBand, IBDALNBInfo::put_LocalOscilatorFrequencyHighBand, IBDALNBInfo::put_HighLowSwitchFrequency
- Implement IBDASignalStatistics::get_SignalStrength, IBDASignalStatistics::get_SignalQuality, IBDASignalStatistics::get_SignalPresent, IBDASignalStatistics::get_SignalLocked, IBDASignalStatistics::put_SampleTime, IBDASignalStatistics::get_SampleTime
- Implement IBDA_DeviceControl::StartChanges, IBDA_DeviceControl::CheckChanges, IBDA_DeviceControl::CommitChanges, IBDA_DeviceControl::GetChangeState
- IBDA_DeviceControl interface now works with SageDvbRecorder(Windows XP SP3)
svn path=/trunk/; revision=45684
2010-02-26 01:53:48 +00:00
|
|
|
ULONG NodeId,
|
2010-02-24 18:37:07 +00:00
|
|
|
REFIID riid,
|
|
|
|
LPVOID * ppv);
|
|
|
|
|
|
|
|
/* signalstatistics.cpp */
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
WINAPI
|
|
|
|
CBDASignalStatistics_fnConstructor(
|
2010-03-26 11:43:52 +00:00
|
|
|
IKsPropertySet * pProperty,
|
[BDAPLGIN]
- Add macro to enable/disable debug output
- Query the BaseFilter for the target control pin in order to query for IKsObject interface, which is used to retrieve the real pin handle.
- Pass the NodeId to constructors of IBDA_FrequencyFilter, IBDA_SignalStatistics, IBDA_LNBInfo, IBDA_DigitalDemodulator
- Implement IBDA_DigitalDemodulator::put_ModulationType, IBDA_DigitalDemodulator::put_InnerFECMethod, IBDADigitalDemodulator::put_InnerFECRate, IBDADigitalDemodulator::put_OuterFECMethod, IBDADigitalDemodulator::put_OuterFECRate, IBDADigitalDemodulator::put_SymbolRate, IBDADigitalDemodulator::put_SpectralInversion
- Implement IBDAFrequencyFilter::put_Frequency, IBDAFrequencyFilter::put_Polarity, IBDAFrequencyFilter::put_Range, IBDAFrequencyFilter::put_Bandwidth, IBDAFrequencyFilter::put_FrequencyMultiplier
- Implement IBDALNBInfo::put_LocalOscilatorFrequencyLowBand, IBDALNBInfo::put_LocalOscilatorFrequencyHighBand, IBDALNBInfo::put_HighLowSwitchFrequency
- Implement IBDASignalStatistics::get_SignalStrength, IBDASignalStatistics::get_SignalQuality, IBDASignalStatistics::get_SignalPresent, IBDASignalStatistics::get_SignalLocked, IBDASignalStatistics::put_SampleTime, IBDASignalStatistics::get_SampleTime
- Implement IBDA_DeviceControl::StartChanges, IBDA_DeviceControl::CheckChanges, IBDA_DeviceControl::CommitChanges, IBDA_DeviceControl::GetChangeState
- IBDA_DeviceControl interface now works with SageDvbRecorder(Windows XP SP3)
svn path=/trunk/; revision=45684
2010-02-26 01:53:48 +00:00
|
|
|
ULONG NodeId,
|
2010-02-24 18:37:07 +00:00
|
|
|
REFIID riid,
|
|
|
|
LPVOID * ppv);
|
|
|
|
|
|
|
|
/* lnbinfo.cpp */
|
|
|
|
|
|
|
|
HRESULT
|
|
|
|
WINAPI
|
|
|
|
CBDALNBInfo_fnConstructor(
|
2010-03-26 11:43:52 +00:00
|
|
|
IKsPropertySet * pProperty,
|
[BDAPLGIN]
- Add macro to enable/disable debug output
- Query the BaseFilter for the target control pin in order to query for IKsObject interface, which is used to retrieve the real pin handle.
- Pass the NodeId to constructors of IBDA_FrequencyFilter, IBDA_SignalStatistics, IBDA_LNBInfo, IBDA_DigitalDemodulator
- Implement IBDA_DigitalDemodulator::put_ModulationType, IBDA_DigitalDemodulator::put_InnerFECMethod, IBDADigitalDemodulator::put_InnerFECRate, IBDADigitalDemodulator::put_OuterFECMethod, IBDADigitalDemodulator::put_OuterFECRate, IBDADigitalDemodulator::put_SymbolRate, IBDADigitalDemodulator::put_SpectralInversion
- Implement IBDAFrequencyFilter::put_Frequency, IBDAFrequencyFilter::put_Polarity, IBDAFrequencyFilter::put_Range, IBDAFrequencyFilter::put_Bandwidth, IBDAFrequencyFilter::put_FrequencyMultiplier
- Implement IBDALNBInfo::put_LocalOscilatorFrequencyLowBand, IBDALNBInfo::put_LocalOscilatorFrequencyHighBand, IBDALNBInfo::put_HighLowSwitchFrequency
- Implement IBDASignalStatistics::get_SignalStrength, IBDASignalStatistics::get_SignalQuality, IBDASignalStatistics::get_SignalPresent, IBDASignalStatistics::get_SignalLocked, IBDASignalStatistics::put_SampleTime, IBDASignalStatistics::get_SampleTime
- Implement IBDA_DeviceControl::StartChanges, IBDA_DeviceControl::CheckChanges, IBDA_DeviceControl::CommitChanges, IBDA_DeviceControl::GetChangeState
- IBDA_DeviceControl interface now works with SageDvbRecorder(Windows XP SP3)
svn path=/trunk/; revision=45684
2010-02-26 01:53:48 +00:00
|
|
|
ULONG NodeId,
|
2010-02-24 18:37:07 +00:00
|
|
|
REFIID riid,
|
|
|
|
LPVOID * ppv);
|
|
|
|
|
|
|
|
/* digitaldemo.cpp */
|
|
|
|
HRESULT
|
|
|
|
WINAPI
|
|
|
|
CBDADigitalDemodulator_fnConstructor(
|
2010-03-26 11:43:52 +00:00
|
|
|
IKsPropertySet * pProperty,
|
[BDAPLGIN]
- Add macro to enable/disable debug output
- Query the BaseFilter for the target control pin in order to query for IKsObject interface, which is used to retrieve the real pin handle.
- Pass the NodeId to constructors of IBDA_FrequencyFilter, IBDA_SignalStatistics, IBDA_LNBInfo, IBDA_DigitalDemodulator
- Implement IBDA_DigitalDemodulator::put_ModulationType, IBDA_DigitalDemodulator::put_InnerFECMethod, IBDADigitalDemodulator::put_InnerFECRate, IBDADigitalDemodulator::put_OuterFECMethod, IBDADigitalDemodulator::put_OuterFECRate, IBDADigitalDemodulator::put_SymbolRate, IBDADigitalDemodulator::put_SpectralInversion
- Implement IBDAFrequencyFilter::put_Frequency, IBDAFrequencyFilter::put_Polarity, IBDAFrequencyFilter::put_Range, IBDAFrequencyFilter::put_Bandwidth, IBDAFrequencyFilter::put_FrequencyMultiplier
- Implement IBDALNBInfo::put_LocalOscilatorFrequencyLowBand, IBDALNBInfo::put_LocalOscilatorFrequencyHighBand, IBDALNBInfo::put_HighLowSwitchFrequency
- Implement IBDASignalStatistics::get_SignalStrength, IBDASignalStatistics::get_SignalQuality, IBDASignalStatistics::get_SignalPresent, IBDASignalStatistics::get_SignalLocked, IBDASignalStatistics::put_SampleTime, IBDASignalStatistics::get_SampleTime
- Implement IBDA_DeviceControl::StartChanges, IBDA_DeviceControl::CheckChanges, IBDA_DeviceControl::CommitChanges, IBDA_DeviceControl::GetChangeState
- IBDA_DeviceControl interface now works with SageDvbRecorder(Windows XP SP3)
svn path=/trunk/; revision=45684
2010-02-26 01:53:48 +00:00
|
|
|
ULONG NodeId,
|
2010-02-24 18:37:07 +00:00
|
|
|
REFIID riid,
|
|
|
|
LPVOID * ppv);
|
2010-02-23 17:40:34 +00:00
|
|
|
|
2010-03-24 16:04:44 +00:00
|
|
|
extern const GUID IID_IKsObject;
|
|
|
|
|
2010-02-23 17:40:34 +00:00
|
|
|
#endif
|