#include <DiracEncodeInputPin.h>
Inheritance diagram for DiracEncodeInputPin:
Public Member Functions | |
DiracEncodeInputPin (AbstractVideoEncodeFilter *inFilter, CCritSec *inFilterLock, AbstractVideoEncodeOutputPin *inOutputPin) | |
virtual | ~DiracEncodeInputPin (void) |
virtual long | encodeData (unsigned char *inBuf, long inNumBytes) |
virtual bool | ConstructCodec () |
virtual void | DestroyCodec () |
virtual HRESULT | SetMediaType (const CMediaType *inMediaType) |
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) |
virtual bool | SetSampleParams (IMediaSample *outMediaSample, unsigned long inDataSize, REFERENCE_TIME *inStartTime, REFERENCE_TIME *inEndTime) |
Protected Attributes | |
HRESULT | mHR |
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 |
|
Definition at line 35 of file DiracEncodeInputPin.cpp. |
|
Definition at line 47 of file DiracEncodeInputPin.cpp. References DestroyCodec(). |
Here is the call graph for this function:
|
Definition at line 149 of file AbstractVideoEncodeInputPin.cpp. References AbstractVideoEncodeOutputPin::DeliverBeginFlush(), AbstractVideoEncodeFilter::mOutputPin, and AbstractVideoEncodeInputPin::mParentFilter. |
Here is the call graph for this function:
|
Definition at line 91 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 123 of file AbstractVideoEncodeInputPin.cpp. |
|
Definition at line 85 of file AbstractVideoEncodeInputPin.cpp. References BasicSeekable::SetDelegate(). |
Here is the call graph for this function:
|
Implements AbstractVideoEncodeInputPin. Definition at line 391 of file DiracEncodeInputPin.cpp. Referenced by SetMediaType(). |
|
Definition at line 212 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 56 of file DiracEncodeInputPin.cpp. References AbstractVideoEncodeOutputPin::mDataQueue, and AbstractVideoEncodeInputPin::SetSampleParams(). |
Here is the call graph for this function:
|
Implements AbstractVideoEncodeInputPin. Definition at line 514 of file DiracEncodeInputPin.cpp. Referenced by ~DiracEncodeInputPin(). |
|
Implements AbstractVideoEncodeInputPin. Definition at line 306 of file DiracEncodeInputPin.cpp. References encodeYV12ToYV12(). |
Here is the call graph for this function:
|
Definition at line 98 of file DiracEncodeInputPin.cpp. Referenced by encodeData(). |
|
Definition at line 154 of file AbstractVideoEncodeInputPin.cpp. References AbstractVideoEncodeOutputPin::DeliverEndFlush(), AbstractVideoEncodeFilter::mOutputPin, and AbstractVideoEncodeInputPin::mParentFilter. |
Here is the call graph for this function:
|
Definition at line 145 of file AbstractVideoEncodeInputPin.cpp. References AbstractVideoEncodeOutputPin::DeliverEndOfStream(), AbstractVideoEncodeFilter::mOutputPin, and AbstractVideoEncodeInputPin::mParentFilter. |
Here is the call graph for this function:
|
Definition at line 251 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 63 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 200 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 177 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 188 of file AbstractVideoEncodeInputPin.cpp. |
|
Definition at line 240 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 282 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 272 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 189 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 167 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 116 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 292 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 161 of file AbstractVideoEncodeInputPin.cpp. References AbstractVideoEncodeOutputPin::DeliverNewSegment(), AbstractVideoEncodeFilter::mOutputPin, and AbstractVideoEncodeInputPin::mParentFilter. |
Here is the call graph for this function:
|
Definition at line 60 of file AbstractVideoEncodeInputPin.cpp. Referenced by AbstractVideoEncodeInputPin::AbstractVideoEncodeInputPin(). |
|
Definition at line 137 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 94 of file AbstractVideoEncodeInputPin.cpp. References AbstractVideoEncodeInputPin::encodeData(). |
Here is the call graph for this function:
|
|
Definition at line 70 of file AbstractVideoEncodeInputPin.cpp. References AbstractVideoEncodeInputPin::mUptoFrame. Referenced by AbstractVideoEncodeFilter::Stop(). |
|
|
Reimplemented from AbstractVideoEncodeInputPin. Definition at line 521 of file DiracEncodeInputPin.cpp. References ConstructCodec(), and AbstractVideoEncodeInputPin::SetMediaType(). |
Here is the call graph for this function:
|
Definition at line 223 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 261 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 74 of file AbstractVideoEncodeInputPin.cpp. Referenced by deliverData(). |
|
Definition at line 155 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 48 of file AbstractVideoEncodeInputPin.h. |
|
Definition at line 81 of file AbstractVideoEncodeInputPin.h. |
|
Definition at line 93 of file AbstractVideoEncodeInputPin.h. |
|
Reimplemented from AbstractVideoEncodeInputPin. Definition at line 67 of file DiracEncodeInputPin.h. |
|
Definition at line 82 of file AbstractVideoEncodeInputPin.h. Referenced by AbstractVideoEncodeInputPin::AbstractVideoEncodeInputPin(). |
|
Definition at line 84 of file AbstractVideoEncodeInputPin.h. Referenced by AbstractVideoEncodeInputPin::BeginFlush(), AbstractVideoEncodeInputPin::EndFlush(), AbstractVideoEncodeInputPin::EndOfStream(), and AbstractVideoEncodeInputPin::NewSegment(). |
|
Definition at line 85 of file AbstractVideoEncodeInputPin.h. Referenced by AbstractVideoEncodeInputPin::SetMediaType(). |
|
|
Definition at line 47 of file BasicSeekable.h. Referenced by BasicSeekable::BasicSeekable(). |
|
Definition at line 83 of file AbstractVideoEncodeInputPin.h. Referenced by AbstractVideoEncodeInputPin::ResetFrameCount(). |
|
Definition at line 92 of file AbstractVideoEncodeInputPin.h. Referenced by AbstractVideoEncodeInputPin::SetMediaType(). |
|
Definition at line 94 of file AbstractVideoEncodeInputPin.h. |
|
Definition at line 90 of file DiracEncodeInputPin.h. |
|
Definition at line 91 of file DiracEncodeInputPin.h. |
|
Definition at line 49 of file AbstractVideoEncodeInputPin.h. |
|
Definition at line 50 of file AbstractVideoEncodeInputPin.h. |
|
Definition at line 47 of file AbstractVideoEncodeInputPin.h. |