FrameRotate Class Reference
Implementation of Adaptor that 90degree rotates every incoming frame. More...
#include <FrameRotate.hpp>
Inheritance diagram for FrameRotate:
Public Member Functions | |
FrameRotate (VideoESInfo *pESInfo, u32 degrees) | |
Constructor. | |
list< Frame * > | adapt (Frame *frm) |
Frame frm in - list of Frame objects out. | |
virtual void | setESInfo (ESInfo *esi) |
Sets a reference to an ESInfo object. | |
virtual ESInfo * | getESInfo () |
Adaptor * | clone () |
Not implemented. | |
void | initialize () |
Initialize internal data structures. | |
u32 | getTranscodingCosts () const |
returns adaptation costs (CPU only) rotating is expensive |
Detailed Description
Implementation of Adaptor that 90degree rotates every incoming frame.
- Author:
- Michael Kropfberger
- Version:
- Id
- FrameRotate.hpp,v 1.3 2005/06/19 14:47:41 mkropfbe Exp
Definition at line 60 of file FrameRotate.hpp.
Constructor & Destructor Documentation
|
Constructor. Takes input frame size from pESInfo, and 90degree rotates every incoming frame, after that, the pESInfo is set to the new size (x,y toggled)
Referenced by clone().
|
Member Function Documentation
|
Frame frm in - list of Frame objects out. Output list will contain one Frame object only. If the incoming frm has already the correct size, no scaling is done
Reimplemented from Adaptor. Definition at line 112 of file FrameRotate.cpp. References Frame::getAU(), UncompressedVideoFrame::getColorSpace(), VideoFrame::getHeight(), VideoFrame::getWidth(), initialize(), and UncompressedVideoFrame::mapColorSpaceToBitDepth().
|
|
Not implemented.
Implements Adaptor. Definition at line 233 of file FrameRotate.cpp. References FrameRotate().
|
|
Initialize internal data structures.
Implements Adaptor. Definition at line 90 of file FrameRotate.cpp. Referenced by adapt().
|
|
Sets a reference to an ESInfo object. Adaptors are allowed to change ESInfo objects. If you don't want that, pass an es->clone(). NEVER delete this es in the destructor of your Adaptor! Reimplemented from Adaptor. Definition at line 47 of file FrameRotate.cpp.
|
The documentation for this class was generated from the following files: