common.h File Reference
#include <libdirac_common/arrays.h>
#include <libdirac_common/common_types.h>
#include <libdirac_common/dirac_assertions.h>
#include <vector>
#include <cmath>
Go to the source code of this file.
Namespaces
Classes
Typedefs
- typedef short dirac::ValueType
- Type of picture data (including motion compensated residuals).
- typedef int dirac::CoeffType
- Type of wavelet coefficient data (should be larger than ValueType).
- typedef int dirac::CalcValueType
- Type for performing calculations on ValueType and CoeffType. Should be >ValueType, >=CoeffType.
Enumerations
- enum dirac::PredMode {
dirac::INTRA,
dirac::REF1_ONLY,
dirac::REF2_ONLY,
dirac::REF1AND2,
dirac::UNDEFINED
}
- Prediction modes for blocks. More...
- enum dirac::CompSort { dirac::Y_COMP,
dirac::U_COMP,
dirac::V_COMP
}
- Types of picture component. More...
- enum dirac::AddOrSub { dirac::ADD,
dirac::SUBTRACT
}
- Addition or subtraction. More...
- enum dirac::Direction { dirac::FORWARD,
dirac::BACKWARD
}
- Forward or backward. More...
- enum dirac::CtxAliases {
dirac::SIGN0_CTX,
dirac::SIGN_POS_CTX,
dirac::SIGN_NEG_CTX,
dirac::Z_FBIN1z_CTX,
dirac::Z_FBIN1nz_CTX,
dirac::Z_FBIN2_CTX,
dirac::Z_FBIN3_CTX,
dirac::Z_FBIN4_CTX,
dirac::Z_FBIN5_CTX,
dirac::Z_FBIN6plus_CTX,
dirac::NZ_FBIN1z_CTX,
dirac::NZ_FBIN1nz_CTX,
dirac::NZ_FBIN2_CTX,
dirac::NZ_FBIN3_CTX,
dirac::NZ_FBIN4_CTX,
dirac::NZ_FBIN5_CTX,
dirac::NZ_FBIN6plus_CTX,
dirac::INFO_CTX,
dirac::BLOCK_SKIP_CTX,
dirac::Q_OFFSET_FOLLOW_CTX,
dirac::Q_OFFSET_INFO_CTX,
dirac::Q_OFFSET_SIGN_CTX,
dirac::TOTAL_COEFF_CTXS
}
- Contexts used for coefficient coding. More...
- enum dirac::MvCtxAliases {
dirac::DC_FBIN1_CTX,
dirac::DC_FBIN2plus_CTX,
dirac::DC_INFO_CTX,
dirac::DC_SIGN_CTX,
dirac::MV_FBIN1_CTX,
dirac::MV_FBIN2_CTX,
dirac::MV_FBIN3_CTX,
dirac::MV_FBIN4_CTX,
dirac::MV_FBIN5plus_CTX,
dirac::MV_INFO_CTX,
dirac::MV_SIGN_CTX,
dirac::PMODE_BIT0_CTX,
dirac::PMODE_BIT1_CTX,
dirac::MB_SPLIT_BIN1_CTX,
dirac::MB_SPLIT_BIN2_CTX,
dirac::MB_SPLIT_INFO_CTX,
dirac::TOTAL_MV_CTXS
}
- Contexts used for MV data coding. More...
Functions
Detailed Description
This file contains common classes used throughout the encoder and decoder. The main classes are the encoder and decoder parameters for controlling the encode and decode processes. These are passed throughout the codec. There are also parameter classes for sequences and frames.