Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Public Member Functions | Protected Member Functions | Private Attributes

dirac::CodecParams Class Reference

Parameters common to coder and decoder operation. More...

#include <common.h>

Inheritance diagram for dirac::CodecParams:
Inheritance graph
[legend]
Collaboration diagram for dirac::CodecParams:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Protected Member Functions

Private Attributes


Detailed Description

Parameters used throughout both the encoder and the decoder


Constructor & Destructor Documentation

dirac::CodecParams::CodecParams ( const VideoFormat video_format = VIDEO_FORMAT_CUSTOM,
PictureType  ftype = INTRA_PICTURE,
unsigned int  num_refs = 0,
bool  set_defaults = true 
)

Member Function Documentation

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.


Member Data Documentation

Referenced by GetCodeBlockMode().

unsigned int dirac::CodecParams::m_chroma_depth [private]

Referenced by ChromaDepth(), and SetChromaDepth().

Referenced by ChromaXl(), and SetChromaXl().

Referenced by ChromaYl(), and SetChromaYl().

unsigned int dirac::CodecParams::m_luma_depth [private]

Referenced by LumaDepth(), and SetLumaDepth().

Referenced by GetPicPredParams().

Referenced by SetTopFieldFirst(), and TopFieldFirst().

Referenced by GetVideoFormat(), and SetVideoFormat().

unsigned int dirac::CodecParams::m_wlt_depth [private]

Referenced by TransformDepth().

int dirac::CodecParams::m_xl [private]

Referenced by SetXl(), and Xl().

int dirac::CodecParams::m_yl [private]

Referenced by SetYl(), and Yl().

Referenced by SetZeroTransform(), and ZeroTransform().


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.