Logo Search packages:      
Sourcecode: lame version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends

CMpegAudEnc Class Reference

Collaboration diagram for CMpegAudEnc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

STDMETHODIMP ApplyChanges ()
HRESULT BeginFlush ()
HRESULT CheckInputType (const CMediaType *mtIn)
HRESULT CheckTransform (const CMediaType *mtIn, const CMediaType *mtOut)
HRESULT DecideBufferSize (IMemAllocator *pAllocator, ALLOCATOR_PROPERTIES *pprop)
STDMETHODIMP DefaultAudioEncoderProperties ()
HRESULT EndOfStream ()
STDMETHODIMP get_Bitrate (DWORD *dwBitrate)
STDMETHODIMP get_ChannelMode (DWORD *dwChannelMode)
STDMETHODIMP get_CopyrightFlag (DWORD *dwFlag)
STDMETHODIMP get_CRCFlag (DWORD *dwFlag)
STDMETHODIMP get_EnforceVBRmin (DWORD *dwFlag)
STDMETHODIMP get_ForceMono (DWORD *dwFlag)
STDMETHODIMP get_ForceMS (DWORD *dwFlag)
STDMETHODIMP get_KeepAllFreq (DWORD *dwFlag)
STDMETHODIMP get_ModeFixed (DWORD *dwModeFixed)
STDMETHODIMP get_MPEGLayer (DWORD *dwLayer)
STDMETHODIMP get_NoShortBlock (DWORD *dwNoShortBlock)
STDMETHODIMP get_OriginalFlag (DWORD *dwFlag)
STDMETHODIMP get_ParameterBlockSize (BYTE *pcBlock, DWORD *pdwSize)
STDMETHODIMP get_PESOutputEnabled (DWORD *dwEnabled)
STDMETHODIMP get_Quality (DWORD *dwQuality)
STDMETHODIMP get_SampleOverlap (DWORD *dwFlag)
STDMETHODIMP get_SampleRate (DWORD *dwSampleRate)
STDMETHODIMP get_SetDuration (DWORD *dwFlag)
STDMETHODIMP get_SourceChannels (DWORD *dwChannels)
STDMETHODIMP get_SourceSampleRate (DWORD *dwSampleRate)
STDMETHODIMP get_StrictISO (DWORD *dwFlag)
STDMETHODIMP get_Variable (DWORD *dwVariable)
STDMETHODIMP get_VariableMax (DWORD *dwMax)
STDMETHODIMP get_VariableMin (DWORD *dwMin)
STDMETHODIMP get_VariableQ (DWORD *dwVBRq)
STDMETHODIMP get_VoiceMode (DWORD *dwFlag)
STDMETHODIMP get_XingTag (DWORD *dwXingTag)
STDMETHODIMP GetClassID (CLSID *pClsid)
HRESULT GetMediaType (int iPosition, CMediaType *pMediaType)
STDMETHODIMP GetPages (CAUUID *pPages)
LPAMOVIESETUP_FILTER GetSetupData ()
STDMETHODIMP InputTypeDefined ()
STDMETHODIMP LoadAudioEncoderPropertiesFromRegistry ()
STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
HRESULT ReadFromStream (IStream *pStream)
HRESULT Receive (IMediaSample *pSample)
HRESULT Reconnect ()
STDMETHODIMP SaveAudioEncoderPropertiesToRegistry ()
STDMETHODIMP set_Bitrate (DWORD dwBitrate)
STDMETHODIMP set_ChannelMode (DWORD dwChannelMode)
STDMETHODIMP set_CopyrightFlag (DWORD dwFlag)
STDMETHODIMP set_CRCFlag (DWORD dwFlag)
STDMETHODIMP set_EnforceVBRmin (DWORD dwFlag)
STDMETHODIMP set_ForceMono (DWORD dwFlag)
STDMETHODIMP set_ForceMS (DWORD dwFlag)
STDMETHODIMP set_KeepAllFreq (DWORD dwFlag)
STDMETHODIMP set_ModeFixed (DWORD dwModeFixed)
STDMETHODIMP set_MPEGLayer (DWORD dwLayer)
STDMETHODIMP set_NoShortBlock (DWORD dwNoShortBlock)
STDMETHODIMP set_OriginalFlag (DWORD dwFlag)
STDMETHODIMP set_ParameterBlockSize (BYTE *pcBlock, DWORD dwSize)
STDMETHODIMP set_PESOutputEnabled (DWORD dwEnabled)
STDMETHODIMP set_Quality (DWORD dwQuality)
STDMETHODIMP set_SampleOverlap (DWORD dwFlag)
STDMETHODIMP set_SampleRate (DWORD dwSampleRate)
STDMETHODIMP set_SetDuration (DWORD dwFlag)
STDMETHODIMP set_StrictISO (DWORD dwFlag)
STDMETHODIMP set_Variable (DWORD dwVariable)
STDMETHODIMP set_VariableMax (DWORD dwMax)
STDMETHODIMP set_VariableMin (DWORD dwMin)
STDMETHODIMP set_VariableQ (DWORD dwVBRq)
STDMETHODIMP set_VoiceMode (DWORD dwFlag)
STDMETHODIMP set_XingTag (DWORD dwXingTag)
HRESULT SetMediaType (PIN_DIRECTION direction, const CMediaType *pmt)
int SizeMax ()
HRESULT StartStreaming ()
HRESULT StopStreaming ()
HRESULT WriteToStream (IStream *pStream)

Static Public Member Functions

static DECLARE_IUNKNOWN CUnknown * CreateInstance (LPUNKNOWN lpunk, HRESULT *phr)

Private Member Functions

 CMpegAudEnc (LPUNKNOWN lpunk, HRESULT *phr)
HRESULT FlushEncodedSamples ()
void LoadOutputCapabilities (DWORD sample_rate)
void ReadPresetSettings (MPEG_ENCODER_CONFIG *pmabsi)

Private Attributes

DWORD m_allowOverlap
BOOL m_bStreamOutput
int m_bytesPerSample
float m_bytesToDuration
int m_CapsNum
long m_cbStreamAlignment
CCritSec m_cs
int m_currentMediaTypeIndex
CEncoder m_Encoder
BOOL m_hasFinished
REFERENCE_TIME m_rtBytePos
REFERENCE_TIME m_rtEstimated
REFERENCE_TIME m_rtFrameTime
REFERENCE_TIME m_rtStreamTime
LONGLONG m_samplesIn
LONGLONG m_samplesOut
int m_samplesPerFrame
DWORD m_setDuration
resync_point_t m_sync [RESYNC_COUNT]
int m_sync_in_idx
int m_sync_out_idx
output_caps_t OutputCaps [MAX_IAMSTREAMCONFIG_CAPS]

Friends

class CMpegAudEncOutPin
class CMpegAudEncPropertyPage

Detailed Description

Definition at line 92 of file Mpegac.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index