YUVColorReductionAdaptor Class Reference
Implementation of Adaptor that applies color reduction on YUVFrame objects. <short description="">. More...
#include <YUVColorReductionAdaptor.hpp>
Inheritance diagram for YUVColorReductionAdaptor:
Public Member Functions | |
YUVColorReductionAdaptor (VideoESInfo *pESInfo) | |
Constructor. | |
virtual | ~YUVColorReductionAdaptor () |
Destructor. | |
list< Frame * > | adapt (Frame *frm) |
YUVFrame frm in - list of YUVFrame objects out. | |
list< Frame * > | close () |
Flush all buffered YUVFrame objects (if any). | |
Adaptor * | clone () |
Not implemented. | |
void | initialize () |
Initialize internal data structures. | |
u32 | getTranscodingCosts () const |
returns adaptation costs (CPU only). |
Detailed Description
Implementation of Adaptor that applies color reduction on YUVFrame objects. <short description="">.In addition average bitrate of the ESInfo object is reduced by 20%.
- Author:
- Bernhard Penz
- Version:
- Id
- YUVColorReductionAdaptor.hpp,v 1.6 2005/06/19 14:47:41 mkropfbe Exp
Definition at line 62 of file YUVColorReductionAdaptor.hpp.
Constructor & Destructor Documentation
|
Constructor. Takes input frame size from pESInfo, and reduces average bitrate setting of ESInfo by 20%.
Referenced by clone().
|
|
Destructor. Definition at line 64 of file YUVColorReductionAdaptor.cpp.
|
Member Function Documentation
|
YUVFrame frm in - list of YUVFrame objects out. Output list will contain one YUVFrame object only.
Reimplemented from Adaptor. Definition at line 68 of file YUVColorReductionAdaptor.cpp. References Frame::getAU(), and initialize().
|
|
Not implemented.
Implements Adaptor. Definition at line 89 of file YUVColorReductionAdaptor.cpp. References YUVColorReductionAdaptor().
|
|
Flush all buffered YUVFrame objects (if any).
Reimplemented from Adaptor. Definition at line 83 of file YUVColorReductionAdaptor.cpp.
|
|
returns adaptation costs (CPU only). Throwing away color is extremely cheap.. memset per frame 0.4% of decoding costs Implements Adaptor. Definition at line 103 of file YUVColorReductionAdaptor.hpp.
|
|
Initialize internal data structures.
Implements Adaptor. Definition at line 56 of file YUVColorReductionAdaptor.cpp. Referenced by adapt().
|
The documentation for this class was generated from the following files: