YUVScalingAdaptor Class Reference
Implementation of Adaptor that applies spatial transformation on YUVFrame objects. Up- and downscaling is implemented using SDL. More...
#include <YUVScalingAdaptor.hpp>
Inheritance diagram for YUVScalingAdaptor:
Public Member Functions | |
YUVScalingAdaptor (VideoESInfo *pESInfo, u32 width, u32 height) | |
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, nearly twice as much as encoding! |
Detailed Description
Implementation of Adaptor that applies spatial transformation on YUVFrame objects. Up- and downscaling is implemented using SDL.
- Author:
- Bernhard Penz and Michael Kropfberger
- Version:
- Id
- YUVScalingAdaptor.hpp,v 1.4 2004/09/06 08:48:09 pschojer Exp
Definition at line 61 of file YUVScalingAdaptor.hpp.
Constructor & Destructor Documentation
|
Constructor. Takes input frame size from pESInfo, and sets arbitrary output frame size according to puiWidth/puiHeight.
References initialize(). Referenced by clone().
|
Member Function Documentation
|
YUVFrame frm in - list of YUVFrame objects out. Output list will contain one YUVFrame object only. If the incoming frm has already the correct size, no scaling is done
Reimplemented from Adaptor. Definition at line 91 of file YUVScalingAdaptor.cpp. References Frame::getAU(), VideoFrame::getHeight(), Frame::getType(), VideoFrame::getWidth(), initialize(), VideoFrame::setHeight(), and VideoFrame::setWidth().
|
|
Not implemented.
Implements Adaptor. Definition at line 181 of file YUVScalingAdaptor.cpp. References YUVScalingAdaptor().
|
|
Flush all buffered YUVFrame objects (if any).
Reimplemented from Adaptor. Definition at line 172 of file YUVScalingAdaptor.cpp.
|
|
Initialize internal data structures.
Implements Adaptor. Definition at line 65 of file YUVScalingAdaptor.cpp. Referenced by adapt(), and YUVScalingAdaptor().
|
The documentation for this class was generated from the following files: