Dirac - A Video Codec
Created by the British Broadcasting Corporation.
dirac::CompCompressor Class Reference
Compress a frame component.
More...
#include <comp_compress.h>
Collaboration diagram for dirac::CompCompressor:
[legend]List of all members.Public Member Functions
Private Member Functions
- CompCompressor (const CompCompressor &cpy)
- Copy constructor is private and body-less. This class should not be copied.
- CompCompressor & operator= (const CompCompressor &rhs)
- Assignment = is private and body-less. This class should not be assigned.
- void SelectQuantisers (PicArray &pic_data, SubbandList &bands, OneDArray< unsigned int > &est_counts, const CodeBlockMode cb_mode)
- int SelectMultiQuants (PicArray &pic_data, SubbandList &bands, const int band_num)
- void SetupCodeBlocks (SubbandList &bands)
- void SetToVal (PicArray &pic_data, const Subband &node, ValueType val)
- void AddSubAverage (PicArray &pic_data, int xl, int yl, AddOrSub dirn)
Private Attributes
Detailed Description
This class compresses one of the three components (Y, U, or V) of a frame according to a given set or parameters. CompCompressor is used by FrameCompressor.
Constructor & Destructor Documentation
|
Create and initialize a component compressor with the given characteristics. - Parameters:
-
| encp | encoding parameters |
| fp | frame parameters |
|
dirac::CompCompressor::CompCompressor |
( |
const CompCompressor & |
cpy |
) |
[private] |
|
Member Function Documentation
void dirac::CompCompressor::AddSubAverage |
( |
PicArray & |
pic_data, |
|
|
int |
xl, |
|
|
int |
yl, |
|
|
AddOrSub |
dirn |
|
) |
[private] |
|
|
Compress a PicArray containing a frame component (Y, U, or V). - Parameters:
-
| pic_data | the component data to be compressed |
- Returns:
- Frame-componentin Dirac-bytestream format
|
int dirac::CompCompressor::SelectMultiQuants |
( |
PicArray & |
pic_data, |
|
|
SubbandList & |
bands, |
|
|
const int |
band_num |
|
) |
[private] |
|
void dirac::CompCompressor::SetupCodeBlocks |
( |
SubbandList & |
bands |
) |
[private] |
|
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.