"Deinterlace" frames by always returning either the top (or bottom) half-field More...
#include <Transport/HalfFieldDeinterlacer.H>
Public Member Functions | |
HalfFieldDeinterlacer (OptionManager &mgr) | |
Constructor. | |
virtual | ~HalfFieldDeinterlacer () |
Destructor. | |
virtual GenericFrameSpec | peekFrameSpec () |
Return the specifications of the next frame. | |
virtual bool | setFrameNumber (int n) |
Advise the deinterlacer of the current frame number; pass along to our delegate. | |
virtual void | startStream () |
Get a streaming grab started. | |
virtual GenericFrame | readFrame () |
Get the next half-field deinterlaced frame. |
"Deinterlace" frames by always returning either the top (or bottom) half-field
Definition at line 45 of file HalfFieldDeinterlacer.H.
HalfFieldDeinterlacer< BottomField >::HalfFieldDeinterlacer | ( | OptionManager & | mgr | ) | [inline] |
Constructor.
Definition at line 49 of file HalfFieldDeinterlacer.C.
HalfFieldDeinterlacer< BottomField >::~HalfFieldDeinterlacer | ( | ) | [inline, virtual] |
Destructor.
Definition at line 56 of file HalfFieldDeinterlacer.C.
GenericFrameSpec HalfFieldDeinterlacer< BottomField >::peekFrameSpec | ( | ) | [inline, virtual] |
Return the specifications of the next frame.
Implements FrameIstream.
Definition at line 61 of file HalfFieldDeinterlacer.C.
References ASSERT, Deinterlacer::getDelegate(), GenericFrame::GRAY_F32, GenericFrame::GRAY_U16, GenericFrame::GRAY_U8, GenericFrame::NONE, FrameIstream::peekFrameSpec(), GenericFrame::RGB_F32, GenericFrame::RGB_U16, GenericFrame::RGB_U8, and GenericFrame::RGBD.
GenericFrame HalfFieldDeinterlacer< BottomField >::readFrame | ( | ) | [inline, virtual] |
Get the next half-field deinterlaced frame.
Implements FrameIstream.
Definition at line 126 of file HalfFieldDeinterlacer.C.
References GenericFrame::asVideo(), Deinterlacer::getDelegate(), VideoFrame::initialized(), VideoFrame::makeBobDeinterlaced(), and FrameIstream::readFrame().
bool HalfFieldDeinterlacer< BottomField >::setFrameNumber | ( | int | n | ) | [inline, virtual] |
Advise the deinterlacer of the current frame number; pass along to our delegate.
Reimplemented from FrameIstream.
Definition at line 112 of file HalfFieldDeinterlacer.C.
References Deinterlacer::getDelegate(), and FrameIstream::setFrameNumber().
void HalfFieldDeinterlacer< BottomField >::startStream | ( | ) | [inline, virtual] |
Get a streaming grab started.
Reimplemented from FrameIstream.
Definition at line 119 of file HalfFieldDeinterlacer.C.
References Deinterlacer::getDelegate(), and FrameIstream::startStream().