#include <frame_decompress.h>
Public Member Functions | |
FrameDecompressor (DecoderParams &decp, ChromaFormat cf) | |
Constructor. | |
~FrameDecompressor () | |
Destructor. | |
bool | Decompress (FrameBuffer &my_buffer) |
Decompress the next frame into the buffer. | |
bool | ReadFrameHeader (const FrameBuffer &my_buffer) |
Reads the header data. | |
const FrameParams & | GetFrameParams () const |
Returns the frame parameters of the current frame being decoded. |
This class decompresses a single frame at a time, using parameters supplied at its construction. FrameDecompressor is used by SequenceDecompressor.
Definition at line 56 of file frame_decompress.h.
|
Constructor. Creates a FrameDecompressor with specific set of parameters the control the decompression process. It decodes motion data before decoding each component of the frame.
Definition at line 57 of file frame_decompress.cpp. |
|
Destructor. Releases resources. Definition at line 63 of file frame_decompress.cpp. |
|
|
Reads the header data. Reads the header data associated with decompressing the frame
Definition at line 67 of file frame_decompress.cpp. References dirac::FrameBuffer::GetFParams(), dirac::FrameParams::Xl(), and dirac::FrameParams::Yl(). Referenced by Decompress(), and dirac::SequenceDecompressor::ReadNextFrameHeader(). |