Created by the British Broadcasting Corporation.
Parameters common to coder and decoder operation. More...
#include <common.h>
Parameters used throughout both the encoder and the decoder
dirac::CodecParams::CodecParams | ( | const VideoFormat & | video_format = VIDEO_FORMAT_CUSTOM , |
PictureType | ftype = INTRA_PICTURE , |
||
unsigned int | num_refs = 0 , |
||
bool | set_defaults = true |
||
) |
unsigned int dirac::CodecParams::ChromaDepth | ( | ) | const [inline] |
References m_chroma_depth.
int dirac::CodecParams::ChromaXl | ( | ) | const [inline] |
References m_cxl.
int dirac::CodecParams::ChromaYl | ( | ) | const [inline] |
References m_cyl.
bool dirac::CodecParams::FieldCoding | ( | ) | const [inline] |
References m_pic_coding_mode.
CodeBlockMode dirac::CodecParams::GetCodeBlockMode | ( | ) | const [inline] |
References m_cb_mode.
const CodeBlocks& dirac::CodecParams::GetCodeBlocks | ( | unsigned int | level | ) | const |
PicturePredParams& dirac::CodecParams::GetPicPredParams | ( | ) | [inline] |
References m_picpredparams.
const PicturePredParams& dirac::CodecParams::GetPicPredParams | ( | ) | const [inline] |
References m_picpredparams.
VideoFormat dirac::CodecParams::GetVideoFormat | ( | ) | const [inline] |
References m_video_format.
unsigned int dirac::CodecParams::LumaDepth | ( | ) | const [inline] |
References m_luma_depth.
int dirac::CodecParams::PictureCodingMode | ( | ) | const [inline] |
Returns the picture coding mode (independent of source format) 0 = Frame coding (no quincunx) 1 = Field coding (no quincunx)
References m_pic_coding_mode.
void dirac::CodecParams::SetChromaDepth | ( | unsigned int | chroma_depth | ) | [inline] |
References m_chroma_depth.
void dirac::CodecParams::SetChromaXl | ( | const int | x | ) | [inline] |
References m_cxl.
void dirac::CodecParams::SetChromaYl | ( | const int | y | ) | [inline] |
References m_cyl.
void dirac::CodecParams::SetCodeBlockMode | ( | unsigned int | cb_mode | ) |
void dirac::CodecParams::SetCodeBlocks | ( | unsigned int | level, |
unsigned int | hblocks, | ||
unsigned int | vblocks | ||
) |
void dirac::CodecParams::SetLumaDepth | ( | unsigned int | luma_depth | ) | [inline] |
References m_luma_depth.
void dirac::CodecParams::SetPictureCodingMode | ( | int | pic_coding | ) | [inline] |
References m_pic_coding_mode.
void dirac::CodecParams::SetSpatialPartition | ( | bool | spatial_partition | ) | [inline] |
References m_spatial_partition.
void dirac::CodecParams::SetTopFieldFirst | ( | bool | topf | ) | [inline] |
References m_topfieldfirst.
void dirac::CodecParams::SetTransformDepth | ( | unsigned int | wd | ) |
void dirac::CodecParams::SetTransformFilter | ( | unsigned int | wf_idx | ) |
void dirac::CodecParams::SetTransformFilter | ( | const WltFilter | wf | ) | [inline] |
References m_wlt_filter.
void dirac::CodecParams::SetVideoFormat | ( | const VideoFormat | vd | ) | [inline] |
References m_video_format.
void dirac::CodecParams::SetXl | ( | const int | x | ) | [inline] |
References m_xl.
void dirac::CodecParams::SetYl | ( | const int | y | ) | [inline] |
References m_yl.
void dirac::CodecParams::SetZeroTransform | ( | bool | zero_transform | ) | [inline] |
References m_zero_transform.
bool dirac::CodecParams::SpatialPartition | ( | ) | const [inline] |
References m_spatial_partition.
bool dirac::CodecParams::TopFieldFirst | ( | ) | const [inline] |
References m_topfieldfirst.
unsigned int dirac::CodecParams::TransformDepth | ( | ) | const [inline] |
References m_wlt_depth.
WltFilter dirac::CodecParams::TransformFilter | ( | ) | const [inline] |
References m_wlt_filter.
WltFilter dirac::CodecParams::TransformFilter | ( | unsigned int | wf_idx | ) | [protected] |
int dirac::CodecParams::Xl | ( | ) | const [inline] |
References m_xl.
int dirac::CodecParams::Yl | ( | ) | const [inline] |
References m_yl.
bool dirac::CodecParams::ZeroTransform | ( | ) | const [inline] |
References m_zero_transform.
OneDArray<CodeBlocks> dirac::CodecParams::m_cb [private] |
CodeBlockMode dirac::CodecParams::m_cb_mode [private] |
Referenced by GetCodeBlockMode().
unsigned int dirac::CodecParams::m_chroma_depth [private] |
Referenced by ChromaDepth(), and SetChromaDepth().
int dirac::CodecParams::m_cxl [private] |
Referenced by ChromaXl(), and SetChromaXl().
int dirac::CodecParams::m_cyl [private] |
Referenced by ChromaYl(), and SetChromaYl().
unsigned int dirac::CodecParams::m_luma_depth [private] |
Referenced by LumaDepth(), and SetLumaDepth().
int dirac::CodecParams::m_pic_coding_mode [private] |
Referenced by FieldCoding(), PictureCodingMode(), and SetPictureCodingMode().
Referenced by GetPicPredParams().
bool dirac::CodecParams::m_spatial_partition [private] |
Referenced by SetSpatialPartition(), and SpatialPartition().
bool dirac::CodecParams::m_topfieldfirst [private] |
Referenced by SetTopFieldFirst(), and TopFieldFirst().
Referenced by GetVideoFormat(), and SetVideoFormat().
unsigned int dirac::CodecParams::m_wlt_depth [private] |
Referenced by TransformDepth().
WltFilter dirac::CodecParams::m_wlt_filter [private] |
Referenced by SetTransformFilter(), and TransformFilter().
int dirac::CodecParams::m_xl [private] |
int dirac::CodecParams::m_yl [private] |
bool dirac::CodecParams::m_zero_transform [private] |
Referenced by SetZeroTransform(), and ZeroTransform().
© 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.