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

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

References m_interlace.

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

References m_topfieldfirst.

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

References m_seq_fields.

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

References m_framerate.

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

References m_fr_idx.

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

References m_aspect_ratio.

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

References m_asr_idx.

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

References m_clean_width.

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

References m_clean_height.

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

References m_left_offset.

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

References m_top_offset.

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

References m_sr_idx.

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

References m_luma_offset.

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

References m_luma_excursion.

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

References m_chroma_offset.

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

References m_chroma_excursion.

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

References m_cs_idx.

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

References m_col_primary.

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

References m_col_matrix.

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

References m_transfer_func.

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

References m_interlace.

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

References m_topfieldfirst.

void dirac::SourceParams::SetSequentialFields ( bool  seq_flds  )  [inline]

References m_seq_fields.

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]

References m_clean_width.

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

References m_clean_height.

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

References m_left_offset.

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

References m_top_offset.

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

Referenced by Interlace(), and SetInterlace().

Referenced by SetTopFieldFirst(), and TopFieldFirst().

Referenced by FrameRateIndex(), and SetFrameRate().

Referenced by FrameRate(), and SetFrameRate().

Referenced by AspectRatioIndex(), and SetAspectRatio().

Referenced by AspectRatio(), and SetAspectRatio().

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

Referenced by CleanWidth(), and SetCleanWidth().

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

Referenced by CleanHeight(), and SetCleanHeight().

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

Referenced by LeftOffset(), and SetLeftOffset().

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

Referenced by SetTopOffset(), and TopOffset().

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

Referenced by LumaOffset(), and SetLumaOffset().

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

Referenced by LumaExcursion(), and SetLumaExcursion().

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

Referenced by ChromaOffset(), and SetChromaOffset().

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

Referenced by ColourPrimariesIndex().

Referenced by ColourMatrixIndex().

Referenced by TransferFunctionIndex().


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.