summaryrefslogtreecommitdiffstats
path: root/thirdparties/win32/include/directshow/transfrm.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparties/win32/include/directshow/transfrm.h')
-rwxr-xr-xthirdparties/win32/include/directshow/transfrm.h41
1 files changed, 22 insertions, 19 deletions
diff --git a/thirdparties/win32/include/directshow/transfrm.h b/thirdparties/win32/include/directshow/transfrm.h
index 36c2e0d..39f40ce 100755
--- a/thirdparties/win32/include/directshow/transfrm.h
+++ b/thirdparties/win32/include/directshow/transfrm.h
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// File: Transfrm.h
//
-// Desc: DirectShow base classes - defines classes from which simple
+// Desc: DirectShow base classes - defines classes from which simple
// transform codecs may be derived.
//
// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved.
@@ -53,8 +53,7 @@ public:
__in_opt LPCWSTR pName);
#endif
- STDMETHODIMP QueryId(__deref_out LPWSTR * Id)
- {
+ STDMETHODIMP QueryId(__deref_out LPWSTR * Id) {
return AMGetWideString(L"In", Id);
}
@@ -88,16 +87,18 @@ public:
STDMETHODIMP EndFlush(void);
STDMETHODIMP NewSegment(
- REFERENCE_TIME tStart,
- REFERENCE_TIME tStop,
- double dRate);
+ REFERENCE_TIME tStart,
+ REFERENCE_TIME tStop,
+ double dRate);
// Check if it's OK to process samples
virtual HRESULT CheckStreaming();
// Media type
public:
- CMediaType& CurrentMediaType() { return m_mt; };
+ CMediaType& CurrentMediaType() {
+ return m_mt;
+ };
};
@@ -136,8 +137,7 @@ public:
// --- CBaseOutputPin ------------
- STDMETHODIMP QueryId(__deref_out LPWSTR * Id)
- {
+ STDMETHODIMP QueryId(__deref_out LPWSTR * Id) {
return AMGetWideString(L"Out", Id);
}
@@ -156,8 +156,8 @@ public:
// called from CBaseOutputPin during connection to ask for
// the count and size of buffers we need.
HRESULT DecideBufferSize(
- IMemAllocator * pAlloc,
- __inout ALLOCATOR_PROPERTIES *pProp);
+ IMemAllocator * pAlloc,
+ __inout ALLOCATOR_PROPERTIES *pProp);
// returns the preferred formats for a pin
HRESULT GetMediaType(int iPosition, __inout CMediaType *pMediaType);
@@ -167,7 +167,9 @@ public:
// Media type
public:
- CMediaType& CurrentMediaType() { return m_mt; };
+ CMediaType& CurrentMediaType() {
+ return m_mt;
+ };
};
@@ -215,8 +217,8 @@ public:
// call the SetProperties function with appropriate arguments
virtual HRESULT DecideBufferSize(
- IMemAllocator * pAllocator,
- __inout ALLOCATOR_PROPERTIES *pprop) PURE;
+ IMemAllocator * pAllocator,
+ __inout ALLOCATOR_PROPERTIES *pprop) PURE;
// override to suggest OUTPUT pin media types
virtual HRESULT GetMediaType(int iPosition, __inout CMediaType *pMediaType) PURE;
@@ -253,15 +255,16 @@ public:
virtual HRESULT BeginFlush(void);
virtual HRESULT EndFlush(void);
virtual HRESULT NewSegment(
- REFERENCE_TIME tStart,
- REFERENCE_TIME tStop,
- double dRate);
+ REFERENCE_TIME tStart,
+ REFERENCE_TIME tStop,
+ double dRate);
#ifdef PERF
// Override to register performance measurement with a less generic string
// You should do this to avoid confusion with other filters
- virtual void RegisterPerfId()
- {m_idTransform = MSR_REGISTER(TEXT("Transform"));}
+ virtual void RegisterPerfId() {
+ m_idTransform = MSR_REGISTER(TEXT("Transform"));
+ }
#endif // PERF
OpenPOWER on IntegriCloud