YUVSpatialReductionAdaptor Class Reference
Implementation of Adaptor that applies spatial transformation on YUVFrame objects. <short description="">. More...
#include <YUVSpatialReductionAdaptor.hpp>
Inheritance diagram for YUVSpatialReductionAdaptor:
Public Member Functions | |
YUVSpatialReductionAdaptor (VideoESInfo *pESInfo, u32 *puiWidth, u32 *puiHeight) | |
Constructor. | |
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) YUVscaling is expensive, this is an optimized impl., 30% more expensive than decoding |
Detailed Description
Implementation of Adaptor that applies spatial transformation on YUVFrame objects. <short description="">.Currently only downscaling is implemented using nearest neighbor hood search.
- Author:
- Bernhard Penz
- Version:
- Id
- YUVSpatialReductionAdaptor.hpp,v 1.4 2004/06/14 09:02:46 pschojer Exp
Definition at line 62 of file YUVSpatialReductionAdaptor.hpp.
Constructor & Destructor Documentation
|
Constructor. Takes input frame size from pESInfo, and sets output frame size according to puiWidth/puiHeight.
Referenced by clone().
|
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 96 of file YUVSpatialReductionAdaptor.cpp. References Frame::getAU(), and initialize().
|
|
Not implemented.
Implements Adaptor. Definition at line 169 of file YUVSpatialReductionAdaptor.cpp. References YUVSpatialReductionAdaptor().
|
|
Flush all buffered YUVFrame objects (if any).
Reimplemented from Adaptor. Definition at line 162 of file YUVSpatialReductionAdaptor.cpp.
|
|
Initialize internal data structures.
Implements Adaptor. Definition at line 60 of file YUVSpatialReductionAdaptor.cpp. Referenced by adapt().
|
The documentation for this class was generated from the following files: