#include <FLACDecodeInputPin.h>
Inheritance diagram for FLACDecodeInputPin:


Public Types | |
| enum | eAcceptHeaderResult { AHR_ALL_HEADERS_RECEIVED, AHR_MORE_HEADERS_TO_COME, AHR_INVALID_HEADER, AHR_UNEXPECTED, AHR_NULL_POINTER } |
Public Member Functions | |
| virtual STDMETHODIMP | BeginFlush () |
| virtual HRESULT | BreakConnect () |
| virtual STDMETHODIMP | CheckCapabilities (DWORD *pCapabilities) |
| virtual HRESULT | CheckMediaType (const CMediaType *inMediaType) |
| virtual HRESULT | CompleteConnect (IPin *inReceivePin) |
| virtual LOOG_INT64 | convertGranuleToTime (LOOG_INT64 inGranule) |
| virtual STDMETHODIMP | ConvertTimeFormat (LONGLONG *pTarget, const GUID *pTargetFormat, LONGLONG Source, const GUID *pSourceFormat) |
| virtual STDMETHODIMP | EndFlush () |
| virtual STDMETHODIMP | EndOfStream (void) |
| FLACDecodeInputPin (AbstractTransformFilter *inFilter, CCritSec *inFilterLock, AbstractTransformOutputPin *inOutputPin, vector< CMediaType * > inAcceptableMediaTypes) | |
| virtual STDMETHODIMP | GetAllocatorRequirements (ALLOCATOR_PROPERTIES *outRequestedProps) |
| virtual STDMETHODIMP | GetAvailable (LONGLONG *pEarliest, LONGLONG *pLatest) |
| virtual STDMETHODIMP | GetCapabilities (DWORD *pCapabilities) |
| virtual string | getCodecIdentString () |
| virtual string | getCodecShortName () |
| virtual STDMETHODIMP | GetCurrentPosition (LONGLONG *pCurrent) |
| virtual STDMETHODIMP | GetDuration (LONGLONG *pDuration) |
| virtual HRESULT | GetMediaType (int inPosition, CMediaType *outMediaType) |
| virtual STDMETHODIMP | GetPositions (LONGLONG *pCurrent, LONGLONG *pStop) |
| virtual STDMETHODIMP | GetPreroll (LONGLONG *pllPreroll) |
| virtual STDMETHODIMP | GetRate (double *dRate) |
| virtual STDMETHODIMP | GetStopPosition (LONGLONG *pStop) |
| virtual STDMETHODIMP | GetTimeFormat (GUID *pFormat) |
| virtual STDMETHODIMP | IsFormatSupported (const GUID *pFormat) |
| virtual STDMETHODIMP | IsUsingTimeFormat (const GUID *pFormat) |
| virtual LOOG_INT64 | mustSeekBefore (LOOG_INT64 inGranule) |
| virtual STDMETHODIMP | NewSegment (REFERENCE_TIME inStartTime, REFERENCE_TIME inStopTime, double inRate) |
| DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
| virtual STDMETHODIMP | QueryPreferredFormat (GUID *pFormat) |
| virtual STDMETHODIMP | Receive (IMediaSample *inSample) |
| bool | ReleaseDelegate () |
| bool | SetDelegate (IMediaSeeking *inDelegate) |
| virtual HRESULT | SetMediaType (const CMediaType *inMediaType) |
| virtual STDMETHODIMP | SetPositions (LONGLONG *pCurrent, DWORD dwCurrentFlags, LONGLONG *pStop, DWORD dwStopFlags) |
| virtual STDMETHODIMP | SetRate (double dRate) |
| virtual STDMETHODIMP | SetTimeFormat (const GUID *pFormat) |
| virtual IOggDecoder::eAcceptHeaderResult | showHeaderPacket (OggPacket *inCodecHeaderPacket) |
| virtual | ~FLACDecodeInputPin (void) |
Protected Types | |
| enum | eFLACSetupState { VSS_SEEN_NOTHING, VSS_SEEN_BOS, VSS_SEEN_COMMENT, VSS_ALL_HEADERS_SEEN, VSS_ERROR } |
| enum | eFLACType { FT_UNKNOWN, FT_CLASSIC, FT_OGG_FLAC_1 } |
Protected Member Functions | |
| virtual bool | ConstructCodec () |
| virtual void | DestroyCodec () |
| virtual bool | SetSampleParams (IMediaSample *outMediaSample, unsigned long inDataSize, REFERENCE_TIME *inStartTime, REFERENCE_TIME *inEndTime) |
| virtual HRESULT | TransformData (unsigned char *inBuf, long inNumBytes) |
Protected Attributes | |
| vector< CMediaType * > | mAcceptableMediaTypes |
| CCritSec * | mCodecLock |
| unsigned char * | mDecodedBuffer |
| unsigned long | mDecodedByteCount |
| FLACPushDecoder | mFLACDecoder |
| eFLACType | mFLACType |
| bool | mGotMetaData |
| HRESULT | mHR |
| OggPacket * | mMetadataPacket |
| AbstractTransformOutputPin * | mOutputPin |
| AbstractTransformFilter * | mParentFilter |
| __int64 | mRateNumerator |
| IMediaSeeking * | mSeekDelegate |
| DWORD | mSeekingCap |
| eFLACSetupState | mSetupState |
| CCritSec * | mStreamLock |
| unsigned long | mUptoFrame |
Static Protected Attributes | |
| const unsigned long | DECODED_BUFFER_SIZE = 1<<20 |
| const unsigned long | FLAC_BUFFER_SIZE = 65536 |
| const unsigned long | FLAC_NUM_BUFFERS = 75 |
| const __int64 | RATE_DENOMINATOR = 65536 |
| const signed short | SINT_MAX = 32767 |
| const signed short | SINT_MIN = -32768 |
| const short | SIZE_16_BITS = 2 |
Friends | |
| class | AbstractTransformOutputPin |
|
|
Definition at line 20 of file IOggDecoder.h. |
|
|
Definition at line 111 of file FLACDecodeInputPin.h. |
|
|
Definition at line 103 of file FLACDecodeInputPin.h. |
|
||||||||||||||||||||
|
Definition at line 35 of file FLACDecodeInputPin.cpp. References ConstructCodec(), false, mCodecLock, and mDecodedBuffer. |
Here is the call graph for this function:

|
|
Definition at line 56 of file FLACDecodeInputPin.cpp. |
|
|
Reimplemented from AbstractTransformInputPin. Definition at line 265 of file FLACDecodeInputPin.cpp. References AbstractTransformInputPin::BeginFlush(), FLACPushDecoder::flushCodec(), mCodecLock, and mFLACDecoder. |
Here is the call graph for this function:

|
|
Definition at line 61 of file AbstractTransformInputPin.cpp. References BasicSeekPassThrough::ReleaseDelegate(). |
Here is the call graph for this function:

|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 125 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented from AbstractTransformInputPin. Definition at line 307 of file FLACDecodeInputPin.cpp. References AbstractTransformInputPin::CheckMediaType(). Referenced by SetMediaType(). |
Here is the call graph for this function:

|
|
Reimplemented in VorbisDecodeInputPin. Definition at line 68 of file AbstractTransformInputPin.cpp. References BasicSeekPassThrough::SetDelegate(). Referenced by VorbisDecodeInputPin::CompleteConnect(). |
Here is the call graph for this function:

|
|
Implements AbstractTransformInputPin. Definition at line 80 of file FLACDecodeInputPin.cpp. References FLACPushDecoder::initCodec(), and mFLACDecoder. Referenced by FLACDecodeInputPin(). |
Here is the call graph for this function:

|
|
Implements IOggDecoder. Definition at line 352 of file FLACDecodeInputPin.cpp. References LOOG_INT64. Referenced by Receive(). |
|
||||||||||||||||||||
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 246 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Implements AbstractTransformInputPin. Definition at line 86 of file FLACDecodeInputPin.cpp. |
|
|
Reimplemented from AbstractTransformInputPin. Definition at line 279 of file FLACDecodeInputPin.cpp. References AbstractTransformInputPin::EndFlush(). |
Here is the call graph for this function:

|
|
Reimplemented from AbstractTransformInputPin. Definition at line 288 of file FLACDecodeInputPin.cpp. References AbstractTransformInputPin::EndOfStream(), FLACPushDecoder::flushCodec(), mCodecLock, and mFLACDecoder. |
Here is the call graph for this function:

|
|
Definition at line 298 of file FLACDecodeInputPin.cpp. |
|
||||||||||||
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 285 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 97 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Implements IOggDecoder. Definition at line 446 of file FLACDecodeInputPin.cpp. |
|
|
Implements IOggDecoder. Definition at line 442 of file FLACDecodeInputPin.cpp. |
|
|
Reimplemented in OggDemuxSourceFilter, OggDemuxPacketSourceFilter, and OggMuxFilter. Definition at line 234 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 211 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
||||||||||||
|
Definition at line 170 of file AbstractTransformInputPin.cpp. References AbstractTransformInputPin::mAcceptableMediaTypes. |
|
||||||||||||
|
Reimplemented in OggDemuxSourceFilter, OggDemuxPacketSourceFilter, and OggMuxFilter. Definition at line 274 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. Referenced by OggMuxFilter::GetPositions(). |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 316 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 306 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 223 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 201 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 150 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 326 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Implements IOggDecoder. Definition at line 359 of file FLACDecodeInputPin.cpp. References LOOG_INT64. |
|
||||||||||||||||
|
Reimplemented from AbstractTransformInputPin. Definition at line 90 of file FLACDecodeInputPin.cpp. References mUptoFrame, and AbstractTransformInputPin::NewSegment(). |
Here is the call graph for this function:

|
||||||||||||
|
Reimplemented from AbstractTransformInputPin. Definition at line 65 of file FLACDecodeInputPin.cpp. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 171 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented from AbstractTransformInputPin. Definition at line 101 of file FLACDecodeInputPin.cpp. References convertGranuleToTime(), FLACPushDecoder::frameSize(), mDecodedBuffer, mDecodedByteCount, mFLACDecoder, FLACPushDecoder::sampleRate(), TransformData(), and TRUE. |
Here is the call graph for this function:

|
|
|
|
Implements AbstractTransformInputPin. Definition at line 325 of file FLACDecodeInputPin.cpp. References CheckMediaType(), and mFLACType. |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 257 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 295 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
||||||||||||||||||||
|
Definition at line 88 of file AbstractTransformInputPin.cpp. Referenced by TheoraEncodeInputPin::deliverData(), SpeexEncodeInputPin::SpeexEncoded(), VorbisEncodeInputPin::VorbisEncoded(), and FLACEncodeInputPin::write_callback(). |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 189 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Implements IOggDecoder. Definition at line 364 of file FLACDecodeInputPin.cpp. References FLACPushDecoder::acceptMetadata(), OggPacket::clone(), FT_CLASSIC, FT_OGG_FLAC_1, OggPacket::merge(), mFLACDecoder, mMetadataPacket, mSetupState, OggPacket::packetData(), OggPacket::packetSize(), VSS_SEEN_BOS, and VSS_SEEN_NOTHING. |
Here is the call graph for this function:

|
||||||||||||
|
Implements AbstractTransformInputPin. Referenced by Receive(). |
|
|
Definition at line 57 of file AbstractTransformInputPin.h. |
|
|
Definition at line 85 of file FLACDecodeInputPin.h. |
|
|
Definition at line 88 of file FLACDecodeInputPin.h. |
|
|
Definition at line 87 of file FLACDecodeInputPin.h. |
|
|
Definition at line 103 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::CheckMediaType(), AbstractTransformInputPin::GetMediaType(), and AbstractTransformInputPin::~AbstractTransformInputPin(). |
|
|
Definition at line 98 of file FLACDecodeInputPin.h. Referenced by BeginFlush(), EndOfStream(), and FLACDecodeInputPin(). |
|
|
Definition at line 122 of file FLACDecodeInputPin.h. Referenced by FLACDecodeInputPin(), and Receive(). |
|
|
Definition at line 121 of file FLACDecodeInputPin.h. Referenced by Receive(). |
|
|
Definition at line 97 of file FLACDecodeInputPin.h. Referenced by BeginFlush(), ConstructCodec(), EndOfStream(), Receive(), and showHeaderPacket(). |
|
|
Definition at line 109 of file FLACDecodeInputPin.h. Referenced by SetMediaType(). |
|
|
Definition at line 96 of file FLACDecodeInputPin.h. |
|
|
Reimplemented from BasicSeekPassThrough. Reimplemented in FLACEncodeInputPin, OggRawAudioInserterInputPin, SpeexEncodeInputPin, TheoraEncodeInputPin, VorbisDecodeInputPin, and VorbisEncodeInputPin. Definition at line 98 of file AbstractTransformInputPin.h. |
|
|
Definition at line 101 of file FLACDecodeInputPin.h. Referenced by showHeaderPacket(). |
|
|
Definition at line 101 of file AbstractTransformInputPin.h. Referenced by SpeexEncodeInputPin::SpeexEncoded(), and VorbisEncodeInputPin::VorbisEncoded(). |
|
|
Definition at line 102 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::BeginFlush(), AbstractTransformInputPin::EndFlush(), AbstractTransformInputPin::EndOfStream(), and AbstractTransformInputPin::NewSegment(). |
|
|
Definition at line 124 of file FLACDecodeInputPin.h. |
|
|
|
Definition at line 77 of file BasicSeekPassThrough.h. Referenced by BasicSeekPassThrough::BasicSeekPassThrough(). |
|
|
Definition at line 119 of file FLACDecodeInputPin.h. Referenced by showHeaderPacket(). |
|
|
Definition at line 106 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::AbstractTransformInputPin(), AbstractTransformInputPin::EndOfStream(), AbstractTransformInputPin::NewSegment(), and AbstractTransformInputPin::Receive(). |
|
|
Definition at line 99 of file FLACDecodeInputPin.h. Referenced by NewSegment(). |
|
|
Definition at line 125 of file FLACDecodeInputPin.h. |
|
|
Definition at line 88 of file AbstractTransformInputPin.h. |
|
|
Definition at line 89 of file AbstractTransformInputPin.h. |
|
|
Definition at line 87 of file AbstractTransformInputPin.h. |
1.3.9