Created by the British Broadcasting Corporation.
Definition of class SequenceHeaderByteIO. More...
Classes | |
class | ArithCodec |
Abstract binary arithmetic coding class. More... | |
class | ArithCodecBase |
class | ArithCodecToVLCAdapter |
class | BiBlockDiff |
A virtual class for bi-directional differences. More... | |
class | BiBlockEighthPel |
A class for computing a bidirection difference for eighth-pel vectors. More... | |
class | BiBlockHalfPel |
A class for computing a bidirection difference for half-pel vectors. More... | |
class | BiBlockQuarterPel |
A class for computing a bidirection difference for quarter-pel vectors. More... | |
class | BlockDiff |
An abstract class for doing block difference calculations. More... | |
class | BlockDiffEighthPel |
A class for doing differences with eighth-pixel accurate vectors. More... | |
class | BlockDiffHalfPel |
A class for doing differences with half-pixel accurate vectors. More... | |
class | BlockDiffParams |
A class encapsulating parameters for calculating a block difference value (a single instance of matching) More... | |
class | BlockDiffQuarterPel |
A class for doing differences with quarter-pixel accurate vectors. More... | |
class | BlockDiffUp |
A virtual class for doing differences with sub-pixel vectors. More... | |
class | BlockMatcher |
Class to do block matching. More... | |
class | ByteIO |
Class ByteIO - top-level class for reading/writing bytes to a stream. More... | |
class | CodeBlock |
Class for encapsulating metadata concerning a block of coefficients in a subband. More... | |
class | CodeBlocks |
Structure to hold code block sizes when spatial partitioning is used. More... | |
class | CodecParams |
Parameters common to coder and decoder operation. More... | |
class | CodingParamsByteIO |
Represents compressed sequence-parameter data used in an AccessUnit. More... | |
class | CoeffArray |
A class for wavelet coefficient data. More... | |
class | CommandLine |
class | CompCompressor |
Compress a picture component. More... | |
class | CompDecompressor |
Decompress a picture component. More... | |
class | ComponentByteIO |
Picture component in Dirac bytestream format. More... | |
class | Context |
class | CostType |
A structure for recording costs, particularly in quantisation. More... | |
class | DCCodec |
Codes and decodes a set of DC values. More... | |
class | DecoderParams |
Parameters for the decoding process. More... | |
class | DiracByteStats |
Class DiracByteStats - for collecting statistics on aspects of the Dirac byte-stream. More... | |
class | DiracByteStream |
Represents a series of bytes in the Dirac bytestream specfication format. More... | |
class | DiracException |
DiracException is the class which should be used for all exceptions within Dirac. More... | |
class | DiracParser |
Dirac Stream Parser Class. More... | |
class | DownConverter |
A class for fast downconversion of picture data. More... | |
class | EncoderParams |
Parameters for the encoding process. More... | |
class | EncPicture |
class | EncQueue |
Holds pictures both for reference and to overcome reordering delay. More... | |
class | EndOfSequenceByteIO |
Signals the end of a sequence in a Dirac-formatted bitstream. More... | |
class | EntropyCorrector |
A class used for correcting estimates of entropy. More... | |
class | FieldSequenceCompressor |
Compresses a sequence of fields from a stream. More... | |
class | FileStreamInput |
Picture input class. More... | |
class | FileStreamOutput |
class | FrameComplexity |
class | FrameSequenceCompressor |
Compresses a sequence of frames from a stream. More... | |
class | GenericBandCodec |
A template class for coding and decoding wavelet subband data. More... | |
class | GenericIntraDCBandCodec |
A template class specially for coding the DC subband of Intra frames. More... | |
class | InputStreamBuffer |
Input Stream Buffer Class. More... | |
class | IntraBlockDiff |
A class for calculating the difference between a block and its DC value (average) More... | |
class | IntraDCBandCodec |
A class specially for coding the DC subband of Intra frames. More... | |
class | IntraDCBandVLC |
A class specially for coding the DC subband of Intra frames. More... | |
class | MEData |
Class for all the motion estimation data. More... | |
class | MemoryStreamInput |
class | MemoryStreamOutput |
class | ModeDecider |
Decides between superblock and block prediction modes. More... | |
class | MotionCompensator |
Abstract Motion compensator class. More... | |
class | MotionCompensator_EighthPixel |
Eighth Pixel precision Motion compensator class. More... | |
class | MotionCompensator_HalfPixel |
Half Pixel precision Motion compensator class. More... | |
class | MotionCompensator_Pixel |
Pixel precision Motion compensator class. More... | |
class | MotionCompensator_QuarterPixel |
Quarter Pixel precision Motion compensator class. More... | |
class | MotionVector |
Motion vector class - just a pair. More... | |
class | MvCostData |
Class for recording costs derived in motion estimation. More... | |
class | MvData |
Class for all the motion vector data. More... | |
class | MvDataByteIO |
Represents compressed sequence-parameter data used in an AccessUnit. More... | |
class | MvDataElementByteIO |
Represents compressed sequence-parameter data used in an AccessUnit. More... | |
class | OLBParams |
Parameters for overlapped block motion compensation. More... | |
class | OneDArray |
A template class for one-dimensional arrays. More... | |
class | ParseParams |
Parameters relating to the complexity of encoder/decoder. More... | |
class | ParseParamsByteIO |
Represents compressed parse-parameter data used in an AccessUnit. More... | |
class | ParseUnitByteIO |
Represents a collection of data in a Dirac bytestream that can be parsed as a self-contained unit. More... | |
class | PelBlockDiff |
A class for doing block differences to pixel accuracy, inherited from BlockDiff. More... | |
class | PicArray |
A class for picture component data. More... | |
class | Picture |
A class for encapsulating all the data relating to a picture. More... | |
class | PictureBuffer |
Holds pictures both for reference and to overcome reordering delay. More... | |
class | PictureByteIO |
A compressed picture in Dirac bytestream format. More... | |
class | PictureCompressor |
Compress a single image picture. More... | |
class | PictureDecompressor |
Compress a single image picture. More... | |
class | PictureParams |
Parameters for initialising picture class objects. More... | |
class | PicturePredParams |
Structure to hold motion parameters when motion comp is used. More... | |
class | PictureSort |
Picture type Class. More... | |
class | PixelMatcher |
class | PredictStep97 |
Class to do two-tap prediction lifting step for Daubechies (9,7) More... | |
class | PredictStepFourTap |
Class to do symmetric four-tap prediction lifting step. More... | |
class | PredictStepShift |
Class to do two-tap prediction lifting step. More... | |
class | PredModeCodec |
Codes and decodes the prediction modes. More... | |
class | QualityMonitor |
Class to monitor the quality of pictures and adjust coding parameters appropriately. More... | |
class | QuantChooser |
Choose a quantiser. More... | |
class | QuantiserLists |
Class for encapsulating quantiser data. More... | |
class | Range |
Range type. More... | |
class | RateController |
A clas for allocation the bits to each and every types of frames in a GOP. More... | |
class | Rational |
Class defining a rational number. More... | |
class | SequenceCompressor |
Compresses a sequence of frames/fields from a stream. More... | |
class | SequenceDecompressor |
Decompresses a sequence of pictures from a stream. More... | |
class | SequenceHeaderByteIO |
A random access point within a Dirac bytestream. More... | |
class | SourceParams |
Parameters relating to the source material being encoded/decoded. More... | |
class | SourceParamsByteIO |
Represents compressed source-parameter data contained in a sequence header. More... | |
class | SplitModeCodec |
Codes and decodes the split mode. More... | |
class | StreamFieldInput |
class | StreamFieldOutput |
class | StreamFrameInput |
class | StreamFrameOutput |
class | StreamPicInput |
Picture input class. More... | |
class | StreamPicOutput |
Class for outputting pictures. More... | |
class | Subband |
Class encapsulating all the metadata relating to a wavelet subband. More... | |
class | SubbandByteIO |
Subband Dirac-bytestream input/output. More... | |
class | SubbandList |
A class encapulating all the subbands produced by a transform. More... | |
class | SubpelRefine |
The SubpelRefine class takes pixel-accurate motion vectors and refines them to 1/8-pixel accuracy. More... | |
class | TransformByteIO |
Represents compressed sequence-parameter data used in an AccessUnit. More... | |
class | TwoDArray |
A template class for two-dimensional arrays. More... | |
class | UpConverter |
Upconversion class. More... | |
class | UpdateStep97 |
Class to do two-tap update lifting step for Daubechies (9,7) More... | |
class | UpdateStepFourTap |
Class to do symmetric four-tap update lifting step. More... | |
class | UpdateStepShift |
Class to do two-tap updating lifting step. More... | |
class | VectorElementCodec |
Codes and decodes an array of motion vectors. More... | |
class | VHFilter |
A virtual parent class to do vertical and horizontal splitting with wavelet filters. More... | |
class | VHFilterDAUB9_7 |
Class to do Daubechies (9,7) filtering operations. More... | |
class | VHFilterDD13_7 |
An extension of DD9_7, with a better low-pass filter but more computation. More... | |
class | VHFilterDD9_7 |
A short filter that's actually close to Daubechies (9,7) but with just two lifting steps. More... | |
class | VHFilterHAAR0 |
Class to do Haar wavelet filtering operations. More... | |
class | VHFilterHAAR1 |
Class to do Haar wavelet filtering operations with a single shift per level. More... | |
class | VHFilterHAAR2 |
Class to do Haar wavelet filtering operations with a double shift per level. More... | |
class | VHFilterLEGALL5_3 |
Class to do (5,3) wavelet filtering operations. More... | |
class | WaveletTransform |
A class to do wavelet transforms. More... |
Typedefs | |
typedef GenericBandCodec< ArithCodec< CoeffArray > > | BandCodec |
A general class for coding and decoding wavelet subband data. | |
typedef BandCodec | LFBandCodec |
typedef GenericBandCodec< ArithCodecToVLCAdapter > | BandVLC |
A general class for coding and decoding wavelet subband data using variable length coding. | |
typedef short | ValueType |
Type of picture data (including motion compensated residuals) | |
typedef int | CoeffType |
Type of wavelet coefficient data (should be larger than ValueType) | |
typedef int | CalcValueType |
Type for performing calculations on ValueType and CoeffType. Should be >ValueType, >=CoeffType. | |
typedef MotionVector< int > | MVector |
MVector class is a vector of ints. | |
typedef MotionVector< int > | ImageCoords |
ImageCoords class is a vector of ints. | |
typedef TwoDArray< MVector > | MvArray |
MvArray is a two-D array of MVectors. | |
typedef TwoDArray< MotionVector< float > > | MvFloatArray |
An array of float-based motion vectors for doing global motion calcs. | |
typedef std::vector< std::vector< MVector > > | CandidateList |
Functions | |
template<class T> | |
std::ostream & | operator<< (std::ostream &stream, TwoDArray< T > &array) |
A function for extracting array data. | |
template<class T> | |
std::istream & | operator>> (std::istream &stream, TwoDArray< T > &array) |
A function for inserting array data. | |
VideoFormat | IntToVideoFormat (int video_format) |
Function to convert an integer to a valid VideoFormat. | |
ChromaFormat | IntToChromaFormat (int chroma_format) |
Function to convert an integer to a valid VideoFormat. | |
FrameRateType | IntToFrameRateType (int frame_rate_idx) |
Function to convert an integer to a valid FrameRate type. | |
PixelAspectRatioType | IntToPixelAspectRatioType (int pix_asr_idx) |
Function to convert an integer to a valid PixelAspectRatio type. | |
SignalRangeType | IntToSignalRangeType (int signal_range_idx) |
Function to convert an integer to a valid SignalRange type. | |
MVPrecisionType | IntToMVPrecisionType (int mv_prec) |
Function to convert an integer to a valid motion-vector precision type. | |
ValueType | BChk (const ValueType &num, const ValueType &max) |
A simple bounds checking function, very useful in a number of places. | |
void | dirac_assert (const char *p_fname, int line_number, const char *p_mess) |
void | dirac_report (const char *p_fname, int line_number, const char *p_mess) |
std::ostream & | operator<< (std::ostream &dst, const DiracException &exception) |
template<class T> | |
std::ostream & | operator<< (std::ostream &stream, MotionVector< T > &mv) |
Overloaded operator<< for MotionVector class for output to stream. | |
template<class T> | |
std::istream & | operator>> (std::istream &stream, MotionVector< T > &mv) |
Overloaded operator>> for MotionVector class for input from stream. | |
int | Median (const int val1, const int val2, const int val3) |
Return the median of 3 integers. | |
MVector | MvMedian (const MVector &mv1, const MVector &mv2, const MVector &mv3) |
Return the median of three motion vectors. | |
int | Median (const std::vector< int > &val_list) |
Return the median of a set of integers. | |
MVector | MvMedian (const std::vector< MVector > &vect_list) |
Return the median of a set of (up to 4) motion vectors. | |
MVector | MvMean (const MVector &mv1, const MVector &mv2) |
Return the mean of two motion vectors. | |
int | Norm2 (const MVector &mv) |
Return the squared length of a motion vector. | |
int | Norm1 (const MVector &mv) |
Return the sum of the lengths of a motion vector's componets. | |
unsigned int | GetUMean (std::vector< unsigned int > &values) |
Return the mean of a set of unsigned integer values. | |
int | GetSMean (std::vector< int > &values) |
Return the mean of a set of signed integer values. | |
void | SetDefaultCodecParameters (CodecParams &cparams, PictureType ptype, unsigned int num_refs) |
Sets default codec parameters - common to encoder and decoder. | |
void | SetDefaultEncoderParameters (EncoderParams &encparams) |
Sets default encoder parameters. | |
void | SetDefaultSourceParameters (const VideoFormat &vf, SourceParams &sparams) |
Sets default Source parameters. | |
void | SetDefaultBlockParameters (OLBParams &bparams, const VideoFormat &video_format) |
Sets default block parameters. | |
void | SetDefaultBlockParameters (OLBParams &bparams, int pidx) |
Sets default block parameters. | |
unsigned int | BlockParametersIndex (const OLBParams &bparams) |
Returns index of block parameters in Defaults table. | |
void | SetDefaultTransformFilter (const PictureType ptype, const VideoFormat video_format, WltFilter &wf) |
Sets the default Transform filter depending on picture type. | |
void | CWMFilter (Picture &picture, const int strength) |
Denoises an input frame. | |
void | CWMFilterComponent (PicArray &pic_data, const int strength) |
ValueType | Median (const ValueType *val_list, const int length) |
void | LPFilter (PicArray &pic_data, const float qf, const int strength) |
Denoises a component. | |
void | DiagFilter (PicArray &pic_data, const float qf, const int strength) |
Diagonally filters an input component. | |
void | AddNewVlist (CandidateList &vect_list, const MVector &mv, const int xr, const int yr) |
Add a new motion vector list of neighbours of a vector to the set of lists. | |
void | AddNewVlist (CandidateList &vect_list, const MVector &mv, const int xr, const int yr, const int step) |
Add a new motion vector list to the set of lists for sub-pixel matching. | |
void | AddNewVlistD (CandidateList &vect_list, const MVector &mv, const int xr, const int yr) |
Add a new motion vector list of diagnonal neighbours of a vector to the set of lists. | |
void | AddVect (CandidateList &vect_list, const MVector &mv, const int list_num) |
Add a motion vector to the set of motion vector lists. | |
ValueType | GetVar (const MVector &mv1, const MVector &mv2) |
Get the (absolute) variation between two motion vectors. | |
ValueType | GetVar (const std::vector< MVector > &pred_list, const MVector &mv) |
Get the (absolute) variation between a motion vector and a list of motion vectors. |
Returns structures containing default parameter values for different video-formats.
Definition of class DiracException.
Definition of class TransformByteIO.
Definition of class SubbandByteIO.
Definition of class PictureByteIO.
Definition of class ParseUnitByteIO.
Definition of class ParseParamsByteIO.
Definition of class MvDataElementByteIO.
Definition of class MvDataByteIO.
Definition of class EndOfSequenceByteIO.
Definition of class SourceParamsByteIO.
Definition of class DiracByteStream.
Definition of class DiracByteStats.
Definition of class ComponentByteIO.
Definition of class CodingParamsByteIO.
Definition of class ByteIO.
typedef GenericBandCodec<ArithCodec<CoeffArray> > dirac::BandCodec |
A general class for coding and decoding wavelet subband data, deriving from the abstract ArithCodec class.
A general class for coding and decoding wavelet subband data using variable length coding,
typedef int dirac::CalcValueType |
typedef std::vector< std::vector< MVector > > dirac::CandidateList |
typedef int dirac::CoeffType |
typedef MotionVector<int> dirac::ImageCoords |
typedef BandCodec dirac::LFBandCodec |
typedef TwoDArray<MVector> dirac::MvArray |
typedef MotionVector<int> dirac::MVector |
typedef TwoDArray< MotionVector<float> > dirac::MvFloatArray |
typedef short dirac::ValueType |
enum dirac::AddOrSub |
enum dirac::CompSort |
enum dirac::CtxAliases |
enum dirac::Direction |
enum dirac::MvCtxAliases |
enum dirac::MvElement |
enum dirac::ParseUnitType |
enum dirac::PredMode |
enum dirac::StatType |
void dirac::AddNewVlist | ( | CandidateList & | vect_list, |
const MVector & | mv, | ||
const int | xr, | ||
const int | yr ) |
void dirac::AddNewVlist | ( | CandidateList & | vect_list, |
const MVector & | mv, | ||
const int | xr, | ||
const int | yr, | ||
const int | step ) |
void dirac::AddNewVlistD | ( | CandidateList & | vect_list, |
const MVector & | mv, | ||
const int | xr, | ||
const int | yr ) |
void dirac::AddVect | ( | CandidateList & | vect_list, |
const MVector & | mv, | ||
const int | list_num ) |
Add a motion vector to the set of motion vector lists, making sure it's not a duplicate.
unsigned int dirac::BlockParametersIndex | ( | const OLBParams & | bparams | ) |
bparams | Params object for getting index |
void dirac::CWMFilter | ( | Picture & | picture, |
const int | strength ) |
void dirac::CWMFilterComponent | ( | PicArray & | pic_data, |
const int | strength ) |
void dirac::DiagFilter | ( | PicArray & | pic_data, |
const float | qf, | ||
const int | strength ) |
void dirac::dirac_assert | ( | const char * | p_fname, |
int | line_number, | ||
const char * | p_mess ) |
Print a message to standard error and abort if in debug mode
void dirac::dirac_report | ( | const char * | p_fname, |
int | line_number, | ||
const char * | p_mess ) |
Print a message to standard error
int dirac::GetSMean | ( | std::vector< int > & | values | ) |
unsigned int dirac::GetUMean | ( | std::vector< unsigned int > & | values | ) |
Return the variation between two motion vectors, computed as the sum of absolute differences of their components.
Return the variation between a motion vector and a list of motion vectos, computed as the sum of absolute differences between the components of the vector and the median vector produced by the list of vectors
ChromaFormat dirac::IntToChromaFormat | ( | int | chroma_format | ) |
chroma_format | Integer corresponding to a format |
FrameRateType dirac::IntToFrameRateType | ( | int | frame_rate_idx | ) |
frame_rate_idx | Integer corresponding to a frame-rate in the spec table |
MVPrecisionType dirac::IntToMVPrecisionType | ( | int | mv_prec | ) |
mv_prec | Integer corresponding to a valid motion-vector precision |
PixelAspectRatioType dirac::IntToPixelAspectRatioType | ( | int | pix_asr_idx | ) |
pix_asr_idx | Integer corresponding to a pixel aspect ratio in the spec table |
SignalRangeType dirac::IntToSignalRangeType | ( | int | signal_range_idx | ) |
signal_range_idx | Integer corresponding to a signal-range in the spec table |
VideoFormat dirac::IntToVideoFormat | ( | int | video_format | ) |
video_format | Integer corresponding to a format |
void dirac::LPFilter | ( | PicArray & | pic_data, |
const float | qf, | ||
const int | strength ) |
int dirac::Median | ( | const int | val1, |
const int | val2, | ||
const int | val3 ) |
int dirac::Median | ( | const std::vector< int > & | val_list | ) |
|
inline |
References dirac::MotionVector< T >::x, and dirac::MotionVector< T >::y.
|
inline |
References dirac::MotionVector< T >::x, and dirac::MotionVector< T >::y.
std::ostream & dirac::operator<< | ( | std::ostream & | dst, |
const DiracException & | exception ) |
std::ostream & dirac::operator<< | ( | std::ostream & | stream, |
MotionVector< T > & | mv ) |
References dirac::MotionVector< T >::x, and dirac::MotionVector< T >::y.
std::ostream & dirac::operator<< | ( | std::ostream & | stream, |
TwoDArray< T > & | array ) |
References dirac::TwoDArray< T >::LengthX(), and dirac::TwoDArray< T >::LengthY().
std::istream & dirac::operator>> | ( | std::istream & | stream, |
MotionVector< T > & | mv ) |
References dirac::MotionVector< T >::x, and dirac::MotionVector< T >::y.
std::istream & dirac::operator>> | ( | std::istream & | stream, |
TwoDArray< T > & | array ) |
References dirac::TwoDArray< T >::LengthX(), and dirac::TwoDArray< T >::LengthY().
void dirac::SetDefaultBlockParameters | ( | OLBParams & | bparams, |
const VideoFormat & | video_format ) |
bparams | Params object for setting defaults |
video_format | Video format |
void dirac::SetDefaultBlockParameters | ( | OLBParams & | bparams, |
int | pidx ) |
bparams | Params object for setting defaults |
pidx | Index into Block Parameters table |
void dirac::SetDefaultCodecParameters | ( | CodecParams & | cparams, |
PictureType | ptype, | ||
unsigned int | num_refs ) |
cparams | Codec Params objects for setting defaults |
ptype | Picture type i,e, INTRA or INTER |
num_refs | Number of reference frames |
void dirac::SetDefaultEncoderParameters | ( | EncoderParams & | encparams | ) |
encparams | Params objects for setting defaults |
void dirac::SetDefaultSourceParameters | ( | const VideoFormat & | vf, |
SourceParams & | sparams ) |
vf | Video Format |
sparams | Params object for setting defaults |
void dirac::SetDefaultTransformFilter | ( | const PictureType | ptype, |
const VideoFormat | video_format, | ||
WltFilter & | wf ) |
© 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.