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


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 STDMETHODIMP | ConvertTimeFormat (LONGLONG *pTarget, const GUID *pTargetFormat, LONGLONG Source, const GUID *pSourceFormat) |
| virtual STDMETHODIMP | EndFlush () |
| virtual STDMETHODIMP | EndOfStream (void) |
| virtual STDMETHODIMP | GetAvailable (LONGLONG *pEarliest, LONGLONG *pLatest) |
| virtual STDMETHODIMP | GetCapabilities (DWORD *pCapabilities) |
| 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 STDMETHODIMP | NewSegment (REFERENCE_TIME inStartTime, REFERENCE_TIME inStopTime, double inRate) |
| DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
| OggRawAudioInserterInputPin (AbstractTransformFilter *inFilter, CCritSec *inFilterLock, AbstractTransformOutputPin *inOutputPin, vector< CMediaType * > inAcceptableMediaTypes) | |
| virtual STDMETHODIMP | QueryPreferredFormat (GUID *pFormat) |
| virtual STDMETHODIMP | Receive (IMediaSample *pSample) |
| 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 | ~OggRawAudioInserterInputPin (void) |
Protected Types | |
| enum | eRawAudioFormat { FMT_S8, FMT_U8, FMT_S16_LE, FMT_S16_BE, FMT_S24_LE, FMT_S24_BE, FMT_S32_LE, FMT_S32_BE, FMT_ULAW = 0x10, FMT_ALAW, FMT_FLT32_LE = 0x20, FMT_FLT32_BE, FMT_FLT64_LE, FMT_FLT64_BE } |
Protected Member Functions | |
| virtual bool | ConstructCodec () |
| virtual void | DestroyCodec () |
| unsigned long | identifyFormat () |
| bool | makeCommentHeader (unsigned char **outBuff, unsigned long *outHeaderSize) |
| bool | makeMainHeader (unsigned char **outBuff, unsigned long *outHeaderSize) |
| HRESULT | sendPacket (unsigned char *inPacketData, unsigned long inNumBytes, bool inIsHeader) |
| 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 |
| unsigned long | mBytesPerPacket |
| unsigned long | mFrameByteWidth |
| unsigned long | mFramesPerPacket |
| HRESULT | mHR |
| unsigned long | mNumBufferedBytes |
| AbstractTransformOutputPin * | mOutputPin |
| AbstractTransformFilter * | mParentFilter |
| IMediaSeeking * | mSeekDelegate |
| DWORD | mSeekingCap |
| bool | mSentHeaders |
| CCritSec * | mStreamLock |
| __int64 | mUptoFrame |
| unsigned char * | mWorkingBuffer |
Static Protected Attributes | |
| const signed short | SINT_MAX = 32767 |
| const signed short | SINT_MIN = -32768 |
| const short | SIZE_16_BITS = 2 |
| const unsigned long | WORKING_BUFFER_SIZE = 1 <<20 |
Friends | |
| class | AbstractTransformOutputPin |
|
|
Definition at line 76 of file OggRawAudioInserterInputPin.h. |
|
||||||||||||||||||||
|
Definition at line 35 of file OggRawAudioInserterInputPin.cpp. References false, and mWorkingBuffer. |
|
|
Definition at line 50 of file OggRawAudioInserterInputPin.cpp. References DestroyCodec(). |
Here is the call graph for this function:

|
|
Reimplemented in FLACDecodeInputPin. Definition at line 149 of file AbstractTransformInputPin.cpp. References AbstractTransformOutputPin::DeliverBeginFlush(), AbstractTransformFilter::mOutputPin, and AbstractTransformInputPin::mParentFilter. Referenced by FLACDecodeInputPin::BeginFlush(). |
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 in FLACDecodeInputPin, SpeexDecodeInputPin, and VorbisDecodeInputPin. Definition at line 127 of file AbstractTransformInputPin.cpp. References AbstractTransformInputPin::mAcceptableMediaTypes. Referenced by VorbisDecodeInputPin::CheckMediaType(), SpeexDecodeInputPin::CheckMediaType(), and FLACDecodeInputPin::CheckMediaType(). |
|
|
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 251 of file OggRawAudioInserterInputPin.cpp. Referenced by SetMediaType(). |
|
||||||||||||||||||||
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 246 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Implements AbstractTransformInputPin. Definition at line 256 of file OggRawAudioInserterInputPin.cpp. Referenced by ~OggRawAudioInserterInputPin(). |
|
|
Reimplemented in FLACDecodeInputPin, SpeexDecodeInputPin, and VorbisDecodeInputPin. Definition at line 155 of file AbstractTransformInputPin.cpp. References AbstractTransformOutputPin::DeliverEndFlush(), AbstractTransformFilter::mOutputPin, and AbstractTransformInputPin::mParentFilter. Referenced by VorbisDecodeInputPin::EndFlush(), SpeexDecodeInputPin::EndFlush(), and FLACDecodeInputPin::EndFlush(). |
Here is the call graph for this function:

|
|
Reimplemented in FLACDecodeInputPin, and FLACEncodeInputPin. Definition at line 143 of file AbstractTransformInputPin.cpp. References AbstractTransformOutputPin::DeliverEndOfStream(), AbstractTransformFilter::mOutputPin, AbstractTransformInputPin::mParentFilter, and AbstractTransformInputPin::mStreamLock. Referenced by FLACEncodeInputPin::EndOfStream(), and FLACDecodeInputPin::EndOfStream(). |
Here is the call graph for this function:

|
||||||||||||
|
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. |
|
|
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. |
|
|
Definition at line 59 of file OggRawAudioInserterInputPin.cpp. Referenced by makeMainHeader(). |
|
|
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. |
|
||||||||||||
|
Definition at line 112 of file OggRawAudioInserterInputPin.cpp. References iLE_Math::ULongToCharArr(). Referenced by TransformData(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 70 of file OggRawAudioInserterInputPin.cpp. References identifyFormat(), mFramesPerPacket, and iBE_Math::ULongToCharArr(). Referenced by TransformData(). |
Here is the call graph for this function:

|
||||||||||||||||
|
Reimplemented in FLACDecodeInputPin, SpeexDecodeInputPin, and VorbisDecodeInputPin. Definition at line 162 of file AbstractTransformInputPin.cpp. References AbstractTransformOutputPin::DeliverNewSegment(), AbstractTransformFilter::mOutputPin, AbstractTransformInputPin::mParentFilter, and AbstractTransformInputPin::mStreamLock. Referenced by VorbisDecodeInputPin::NewSegment(), SpeexDecodeInputPin::NewSegment(), and FLACDecodeInputPin::NewSegment(). |
Here is the call graph for this function:

|
||||||||||||
|
Reimplemented in FLACDecodeInputPin, SpeexDecodeInputPin, and VorbisDecodeInputPin. Definition at line 49 of file AbstractTransformInputPin.cpp. Referenced by AbstractTransformOutputPin::CompleteConnect(), and VorbisDecodeInputPin::NonDelegatingQueryInterface(). |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 171 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in FLACDecodeInputPin, SpeexDecodeInputPin, and VorbisDecodeInputPin. Definition at line 100 of file AbstractTransformInputPin.cpp. References AbstractTransformInputPin::mStreamLock, and AbstractTransformInputPin::TransformData(). Referenced by SpeexEncodeInputPin::SpeexEncoded(), and VorbisEncodeInputPin::VorbisEncoded(). |
Here is the call graph for this function:

|
|
||||||||||||||||
|
Definition at line 190 of file OggRawAudioInserterInputPin.cpp. References AbstractTransformOutputPin::mDataQueue, mUptoFrame, and TRUE. Referenced by TransformData(). |
|
|
|
Implements AbstractTransformInputPin. Definition at line 263 of file OggRawAudioInserterInputPin.cpp. References ConstructCodec(), and mFramesPerPacket. |
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 AbstractTransformInputPin. Definition at line 137 of file OggRawAudioInserterInputPin.cpp. References makeCommentHeader(), makeMainHeader(), mBytesPerPacket, mFrameByteWidth, mFramesPerPacket, mNumBufferedBytes, mSentHeaders, mWorkingBuffer, and sendPacket(). |
Here is the call graph for this function:

|
|
Definition at line 57 of file AbstractTransformInputPin.h. |
|
|
Definition at line 103 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::CheckMediaType(), AbstractTransformInputPin::GetMediaType(), and AbstractTransformInputPin::~AbstractTransformInputPin(). |
|
|
Definition at line 102 of file OggRawAudioInserterInputPin.h. Referenced by TransformData(). |
|
|
Definition at line 98 of file OggRawAudioInserterInputPin.h. Referenced by TransformData(). |
|
|
Definition at line 101 of file OggRawAudioInserterInputPin.h. Referenced by makeMainHeader(), SetMediaType(), and TransformData(). |
|
|
Reimplemented from AbstractTransformInputPin. Definition at line 66 of file OggRawAudioInserterInputPin.h. |
|
|
Definition at line 97 of file OggRawAudioInserterInputPin.h. Referenced by TransformData(). |
|
|
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 77 of file BasicSeekPassThrough.h. Referenced by BasicSeekPassThrough::BasicSeekPassThrough(). |
|
|
Definition at line 104 of file OggRawAudioInserterInputPin.h. Referenced by TransformData(). |
|
|
Definition at line 106 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::AbstractTransformInputPin(), AbstractTransformInputPin::EndOfStream(), AbstractTransformInputPin::NewSegment(), and AbstractTransformInputPin::Receive(). |
|
|
Definition at line 74 of file OggRawAudioInserterInputPin.h. Referenced by sendPacket(). |
|
|
Definition at line 99 of file OggRawAudioInserterInputPin.h. Referenced by OggRawAudioInserterInputPin(), and TransformData(). |
|
|
Definition at line 88 of file AbstractTransformInputPin.h. |
|
|
Definition at line 89 of file AbstractTransformInputPin.h. |
|
|
Definition at line 87 of file AbstractTransformInputPin.h. |
|
|
Definition at line 59 of file OggRawAudioInserterInputPin.h. |
1.3.9