Created by the British Broadcasting Corporation.
Parameters relating to the source material being encoded/decoded.
#include <common.h>
dirac::SourceParams::SourceParams | ( | const VideoFormat & | vf = VIDEO_FORMAT_CUSTOM , |
bool | set_defaults = true |
||
) |
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, m_sr_idx, and SIGNAL_RANGE_CUSTOM.
void dirac::SourceParams::SetChromaOffset | ( | unsigned int | chroma_off | ) | [inline] |
References m_chroma_offset, m_sr_idx, and SIGNAL_RANGE_CUSTOM.
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 FRAMERATE_CUSTOM, m_fr_idx, and m_framerate.
void dirac::SourceParams::SetFrameRate | ( | unsigned int | fr_num, |
unsigned int | fr_denom | ||
) | [inline] |
References FRAMERATE_CUSTOM, dirac::Rational::m_denom, m_fr_idx, m_framerate, and dirac::Rational::m_num.
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, m_sr_idx, and SIGNAL_RANGE_CUSTOM.
void dirac::SourceParams::SetLumaOffset | ( | unsigned int | luma_offset | ) | [inline] |
References m_luma_offset, m_sr_idx, and SIGNAL_RANGE_CUSTOM.
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] |
References m_pix_asr_idx, m_pixel_aspect_ratio, and PIXEL_ASPECT_RATIO_CUSTOM.
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.
ChromaFormat dirac::SourceParams::m_cformat [private] |
Referenced by CFormat(), and SetCFormat().
unsigned int dirac::SourceParams::m_chroma_excursion [private] |
Referenced by ChromaExcursion(), and SetChromaExcursion().
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 ColourSpecificationIndex().
FrameRateType dirac::SourceParams::m_fr_idx [private] |
Referenced by FrameRateIndex(), and SetFrameRate().
Rational dirac::SourceParams::m_framerate [private] |
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().
Referenced by PixelAspectRatioIndex(), and SetPixelAspectRatio().
Referenced by PixelAspectRatio(), and SetPixelAspectRatio().
unsigned int dirac::SourceParams::m_source_sampling [private] |
Referenced by SetSourceSampling(), and SourceSampling().
SignalRangeType dirac::SourceParams::m_sr_idx [private] |
Referenced by SetChromaExcursion(), SetChromaOffset(), SetLumaExcursion(), SetLumaOffset(), and SignalRangeIndex().
unsigned int dirac::SourceParams::m_top_offset [private] |
Referenced by SetTopOffset(), and TopOffset().
bool dirac::SourceParams::m_topfieldfirst [private] |
Referenced by SetTopFieldFirst(), and TopFieldFirst().
Referenced by TransferFunctionIndex().
Referenced by GetVideoFormat(), and SetVideoFormat().
unsigned int dirac::SourceParams::m_xl [private] |
unsigned int dirac::SourceParams::m_yl [private] |
© 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.