Low-level decoder for multi-frame raw video formats. More...
#include <Media/MrawvDecoder.H>
Classes | |
struct | Rep |
Public Member Functions | |
MrawvDecoder (const std::string &fname) | |
Constructor; pixel type will be computed from file extension. | |
virtual | ~MrawvDecoder () |
Virtual destructor for safe inheritance. | |
virtual GenericFrame | readFrame () |
Read an image from the stream. |
Low-level decoder for multi-frame raw video formats.
Definition at line 45 of file MrawvDecoder.H.
MrawvDecoder::MrawvDecoder | ( | const std::string & | fname | ) |
Constructor; pixel type will be computed from file extension.
Definition at line 76 of file MrawvDecoder.C.
References Dims::h(), rutz::ibzip2open(), rutz::igzopen(), Dims::isEmpty(), nodotExtension(), rutz::shared_ptr< T >::reset(), and Dims::w().
MrawvDecoder::~MrawvDecoder | ( | ) | [virtual] |
Virtual destructor for safe inheritance.
Definition at line 131 of file MrawvDecoder.C.
GenericFrame MrawvDecoder::readFrame | ( | ) | [virtual] |
Read an image from the stream.
Definition at line 137 of file MrawvDecoder.C.
References VideoFrame::fromStream(), GVX_ERR_CONTEXT, and rutz::sfmt().
Referenced by MrawvInputStream::readFrame().