|
Public Member Functions |
| | TheoraEncodeInputPin (AbstractVideoEncodeFilter *inFilter, CCritSec *inFilterLock, AbstractVideoEncodeOutputPin *inOutputPin) |
| virtual | ~TheoraEncodeInputPin (void) |
| virtual long | encodeData (unsigned char *inBuf, long inNumBytes) |
| virtual bool | ConstructCodec () |
| virtual void | DestroyCodec () |
| virtual HRESULT | SetMediaType (const CMediaType *inMediaType) |
| theora_info * | theoraInfo () |
| DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
| virtual HRESULT | CompleteConnect (IPin *inReceivePin) |
| STDMETHODIMP | Receive (IMediaSample *pSample) |
| virtual HRESULT | CheckMediaType (const CMediaType *inMediaType) |
| virtual HRESULT | GetMediaType (int inPosition, CMediaType *outMediaType) |
| virtual void | ResetFrameCount () |
| virtual STDMETHODIMP | EndOfStream (void) |
| virtual STDMETHODIMP | BeginFlush () |
| virtual STDMETHODIMP | EndFlush () |
| virtual STDMETHODIMP | NewSegment (REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate) |
| 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) |
Static Public Attributes |
| const short | SIZE_16_BITS = 2 |
| const unsigned long | HUNDRED_NANOS = 10000000 |
| const signed short | SINT_MAX = 32767 |
| const signed short | SINT_MIN = -32768 |
Protected Member Functions |
| 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 |
| bool | mBegun |
| AbstractVideoEncodeOutputPin * | mOutputPin |
| __int64 | mUptoFrame |
| AbstractVideoEncodeFilter * | mParentFilter |
| CMediaType | mPinInputType |
| VIDEOINFOHEADER * | mVideoFormat |
| long | mHeight |
| long | mWidth |
| IMediaSeeking * | mSeekDelegate |
| DWORD | mSeekingCap |