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

Public Member Functions | Protected Member Functions | Protected Attributes

CEncoder Class Reference

Collaboration diagram for CEncoder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

HRESULT Close (IStream *pStream)
int Encode (const short *pdata, int data_size)
HRESULT Finish ()
int GetBlockAligned (const unsigned char **pblock, int *piBufferSize, const long &cbAlign)
int GetFrame (const unsigned char **pframe)
HRESULT GetInputType (WAVEFORMATEX *pwfex)
HRESULT GetOutputType (MPEG_ENCODER_CONFIG *pmabsi)
HRESULT Init ()
BOOL IsPES () const
HRESULT SetInputType (LPWAVEFORMATEX lpwfex, bool bJustCheck=FALSE)
HRESULT SetOutputType (MPEG_ENCODER_CONFIG &mabsi)
void SetPES (bool bPES)

Protected Member Functions

HRESULT maybeSyncWord (IStream *pStream)
HRESULT SetDefaultOutputType (LPWAVEFORMATEX lpwfex)
HRESULT skipId3v2 (IStream *pStream, size_t lametag_frame_size)
HRESULT updateLameTagFrame (IStream *pStream)

Protected Attributes

BOOL m_bFinished
BOOL m_bInpuTypeSet
BOOL m_bOutpuTypeSet
int m_frameCount
CCritSec m_lock
MPEG_ENCODER_CONFIG m_mabsi
unsigned char * m_outFrameBuf
int m_outOffset
int m_outReadOffset
WAVEFORMATEX m_wfex
lame_global_flagspgf

Detailed Description

Definition at line 82 of file Encoder.h.


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

Generated by  Doxygen 1.6.0   Back to index