Gives specification of a GenericFrame. More...
#include <Raster/GenericFrame.H>
Public Member Functions | |
bool | operator== (const GenericFrameSpec &that) const |
bool | operator!= (const GenericFrameSpec &that) const |
std::string | getDescription () const |
Return a human-readable description of this frame spec. | |
std::string | nativeTypeName () const |
Get the frame's native image typename. | |
VideoFormat | getActualVideoFormat () const |
Get the VideoFormat that would result from applying asVideo() to a corresponding GenericFrame. | |
Public Attributes | |
GenericFrame::NativeType | nativeType |
VideoFormat | videoFormat |
bool | videoByteSwap |
Dims | dims |
int | floatFlags |
float | frameRate |
Gives specification of a GenericFrame.
Definition at line 227 of file GenericFrame.H.
VideoFormat GenericFrameSpec::getActualVideoFormat | ( | ) | const |
Get the VideoFormat that would result from applying asVideo() to a corresponding GenericFrame.
Definition at line 705 of file GenericFrame.C.
References ASSERT, GenericFrame::GRAY_F32, GenericFrame::GRAY_U16, GenericFrame::GRAY_U8, GenericFrame::NONE, GenericFrame::RGB_F32, GenericFrame::RGB_U16, GenericFrame::RGB_U8, and GenericFrame::RGBD.
Referenced by MrawvEncoder::MrawvEncoder().
std::string GenericFrameSpec::getDescription | ( | ) | const |
Return a human-readable description of this frame spec.
Definition at line 676 of file GenericFrame.C.
References Dims::h(), nativeTypeName(), sformat(), and Dims::w().
Referenced by ColorizeOfilt::filterFrame(), and LuminanceOfilt::filterFrame().
std::string GenericFrameSpec::nativeTypeName | ( | ) | const |
Get the frame's native image typename.
Definition at line 684 of file GenericFrame.C.
References ASSERT, GenericFrame::GRAY_F32, GenericFrame::GRAY_U16, GenericFrame::GRAY_U8, GenericFrame::NONE, GenericFrame::RGB_F32, GenericFrame::RGB_U16, GenericFrame::RGB_U8, GenericFrame::RGBD, and sformat().
Referenced by getDescription(), and GenericFrame::nativeTypeName().