Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::SourceParams Class Reference

Parameters relating to the source material being encoded/decoded.

#include <common.h>

Collaboration diagram for dirac::SourceParams:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Private Attributes


Constructor & Destructor Documentation

dirac::SourceParams::SourceParams ( const VideoFormat vf = VIDEO_FORMAT_CUSTOM,
bool  set_defaults = true 
)


Member Function Documentation

VideoFormat dirac::SourceParams::GetVideoFormat (  )  const [inline]

unsigned int dirac::SourceParams::Xl (  )  const [inline]

unsigned int dirac::SourceParams::Yl (  )  const [inline]

ChromaFormat dirac::SourceParams::CFormat (  )  const [inline]

int dirac::SourceParams::ChromaWidth (  )  const

int dirac::SourceParams::ChromaHeight (  )  const

bool dirac::SourceParams::Interlace (  )  const [inline]

bool dirac::SourceParams::TopFieldFirst (  )  const [inline]

Rational dirac::SourceParams::FrameRate (  )  const [inline]

FrameRateType dirac::SourceParams::FrameRateIndex (  )  const [inline]

Rational dirac::SourceParams::AspectRatio (  )  const [inline]

AspectRatioType dirac::SourceParams::AspectRatioIndex (  )  const [inline]

unsigned int dirac::SourceParams::CleanWidth (  )  const [inline]

unsigned int dirac::SourceParams::CleanHeight (  )  const [inline]

unsigned int dirac::SourceParams::LeftOffset (  )  const [inline]

unsigned int dirac::SourceParams::TopOffset (  )  const [inline]

SignalRangeType dirac::SourceParams::SignalRangeIndex (  )  const [inline]

unsigned int dirac::SourceParams::LumaOffset (  )  const [inline]

unsigned int dirac::SourceParams::LumaExcursion (  )  const [inline]

unsigned int dirac::SourceParams::ChromaOffset (  )  const [inline]

unsigned int dirac::SourceParams::ChromaExcursion (  )  const [inline]

unsigned int dirac::SourceParams::ColourSpecificationIndex (  )  const [inline]

ColourPrimaries dirac::SourceParams::ColourPrimariesIndex (  )  const [inline]

ColourMatrix dirac::SourceParams::ColourMatrixIndex (  )  const [inline]

TransferFunction dirac::SourceParams::TransferFunctionIndex (  )  const [inline]

void dirac::SourceParams::SetXl ( unsigned int  xlen  )  [inline]

void dirac::SourceParams::SetYl ( unsigned int  ylen  )  [inline]

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

void dirac::SourceParams::SetInterlace ( bool  interlace  )  [inline]

void dirac::SourceParams::SetTopFieldFirst ( bool  tff  )  [inline]

void dirac::SourceParams::SetVideoFormat ( VideoFormat  vf  )  [inline]

void dirac::SourceParams::SetFrameRate ( const Rational frate  )  [inline]

void dirac::SourceParams::SetFrameRate ( unsigned int  fr_num,
unsigned int  fr_denom 
) [inline]

void dirac::SourceParams::SetFrameRate ( FrameRateType  fr  ) 

void dirac::SourceParams::SetAspectRatio ( const Rational asr  )  [inline]

void dirac::SourceParams::SetAspectRatio ( unsigned int  as_num,
unsigned int  as_denom 
) [inline]

void dirac::SourceParams::SetAspectRatio ( AspectRatioType  aspect_ratio  ) 

void dirac::SourceParams::SetCleanWidth ( unsigned int  clean_width  )  [inline]

void dirac::SourceParams::SetCleanHeight ( unsigned int  clean_height  )  [inline]

void dirac::SourceParams::SetLeftOffset ( unsigned int  left_offset  )  [inline]

void dirac::SourceParams::SetTopOffset ( unsigned int  top_offset  )  [inline]

void dirac::SourceParams::SetSignalRange ( SignalRangeType  sr  ) 

void dirac::SourceParams::SetLumaOffset ( unsigned int  luma_offset  )  [inline]

void dirac::SourceParams::SetLumaExcursion ( unsigned int  luma_exc  )  [inline]

void dirac::SourceParams::SetChromaOffset ( unsigned int  chroma_off  )  [inline]

void dirac::SourceParams::SetChromaExcursion ( unsigned int  chroma_exc  )  [inline]

void dirac::SourceParams::SetColourSpecification ( unsigned int  cs_idx  ) 

void dirac::SourceParams::SetColourPrimariesIndex ( unsigned int  cp  ) 

void dirac::SourceParams::SetColourMatrixIndex ( unsigned int  cm  ) 

void dirac::SourceParams::SetTransferFunctionIndex ( unsigned int  tf  ) 


Member Data Documentation

VideoFormat dirac::SourceParams::m_video_format [private]

unsigned int dirac::SourceParams::m_xl [private]

unsigned int dirac::SourceParams::m_yl [private]

ChromaFormat dirac::SourceParams::m_cformat [private]

bool dirac::SourceParams::m_interlace [private]

bool dirac::SourceParams::m_topfieldfirst [private]

FrameRateType dirac::SourceParams::m_fr_idx [private]

Rational dirac::SourceParams::m_framerate [private]

AspectRatioType dirac::SourceParams::m_asr_idx [private]

Rational dirac::SourceParams::m_aspect_ratio [private]

unsigned int dirac::SourceParams::m_clean_width [private]

unsigned int dirac::SourceParams::m_clean_height [private]

unsigned int dirac::SourceParams::m_left_offset [private]

unsigned int dirac::SourceParams::m_top_offset [private]

SignalRangeType dirac::SourceParams::m_sr_idx [private]

unsigned int dirac::SourceParams::m_luma_offset [private]

unsigned int dirac::SourceParams::m_luma_excursion [private]

unsigned int dirac::SourceParams::m_chroma_offset [private]

unsigned int dirac::SourceParams::m_chroma_excursion [private]

unsigned int dirac::SourceParams::m_cs_idx [private]

ColourPrimaries dirac::SourceParams::m_col_primary [private]

ColourMatrix dirac::SourceParams::m_col_matrix [private]

TransferFunction dirac::SourceParams::m_transfer_func [private]


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.