Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::PictureParams Class Reference

Parameters for initialising picture class objects.

#include <common.h>

Collaboration diagram for dirac::PictureParams:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Private Attributes


Constructor & Destructor Documentation

dirac::PictureParams::PictureParams (  ) 
dirac::PictureParams::PictureParams ( const ChromaFormat cf,
int  xlen,
int  ylen,
unsigned int  luma_depth,
unsigned int  chroma_depth 
)

Picture chroma format is set Picture sort defaults to I picture.

dirac::PictureParams::PictureParams ( const ChromaFormat cf,
const PictureSort fs 
)

Picture chroma format and picture sort are set.

dirac::PictureParams::PictureParams ( const SourceParams sparams  ) 

Constructor. Parameters are derived from the source parameters


Member Function Documentation

const ChromaFormat& dirac::PictureParams::CFormat (  )  const [inline]

References m_cformat.

unsigned int dirac::PictureParams::ChromaDepth (  )  const [inline]

References m_chroma_depth.

int dirac::PictureParams::ChromaXl (  )  const [inline]

References m_cxl.

int dirac::PictureParams::ChromaYl (  )  const [inline]

References m_cyl.

int dirac::PictureParams::ExpiryTime (  )  const [inline]

References m_expiry_time.

PictureType dirac::PictureParams::GetPictureType (  )  const [inline]

References m_picture_type.

ReferenceType dirac::PictureParams::GetReferenceType (  )  const [inline]

References m_reference_type.

bool dirac::PictureParams::IsBPicture (  )  const
unsigned int dirac::PictureParams::LumaDepth (  )  const [inline]

References m_luma_depth.

unsigned int dirac::PictureParams::NumRefs (  )  const [inline]

References m_refs.

bool dirac::PictureParams::Output (  )  const [inline]

References m_output.

const PictureSort& dirac::PictureParams::PicSort (  )  const [inline]

References m_psort.

int dirac::PictureParams::PictureNum (  )  const [inline]

References m_fnum.

std::vector<int>& dirac::PictureParams::Refs (  )  [inline]

References m_refs.

const std::vector<int>& dirac::PictureParams::Refs (  )  const [inline]

References m_refs.

int dirac::PictureParams::RetiredPictureNum (  )  const [inline]

References m_retd_fnum.

void dirac::PictureParams::SetAsOutput (  )  [inline]

References m_output.

void dirac::PictureParams::SetCFormat ( ChromaFormat  cf  )  [inline]

References m_cformat.

void dirac::PictureParams::SetChromaDepth ( unsigned int  chroma_depth  )  [inline]

References m_chroma_depth.

void dirac::PictureParams::SetExpiryTime ( const int  expt  )  [inline]

References m_expiry_time.

void dirac::PictureParams::SetLumaDepth ( unsigned int  luma_depth  )  [inline]

References m_luma_depth.

void dirac::PictureParams::SetPicSort ( const PictureSort ps  ) 
void dirac::PictureParams::SetPictureNum ( const int  fn  )  [inline]

References m_fnum.

void dirac::PictureParams::SetPictureType ( const PictureType  ftype  ) 
void dirac::PictureParams::SetReferenceType ( const ReferenceType  rtype  ) 
void dirac::PictureParams::SetRetiredPictureNum ( int  retd_fnum  )  [inline]

References m_retd_fnum.

void dirac::PictureParams::SetUsingAC ( bool  using_ac  )  [inline]

References m_using_ac.

void dirac::PictureParams::SetXl ( int  xlen  ) 
void dirac::PictureParams::SetYl ( int  ylen  ) 
bool dirac::PictureParams::UsingAC (  )  const [inline]

References m_using_ac.

int dirac::PictureParams::Xl (  )  const [inline]

References m_xl.

int dirac::PictureParams::Yl (  )  const [inline]

References m_yl.


Member Data Documentation

Referenced by CFormat(), and SetCFormat().

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

Referenced by ChromaDepth(), and SetChromaDepth().

Referenced by ChromaXl().

Referenced by ChromaYl().

Referenced by ExpiryTime(), and SetExpiryTime().

Referenced by PictureNum(), and SetPictureNum().

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

Referenced by LumaDepth(), and SetLumaDepth().

Referenced by Output(), and SetAsOutput().

Referenced by GetPictureType().

Referenced by PicSort().

Referenced by GetReferenceType().

std::vector<int> dirac::PictureParams::m_refs [private]

Referenced by NumRefs(), and Refs().

int dirac::PictureParams::m_retd_fnum [mutable, private]

Referenced by SetUsingAC(), and UsingAC().

Referenced by Xl().

Referenced by Yl().


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.