NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Public Member Functions | |
Decompressor (const std::string &filename) | |
~Decompressor () | |
void | update_index (unsigned int frameno, unsigned __int64 offset, FrameType::FT type) |
bool | get_index (unsigned int frameno, unsigned __int64 *offset, FrameType::FT *type) |
bool | recover_index () |
bool | decompress (unsigned int frameno, void *buffer, std::vcl_size_t buffersize, unsigned int bufferpitch) |
int | get_width () const |
int | get_height () const |
Use this to decompress the output of Compressor.
video::Decompressor::Decompressor | ( | const std::string & | filename | ) |
video::Decompressor::~Decompressor | ( | ) |
bool video::Decompressor::decompress | ( | unsigned int | frameno, |
void * | buffer, | ||
std::vcl_size_t | buffersize, | ||
unsigned int | bufferpitch | ||
) |
int video::Decompressor::get_height | ( | ) | const |
bool video::Decompressor::get_index | ( | unsigned int | frameno, |
unsigned __int64 * | offset, | ||
FrameType::FT * | type | ||
) |
int video::Decompressor::get_width | ( | ) | const |
bool video::Decompressor::recover_index | ( | ) |
void video::Decompressor::update_index | ( | unsigned int | frameno, |
unsigned __int64 | offset, | ||
FrameType::FT | type | ||
) |