Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Public Member Functions | Private Attributes

dirac::SourceParams Class Reference

Parameters relating to the source material being encoded/decoded.

#include <common.h>

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

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

References m_cformat.

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

References m_chroma_excursion.

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

References m_chroma_offset.

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

References m_clean_height.

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

References m_clean_width.

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

References m_col_matrix.

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

References m_col_primary.

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

References m_cs_idx.

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

References m_framerate.

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

References m_fr_idx.

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

References m_video_format.

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

References m_left_offset.

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

References m_luma_excursion.

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

References m_luma_offset.

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

References m_pixel_aspect_ratio.

PixelAspectRatioType dirac::SourceParams::PixelAspectRatioIndex (  )  const [inline]

References m_pix_asr_idx.

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

References m_cformat.

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

References m_chroma_excursion, and m_sr_idx.

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

References m_chroma_offset, and m_sr_idx.

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

References m_clean_height.

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

References m_clean_width.

void dirac::SourceParams::SetColourMatrixIndex ( unsigned int  cm  ) 
void dirac::SourceParams::SetColourPrimariesIndex ( unsigned int  cp  ) 
void dirac::SourceParams::SetColourSpecification ( unsigned int  cs_idx  ) 
void dirac::SourceParams::SetFrameRate ( const Rational frate  )  [inline]

References m_fr_idx, and m_framerate.

void dirac::SourceParams::SetFrameRate ( unsigned int  fr_num,
unsigned int  fr_denom 
) [inline]
void dirac::SourceParams::SetFrameRate ( FrameRateType  fr  ) 
void dirac::SourceParams::SetLeftOffset ( unsigned int  left_offset  )  [inline]

References m_left_offset.

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

References m_luma_excursion, and m_sr_idx.

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

References m_luma_offset, and m_sr_idx.

void dirac::SourceParams::SetPixelAspectRatio ( unsigned int  pix_as_num,
unsigned int  pix_as_denom 
) [inline]
void dirac::SourceParams::SetPixelAspectRatio ( PixelAspectRatioType  pixel_aspect_ratio  ) 
void dirac::SourceParams::SetPixelAspectRatio ( const Rational pix_asr  )  [inline]
void dirac::SourceParams::SetSignalRange ( SignalRangeType  sr  ) 
void dirac::SourceParams::SetSourceSampling ( unsigned int  source_sampling  )  [inline]

References m_source_sampling.

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

References m_topfieldfirst.

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

References m_top_offset.

void dirac::SourceParams::SetTransferFunctionIndex ( unsigned int  tf  ) 
void dirac::SourceParams::SetVideoFormat ( VideoFormat  vf  )  [inline]

References m_video_format.

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

References m_xl.

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

References m_yl.

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

References m_sr_idx.

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

References m_source_sampling.

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

References m_topfieldfirst.

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

References m_top_offset.

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

References m_transfer_func.

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

References m_xl.

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

References m_yl.


Member Data Documentation

Referenced by CFormat(), and SetCFormat().

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

Referenced by ChromaOffset(), and SetChromaOffset().

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

Referenced by CleanHeight(), and SetCleanHeight().

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

Referenced by CleanWidth(), and SetCleanWidth().

Referenced by ColourMatrixIndex().

Referenced by ColourPrimariesIndex().

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

Referenced by FrameRateIndex(), and SetFrameRate().

Referenced by FrameRate(), and SetFrameRate().

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

Referenced by LeftOffset(), and SetLeftOffset().

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

Referenced by LumaExcursion(), and SetLumaExcursion().

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

Referenced by LumaOffset(), and SetLumaOffset().

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

Referenced by SetTopOffset(), and TopOffset().

Referenced by SetTopFieldFirst(), and TopFieldFirst().

Referenced by TransferFunctionIndex().

Referenced by GetVideoFormat(), and SetVideoFormat().

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

Referenced by SetXl(), and Xl().

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

Referenced by SetYl(), and 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.