Classes | |
struct | journalEntry |
Public Member Functions | |
MgzJEncoder (const std::string &fname, const int complev) | |
int | close () |
Close any underlying streams; return 0 if OK, non-zero if error. | |
void | writeFrame (const GenericFrame &frame) |
Write a frame to the low-level stream. |
Definition at line 46 of file MgzJEncoder.H.
int MgzJEncoder::close | ( | ) | [virtual] |
Close any underlying streams; return 0 if OK, non-zero if error.
Implements LowLevelEncoder.
Definition at line 61 of file MgzJEncoder.C.
void MgzJEncoder::writeFrame | ( | const GenericFrame & | f | ) | [virtual] |
Write a frame to the low-level stream.
Implements LowLevelEncoder.
Definition at line 112 of file MgzJEncoder.C.
References GenericFrame::asGrayF32(), GenericFrame::asGrayU8(), GenericFrame::asRgbF32(), GenericFrame::asRgbU8(), GenericFrame::asVideo(), GenericFrame::floatFlags(), Image< T >::getArrayPtr(), VideoFrame::getBuffer(), VideoFrame::getBufSize(), VideoFrame::getByteSwap(), GenericFrame::getHeight(), VideoFrame::getMode(), GenericFrame::getWidth(), GenericFrame::GRAY_F32, GenericFrame::GRAY_U16, GenericFrame::GRAY_U8, GenericFrame::nativeType(), GenericFrame::nativeTypeName(), GenericFrame::NONE, GenericFrame::RGB_F32, GenericFrame::RGB_U16, and GenericFrame::RGB_U8.