#include <TheoraEncodeInputPin.h>
Inheritance diagram for TheoraEncodeInputPin:
Public Member Functions | |
TheoraEncodeInputPin (AbstractTransformFilter *inParentFilter, CCritSec *inFilterLock, AbstractTransformOutputPin *inOutputPin, vector< CMediaType * > inAcceptableMediaTypes) | |
virtual | ~TheoraEncodeInputPin (void) |
virtual HRESULT | SetMediaType (const CMediaType *inMediaType) |
theora_info * | theoraInfo () |
DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
virtual HRESULT | BreakConnect () |
virtual HRESULT | CompleteConnect (IPin *inReceivePin) |
virtual HRESULT | CheckMediaType (const CMediaType *inMediaType) |
virtual HRESULT | GetMediaType (int inPosition, CMediaType *outMediaType) |
virtual STDMETHODIMP | Receive (IMediaSample *pSample) |
virtual STDMETHODIMP | EndOfStream (void) |
virtual STDMETHODIMP | BeginFlush () |
virtual STDMETHODIMP | EndFlush () |
virtual STDMETHODIMP | NewSegment (REFERENCE_TIME inStartTime, REFERENCE_TIME inStopTime, double inRate) |
bool | SetDelegate (IMediaSeeking *inDelegate) |
bool | ReleaseDelegate () |
virtual STDMETHODIMP | GetCapabilities (DWORD *pCapabilities) |
virtual STDMETHODIMP | CheckCapabilities (DWORD *pCapabilities) |
virtual STDMETHODIMP | IsFormatSupported (const GUID *pFormat) |
virtual STDMETHODIMP | QueryPreferredFormat (GUID *pFormat) |
virtual STDMETHODIMP | SetTimeFormat (const GUID *pFormat) |
virtual STDMETHODIMP | GetTimeFormat (GUID *pFormat) |
virtual STDMETHODIMP | GetDuration (LONGLONG *pDuration) |
virtual STDMETHODIMP | GetStopPosition (LONGLONG *pStop) |
virtual STDMETHODIMP | GetCurrentPosition (LONGLONG *pCurrent) |
virtual STDMETHODIMP | ConvertTimeFormat (LONGLONG *pTarget, const GUID *pTargetFormat, LONGLONG Source, const GUID *pSourceFormat) |
virtual STDMETHODIMP | SetPositions (LONGLONG *pCurrent, DWORD dwCurrentFlags, LONGLONG *pStop, DWORD dwStopFlags) |
virtual STDMETHODIMP | GetPositions (LONGLONG *pCurrent, LONGLONG *pStop) |
virtual STDMETHODIMP | GetAvailable (LONGLONG *pEarliest, LONGLONG *pLatest) |
virtual STDMETHODIMP | SetRate (double dRate) |
virtual STDMETHODIMP | GetRate (double *dRate) |
virtual STDMETHODIMP | GetPreroll (LONGLONG *pllPreroll) |
virtual STDMETHODIMP | IsUsingTimeFormat (const GUID *pFormat) |
Protected Member Functions | |
virtual long | TransformData (unsigned char *inBuf, long inNumBytes) |
virtual bool | ConstructCodec () |
virtual void | DestroyCodec () |
HRESULT | deliverData (LONGLONG inStart, LONGLONG inEnd, unsigned char *inBuf, unsigned long inNumBytes) |
long | encodeYV12ToYV12 (unsigned char *inBuf, long inNumBytes) |
long | encodeYUY2ToYV12 (unsigned char *inBuf, long inNumBytes) |
long | encodeAYUVtoYV12 (unsigned char *inBuf, long inNumBytes) |
long | encodeRGB24toYV12 (unsigned char *inBuf, long inNumBytes) |
long | encodeRGB32toYV12 (unsigned char *inBuf, long inNumBytes) |
long | encodeUYVYToYV12 (unsigned char *inBuf, long inNumBytes) |
long | encodeYVYUToYV12 (unsigned char *inBuf, long inNumBytes) |
long | encodeIYUVToYV12 (unsigned char *inBuf, long inNumBytes) |
virtual bool | SetSampleParams (IMediaSample *outMediaSample, unsigned long inDataSize, REFERENCE_TIME *inStartTime, REFERENCE_TIME *inEndTime) |
Protected Attributes | |
HRESULT | mHR |
TheoraEncoder | mTheoraEncoder |
theora_info | mTheoraInfo |
yuv_buffer | mYUV |
unsigned long | mXOffset |
unsigned long | mYOffset |
unsigned long | mHeight |
unsigned long | mWidth |
unsigned __int64 | mUptoFrame |
CMediaType | mPinInputType |
VIDEOINFOHEADER * | mVideoFormat |
bool | mBegun |
AbstractTransformOutputPin * | mOutputPin |
AbstractTransformFilter * | mParentFilter |
vector< CMediaType * > | mAcceptableMediaTypes |
CCritSec * | mStreamLock |
IMediaSeeking * | mSeekDelegate |
DWORD | mSeekingCap |
Static Protected Attributes | |
const short | SIZE_16_BITS = 2 |
const signed short | SINT_MAX = 32767 |
const signed short | SINT_MIN = -32768 |
Friends | |
class | AbstractTransformOutputPin |
|
Definition at line 35 of file TheoraEncodeInputPin.cpp. References false, mYUV, yuv_buffer::u, yuv_buffer::v, and yuv_buffer::y. |
|
Definition at line 54 of file TheoraEncodeInputPin.cpp. References DestroyCodec(), mYUV, yuv_buffer::u, yuv_buffer::v, and yuv_buffer::y. |
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. Definition at line 125 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 127 of file AbstractTransformInputPin.cpp. References AbstractTransformInputPin::mAcceptableMediaTypes. |
|
Definition at line 68 of file AbstractTransformInputPin.cpp. References BasicSeekPassThrough::SetDelegate(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Reimplemented in OggDemuxSourceFilter. Definition at line 246 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 65 of file TheoraEncodeInputPin.cpp. References AbstractTransformOutputPin::mDataQueue, and AbstractTransformInputPin::SetSampleParams(). Referenced by TransformData(). |
Here is the call graph for this function:
|
Implements AbstractTransformInputPin. Definition at line 1381 of file TheoraEncodeInputPin.cpp. Referenced by ~TheoraEncodeInputPin(). |
|
Definition at line 821 of file TheoraEncodeInputPin.cpp. References mHeight, mWidth, mXOffset, mYUV, yuv_buffer::u, yuv_buffer::v, yuv_buffer::y, and yuv_buffer::y_stride. Referenced by encodeRGB24toYV12(), encodeRGB32toYV12(), and TransformData(). |
|
Definition at line 336 of file TheoraEncodeInputPin.cpp. References mHeight, mWidth, mXOffset, mYOffset, mYUV, yuv_buffer::u, yuv_buffer::uv_width, yuv_buffer::v, yuv_buffer::y, and yuv_buffer::y_width. Referenced by TransformData(). |
|
Definition at line 550 of file TheoraEncodeInputPin.cpp. References CLIP3, encodeAYUVtoYV12(), and mWidth. Referenced by TransformData(). |
Here is the call graph for this function:
|
Definition at line 711 of file TheoraEncodeInputPin.cpp. References CLIP3, encodeAYUVtoYV12(), and mWidth. Referenced by TransformData(). |
Here is the call graph for this function:
|
Definition at line 1123 of file TheoraEncodeInputPin.cpp. References mHeight, mWidth, mYUV, yuv_buffer::u, yuv_buffer::v, and yuv_buffer::y. Referenced by TransformData(). |
|
Definition at line 1016 of file TheoraEncodeInputPin.cpp. References mHeight, mWidth, mYUV, yuv_buffer::u, yuv_buffer::v, and yuv_buffer::y. Referenced by TransformData(). |
|
Definition at line 107 of file TheoraEncodeInputPin.cpp. References mHeight, mWidth, mXOffset, mYOffset, mYUV, yuv_buffer::u, yuv_buffer::uv_width, yuv_buffer::v, yuv_buffer::y, and yuv_buffer::y_width. Referenced by TransformData(). |
|
Definition at line 1078 of file TheoraEncodeInputPin.cpp. References mHeight, mWidth, mYUV, yuv_buffer::u, yuv_buffer::v, and yuv_buffer::y. Referenced by TransformData(). |
|
Definition at line 155 of file AbstractTransformInputPin.cpp. References AbstractTransformOutputPin::DeliverEndFlush(), AbstractTransformFilter::mOutputPin, and AbstractTransformInputPin::mParentFilter. |
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. Definition at line 285 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 97 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter, and OggMuxFilter. Definition at line 234 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. 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, and OggMuxFilter. Definition at line 274 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. Referenced by OggMuxFilter::GetPositions(). |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 316 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 306 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 223 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 201 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 150 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 326 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
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. Definition at line 171 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 100 of file AbstractTransformInputPin.cpp. References AbstractTransformInputPin::mStreamLock, and AbstractTransformInputPin::TransformData(). Referenced by SpeexDecodeInputPin::SpeexDecoded(), SpeexEncodeInputPin::SpeexEncoded(), VorbisDecodeInputPin::VorbisDecoded(), and VorbisEncodeInputPin::VorbisEncoded(). |
Here is the call graph for this function:
|
|
|
Implements AbstractTransformInputPin. Definition at line 1388 of file TheoraEncodeInputPin.cpp. References ConstructCodec(), mPinInputType, and mVideoFormat. |
Here is the call graph for this function:
|
Reimplemented in OggDemuxSourceFilter. Definition at line 257 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 295 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 88 of file AbstractTransformInputPin.cpp. Referenced by deliverData(), SpeexDecodeInputPin::SpeexDecoded(), SpeexEncodeInputPin::SpeexEncoded(), VorbisDecodeInputPin::VorbisDecoded(), VorbisEncodeInputPin::VorbisEncoded(), and FLACEncodeInputPin::write_callback(). |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 189 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 1413 of file TheoraEncodeInputPin.cpp. |
|
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 107 of file TheoraEncodeInputPin.h. Referenced by TransformData(). |
|
Definition at line 99 of file TheoraEncodeInputPin.h. Referenced by ConstructCodec(), encodeAYUVtoYV12(), encodeIYUVToYV12(), encodeUYVYToYV12(), encodeYUY2ToYV12(), encodeYV12ToYV12(), and encodeYVYUToYV12(). |
|
Reimplemented from AbstractTransformInputPin. Definition at line 73 of file TheoraEncodeInputPin.h. |
|
Definition at line 101 of file AbstractTransformInputPin.h. Referenced by SpeexDecodeInputPin::SpeexDecoded(), SpeexEncodeInputPin::SpeexEncoded(), VorbisDecodeInputPin::VorbisDecoded(), 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 104 of file TheoraEncodeInputPin.h. Referenced by SetMediaType(), and TransformData(). |
|
|
Definition at line 77 of file BasicSeekPassThrough.h. Referenced by BasicSeekPassThrough::BasicSeekPassThrough(). |
|
Definition at line 106 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::AbstractTransformInputPin(), AbstractTransformInputPin::EndOfStream(), AbstractTransformInputPin::NewSegment(), and AbstractTransformInputPin::Receive(). |
|
Definition at line 92 of file TheoraEncodeInputPin.h. Referenced by TransformData(). |
|
Definition at line 93 of file TheoraEncodeInputPin.h. Referenced by ConstructCodec(), and TransformData(). |
|
Definition at line 102 of file TheoraEncodeInputPin.h. Referenced by TransformData(). |
|
Definition at line 105 of file TheoraEncodeInputPin.h. Referenced by ConstructCodec(), and SetMediaType(). |
|
Definition at line 100 of file TheoraEncodeInputPin.h. Referenced by ConstructCodec(), encodeAYUVtoYV12(), encodeIYUVToYV12(), encodeRGB24toYV12(), encodeRGB32toYV12(), encodeUYVYToYV12(), encodeYUY2ToYV12(), encodeYV12ToYV12(), and encodeYVYUToYV12(). |
|
Definition at line 96 of file TheoraEncodeInputPin.h. Referenced by ConstructCodec(), encodeAYUVtoYV12(), encodeIYUVToYV12(), and encodeYV12ToYV12(). |
|
Definition at line 97 of file TheoraEncodeInputPin.h. Referenced by ConstructCodec(), encodeIYUVToYV12(), and encodeYV12ToYV12(). |
|
Definition at line 94 of file TheoraEncodeInputPin.h. Referenced by ConstructCodec(), encodeAYUVtoYV12(), encodeIYUVToYV12(), encodeUYVYToYV12(), encodeYUY2ToYV12(), encodeYV12ToYV12(), encodeYVYUToYV12(), TheoraEncodeInputPin(), TransformData(), and ~TheoraEncodeInputPin(). |
|
Definition at line 88 of file AbstractTransformInputPin.h. |
|
Definition at line 89 of file AbstractTransformInputPin.h. |
|
Definition at line 87 of file AbstractTransformInputPin.h. |