#include <TheoraDecodeFilter.h>
Collaboration diagram for TheoraDecodeFilter:

Public Member Functions | |
| virtual HRESULT | CheckInputType (const CMediaType *inMediaType) |
| virtual HRESULT | CheckTransform (const CMediaType *inInputMediaType, const CMediaType *inOutputMediaType) |
| virtual HRESULT | DecideBufferSize (IMemAllocator *inAllocator, ALLOCATOR_PROPERTIES *inPropertyRequest) |
| virtual HRESULT | GetMediaType (int inPosition, CMediaType *outOutputMediaType) |
| virtual CBasePin * | GetPin (int inPinNo) |
| sTheoraFormatBlock * | getTheoraFormatBlock () |
| virtual HRESULT | NewSegment (REFERENCE_TIME inStart, REFERENCE_TIME inEnd, double inRate) |
| virtual HRESULT | Receive (IMediaSample *inSample) |
| virtual HRESULT | SetMediaType (PIN_DIRECTION inDirection, const CMediaType *inMediaType) |
| void | setTheoraFormat (BYTE *inFormatBlock) |
| TheoraDecodeFilter (void) | |
| virtual HRESULT | Transform (IMediaSample *inInputSample, IMediaSample *outOutputSample) |
| virtual | ~TheoraDecodeFilter (void) |
Static Public Member Functions | |
| CUnknown *WINAPI | CreateInstance (LPUNKNOWN pUnk, HRESULT *pHr) |
Protected Member Functions | |
| void | deleteBufferedPacketsAfter (unsigned long inPacketIndex) |
| void | FillMediaType (CMediaType *outMediaType, unsigned long inSampleSize) |
| bool | FillVideoInfoHeader (VIDEOINFOHEADER *inFormatBuffer) |
| virtual void | ResetFrameCount () |
| bool | SetSampleParams (IMediaSample *outMediaSample, unsigned long inDataSize, REFERENCE_TIME *inStartTime, REFERENCE_TIME *inEndTime, BOOL inIsSync) |
| HRESULT | TheoraDecoded (yuv_buffer *inYUVBuffer, IMediaSample *outSample, bool inIsKeyFrame, REFERENCE_TIME inStart, REFERENCE_TIME inEnd) |
Protected Attributes | |
| fstream | debugLog |
| bool | mBegun |
| vector< StampedOggPacket * > | mBufferedPackets |
| unsigned long | mFrameCount |
| __int64 | mFrameDuration |
| unsigned long | mFrameSize |
| unsigned long | mHeight |
| __int64 | mLastSeenStartGranPos |
| double | mPlaybackRate |
| __int64 | mSeekTimeBase |
| REFERENCE_TIME | mSegEnd |
| REFERENCE_TIME | mSegStart |
| TheoraDecoder * | mTheoraDecoder |
| sTheoraFormatBlock * | mTheoraFormatInfo |
| unsigned long | mWidth |
| unsigned long | mXOffset |
| unsigned long | mYOffset |
Static Protected Attributes | |
| const unsigned long | THEORA_IDENT_HEADER_SIZE = 42 |
Friends | |
| class | TheoraDecodeInputPin |
|
|
Definition at line 56 of file TheoraDecodeFilter.cpp. References debugLog, false, TheoraDecoder::initCodec(), and mTheoraDecoder. Referenced by CreateInstance(). |
Here is the call graph for this function:

|
|
Definition at line 82 of file TheoraDecodeFilter.cpp. References debugLog, mTheoraDecoder, and mTheoraFormatInfo. |
|
|
Definition at line 141 of file TheoraDecodeFilter.cpp. Referenced by CheckTransform(), and SetMediaType(). |
|
||||||||||||
|
Definition at line 160 of file TheoraDecodeFilter.cpp. References CheckInputType(), mHeight, and mWidth. |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 92 of file TheoraDecodeFilter.cpp. References TheoraDecodeFilter(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 178 of file TheoraDecodeFilter.cpp. |
|
|
Definition at line 488 of file TheoraDecodeFilter.cpp. References mBufferedPackets. Referenced by Receive(). |
|
||||||||||||
|
Definition at line 101 of file TheoraDecodeFilter.cpp. References FALSE. Referenced by GetMediaType(). |
|
|
Definition at line 109 of file TheoraDecodeFilter.cpp. References sTheoraFormatBlock::frameRateDenominator, sTheoraFormatBlock::frameRateNumerator, mTheoraFormatInfo, sTheoraFormatBlock::pictureHeight, sTheoraFormatBlock::pictureWidth, and sTheoraFormatBlock::targetBitrate. Referenced by GetMediaType(). |
|
||||||||||||
|
Definition at line 312 of file TheoraDecodeFilter.cpp. References FillMediaType(), and FillVideoInfoHeader(). |
Here is the call graph for this function:

|
|
Definition at line 869 of file TheoraDecodeFilter.cpp. References TheoraDecodeInputPin. |
|
|
Definition at line 821 of file TheoraDecodeFilter.cpp. Referenced by TheoraDecodeInputPin::convertGranuleToTime(), and TheoraDecodeInputPin::mustSeekBefore(). |
|
||||||||||||||||
|
Definition at line 338 of file TheoraDecodeFilter.cpp. References debugLog, mPlaybackRate, mSegEnd, mSegStart, and ResetFrameCount(). |
Here is the call graph for this function:

|
Here is the call graph for this function:

|
|
Definition at line 331 of file TheoraDecodeFilter.cpp. References mFrameCount. Referenced by NewSegment(). |
|
||||||||||||
|
Definition at line 767 of file TheoraDecodeFilter.cpp. References CheckInputType(), sTheoraFormatBlock::frameRateDenominator, sTheoraFormatBlock::frameRateNumerator, mFrameCount, mFrameDuration, mFrameSize, mHeight, mTheoraFormatInfo, mWidth, mXOffset, mYOffset, setTheoraFormat(), and sTheoraFormatBlock::xOffset. |
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Definition at line 805 of file TheoraDecodeFilter.cpp. References FALSE. Referenced by TheoraDecoded(). |
|
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Definition at line 646 of file TheoraDecodeFilter.cpp. References mFrameSize, mHeight, mWidth, mXOffset, SetSampleParams(), yuv_buffer::u, yuv_buffer::uv_stride, yuv_buffer::v, yuv_buffer::y, yuv_buffer::y_height, and yuv_buffer::y_stride. Referenced by Receive(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 496 of file TheoraDecodeFilter.cpp. References debugLog. |
|
|
Definition at line 52 of file TheoraDecodeFilter.h. Referenced by GetPin(). |
|
|
Definition at line 107 of file TheoraDecodeFilter.h. Referenced by NewSegment(), Receive(), TheoraDecodeFilter(), Transform(), and ~TheoraDecodeFilter(). |
|
|
Definition at line 92 of file TheoraDecodeFilter.h. |
|
|
Definition at line 95 of file TheoraDecodeFilter.h. Referenced by deleteBufferedPacketsAfter(), and Receive(). |
|
|
Definition at line 88 of file TheoraDecodeFilter.h. Referenced by ResetFrameCount(), and SetMediaType(). |
|
|
Definition at line 91 of file TheoraDecodeFilter.h. Referenced by SetMediaType(). |
|
|
Definition at line 87 of file TheoraDecodeFilter.h. Referenced by SetMediaType(), and TheoraDecoded(). |
|
|
Definition at line 85 of file TheoraDecodeFilter.h. Referenced by CheckTransform(), SetMediaType(), and TheoraDecoded(). |
|
|
Definition at line 104 of file TheoraDecodeFilter.h. |
|
|
Definition at line 101 of file TheoraDecodeFilter.h. Referenced by NewSegment(). |
|
|
Definition at line 103 of file TheoraDecodeFilter.h. |
|
|
Definition at line 100 of file TheoraDecodeFilter.h. Referenced by NewSegment(). |
|
|
Definition at line 99 of file TheoraDecodeFilter.h. Referenced by NewSegment(), and Receive(). |
|
|
Definition at line 93 of file TheoraDecodeFilter.h. Referenced by Receive(), TheoraDecodeInputPin::showHeaderPacket(), TheoraDecodeFilter(), and ~TheoraDecodeFilter(). |
|
|
Definition at line 106 of file TheoraDecodeFilter.h. Referenced by FillVideoInfoHeader(), TheoraDecodeInputPin::GetAllocatorRequirements(), SetMediaType(), setTheoraFormat(), and ~TheoraDecodeFilter(). |
|
|
Definition at line 86 of file TheoraDecodeFilter.h. Referenced by CheckTransform(), SetMediaType(), and TheoraDecoded(). |
|
|
Definition at line 90 of file TheoraDecodeFilter.h. Referenced by SetMediaType(), and TheoraDecoded(). |
|
|
Definition at line 89 of file TheoraDecodeFilter.h. Referenced by SetMediaType(). |
|
|
Definition at line 78 of file TheoraDecodeFilter.h. |
1.3.9