#include <vtrans.h>

Public Member Functions | |
| CVideoTransformFilter (TCHAR *, LPUNKNOWN, REFCLSID clsid) | |
| ~CVideoTransformFilter () | |
| HRESULT | EndFlush () |
Protected Member Functions | |
| virtual HRESULT | StartStreaming () |
| HRESULT | AbortPlayback (HRESULT hr) |
| HRESULT | Receive (IMediaSample *pSample) |
| HRESULT | AlterQuality (Quality q) |
| BOOL | ShouldSkipFrame (IMediaSample *pIn) |
Protected Attributes | |
| int | m_nKeyFramePeriod |
| int | m_nFramesSinceKeyFrame |
| BOOL | m_bSkipping |
| int | m_itrLate |
| int | m_tDecodeStart |
| int | m_itrAvgDecode |
| BOOL | m_bNoSkip |
| BOOL | m_bQualityChanged |
| int | m_nWaitForKey |
Definition at line 6 of file vtrans.h.
Definition at line 10 of file vtrans.cpp.
| CVideoTransformFilter::~CVideoTransformFilter | ( | ) |
Definition at line 25 of file vtrans.cpp.
| HRESULT CVideoTransformFilter::EndFlush | ( | void | ) | [virtual] |
Reimplemented from CTransformFilter.
Definition at line 43 of file vtrans.cpp.
References CTransformFilter::EndFlush(), CTransformFilter::m_csReceive, and StartStreaming().
| HRESULT CVideoTransformFilter::StartStreaming | ( | ) | [protected, virtual] |
Reimplemented from CTransformFilter.
Definition at line 30 of file vtrans.cpp.
References FALSE, m_bQualityChanged, CTransformFilter::m_bSampleSkipped, m_bSkipping, m_itrAvgDecode, m_itrLate, m_nFramesSinceKeyFrame, m_nKeyFramePeriod, and m_tDecodeStart.
Referenced by EndFlush(), and Receive().
| HRESULT CVideoTransformFilter::AbortPlayback | ( | HRESULT | hr | ) | [protected] |
Definition at line 59 of file vtrans.cpp.
References CBaseOutputPin::DeliverEndOfStream(), CTransformFilter::m_pOutput, and CBaseFilter::NotifyEvent().
Referenced by Receive().
| HRESULT CVideoTransformFilter::Receive | ( | IMediaSample * | pSample | ) | [protected, virtual] |
Reimplemented from CTransformFilter.
Definition at line 66 of file vtrans.cpp.
References AbortPlayback(), ASSERT, CritCheckIn, CTransformOutputPin::CurrentMediaType(), CTransformInputPin::CurrentMediaType(), DbgLog, DeleteMediaType(), CBaseOutputPin::Deliver(), FAILED, FALSE, FOURCCMap::GetFOURCC(), hr, HRESULT, CTransformFilter::InitializeOutputSample(), LOG_TRACE, LONG, m_bQualityChanged, CTransformFilter::m_bSampleSkipped, CTransformFilter::m_csReceive, m_itrAvgDecode, m_nWaitForKey, CTransformFilter::m_pInput, CTransformFilter::m_pOutput, m_tDecodeStart, MSR_NOTE, MSR_START, MSR_STOP, CBaseFilter::NotifyEvent(), NULL, rcS, rcS1, rcT, rcT1, S_FALSE, S_OK, FOURCCMap::SetFOURCC(), ShouldSkipFrame(), StartStreaming(), CTransformFilter::StopStreaming(), CTransformFilter::Transform(), and TRUE.
| HRESULT CVideoTransformFilter::AlterQuality | ( | Quality | q | ) | [protected, virtual] |
| BOOL CVideoTransformFilter::ShouldSkipFrame | ( | IMediaSample * | pIn | ) | [protected] |
Definition at line 284 of file vtrans.cpp.
References FALSE, hr, HRESULT, m_bQualityChanged, m_bSkipping, m_itrAvgDecode, m_itrLate, m_nFramesSinceKeyFrame, m_nKeyFramePeriod, MSR_INTEGER, CBaseFilter::NotifyEvent(), S_OK, and TRUE.
Referenced by Receive().
int CVideoTransformFilter::m_nKeyFramePeriod [protected] |
int CVideoTransformFilter::m_nFramesSinceKeyFrame [protected] |
BOOL CVideoTransformFilter::m_bSkipping [protected] |
int CVideoTransformFilter::m_itrLate [protected] |
Definition at line 120 of file vtrans.h.
Referenced by AlterQuality(), ShouldSkipFrame(), and StartStreaming().
int CVideoTransformFilter::m_tDecodeStart [protected] |
int CVideoTransformFilter::m_itrAvgDecode [protected] |
Definition at line 123 of file vtrans.h.
Referenced by Receive(), ShouldSkipFrame(), and StartStreaming().
BOOL CVideoTransformFilter::m_bNoSkip [protected] |
BOOL CVideoTransformFilter::m_bQualityChanged [protected] |
Reimplemented from CTransformFilter.
Definition at line 130 of file vtrans.h.
Referenced by Receive(), ShouldSkipFrame(), and StartStreaming().
int CVideoTransformFilter::m_nWaitForKey [protected] |
1.5.6