VorbisEncoder Class Reference
Implementation of Adaptor that takes UncompressedAudioFrame (raw PCM) as input and returns an CompressedAudioFrame (VORBIS aka OGG-VORBIS) as output. <short description="">. More...
#include <VorbisEncoder.hpp>
Inheritance diagram for VorbisEncoder:
Public Member Functions | |
VorbisEncoder (AudioESInfo *pESInfo, u32 targetBitRate) | |
Constructor. | |
virtual | ~VorbisEncoder () |
Destructor. | |
list< Frame * > | adapt (Frame *frm) |
raw PCM Frame in - VorbisFrame out. | |
list< Frame * > | close () |
Flush all buffered VorbisFrame objects (if any). | |
void | initialize () |
Initialize internal data structures. | |
Adaptor * | clone () |
Does nothing exept returning NULL. | |
u32 | getTranscodingCosts () const |
returns adaptation costs (CPU only) per second! For visual streams they are expressed in pixels/seconds. |
Detailed Description
Implementation of Adaptor that takes UncompressedAudioFrame (raw PCM) as input and returns an CompressedAudioFrame (VORBIS aka OGG-VORBIS) as output. <short description="">.
- Author:
- Thomas Kuglitsch
- Version:
- Id
- VorbisEncoder.hpp,v 1.2 2006/10/30 15:34:51 tkuglits Exp
Definition at line 65 of file VorbisEncoder.hpp.
Constructor & Destructor Documentation
|
Constructor. Creates a VorbisEncoder instance. Do set attributes of pESInfo object carefully.
|
Member Function Documentation
|
raw PCM Frame in - VorbisFrame out. Input raw PCM Frame object will be deleted in this method! Adaptor implementation for raw PCM Frame objects.
Reimplemented from Adaptor. Definition at line 93 of file VorbisEncoder.cpp. References Frame::getAU(), Frame::setAU(), and Frame::setMediaTimeScale().
|
|
Flush all buffered VorbisFrame objects (if any).
Reimplemented from Adaptor. Definition at line 208 of file VorbisEncoder.cpp.
|
|
returns adaptation costs (CPU only) per second! For visual streams they are expressed in pixels/seconds. Call this only on INITIALIZED adaptors!!!! Otherwise costs will be way too high. Implements Adaptor. Definition at line 102 of file VorbisEncoder.hpp.
|
|
Initialize internal data structures.
Implements Adaptor. Definition at line 67 of file VorbisEncoder.cpp.
|
The documentation for this class was generated from the following files: