Dirac - A Video Codec
Created by the British Broadcasting Corporation.
dirac::FrameOutputManager Class Reference
#include <bit_manager.h>
Collaboration diagram for dirac::FrameOutputManager:
[legend]List of all members.Public Member Functions
- FrameOutputManager (std::ostream *out_data, const int num_bands=13)
- Constructor.
- ~FrameOutputManager ()
- Destructor.
- void SetNumBands (const int num_bands)
- Set the number of bands there will be in a component.
- UnitOutputManager & BandOutput (const int csort, const int band_num)
- Get an output manager for a subband.
- const UnitOutputManager & BandOutput (const int csort, const int band_num) const
- Get an output manager for a subband.
- UnitOutputManager & MVOutput ()
- Get an output manager for MV data.
- const UnitOutputManager & MVOutput () const
- Get an output manager for MV data.
- BasicOutputManager & HeaderOutput ()
- Get an output manager for the frame header.
- const size_t ComponentBytes (const int comp_num) const
- Return the number of bytes used for each component.
- const size_t ComponentHeadBytes (const int comp_num) const
- Return the number of header bytes used for each component.
- const size_t MVBytes () const
- Return the number of motion vector bytes used.
- const size_t MVHeadBytes () const
- Return the number of motion vector header bytes used.
- const size_t FrameBytes () const
- Return the number of bytes used for the whole frame.
- const size_t FrameHeadBytes () const
- Return the number of header bytes used throughout the frame.
- size_t Size () const
- Current size of the internal data cache in bytes.
Private Member Functions
- void Init (const int num_bands)
- Initialise the band data.
- void Reset ()
- Reset all the data.
- void DeleteAll ()
- Delete all the data.
- void WriteToFile ()
- Write all the frame data to file.
Private Attributes
Friends
Constructor & Destructor Documentation
dirac::FrameOutputManager::FrameOutputManager |
( |
std::ostream * |
out_data, |
|
|
const int |
num_bands = 13 |
|
) |
|
|
Member Function Documentation
const UnitOutputManager& dirac::FrameOutputManager::BandOutput |
( |
const int |
csort, |
|
|
const int |
band_num |
|
) |
const |
|
|
Get an output manager for a subband. - Parameters:
-
| csort | the component (Y, U or V) |
| band_num | the number of the subband |
|
UnitOutputManager& dirac::FrameOutputManager::BandOutput |
( |
const int |
csort, |
|
|
const int |
band_num |
|
) |
|
|
|
Get an output manager for a subband. - Parameters:
-
| csort | the component (Y, U or V) |
| band_num | the number of the subband |
|
const size_t dirac::FrameOutputManager::ComponentBytes |
( |
const int |
comp_num |
) |
const [inline] |
|
const size_t dirac::FrameOutputManager::ComponentHeadBytes |
( |
const int |
comp_num |
) |
const [inline] |
|
void dirac::FrameOutputManager::DeleteAll |
( |
|
) |
[private] |
|
const size_t dirac::FrameOutputManager::FrameBytes |
( |
|
) |
const [inline] |
|
const size_t dirac::FrameOutputManager::FrameHeadBytes |
( |
|
) |
const [inline] |
|
void dirac::FrameOutputManager::Init |
( |
const int |
num_bands |
) |
[private] |
|
const size_t dirac::FrameOutputManager::MVBytes |
( |
|
) |
const [inline] |
|
const size_t dirac::FrameOutputManager::MVHeadBytes |
( |
|
) |
const [inline] |
|
|
Get an output manager for MV data |
|
Get an output manager for MV data |
void dirac::FrameOutputManager::Reset |
( |
|
) |
[private] |
|
void dirac::FrameOutputManager::SetNumBands |
( |
const int |
num_bands |
) |
|
|
size_t dirac::FrameOutputManager::Size |
( |
|
) |
const |
|
|
Current size of the internal data cache in bytes. |
void dirac::FrameOutputManager::WriteToFile |
( |
|
) |
[private] |
|
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file:
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.