NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
video::Decompressor Class Reference

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
 

Detailed Description

Use this to decompress the output of Compressor.

Warning
Not a general-purpose video decompressor!

Constructor & Destructor Documentation

video::Decompressor::Decompressor ( const std::string filename)
video::Decompressor::~Decompressor ( )

Member Function Documentation

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 
)

The documentation for this class was generated from the following files: