Created by the British Broadcasting Corporation.
A class for encapsulating all the data relating to a picture. More...
#include <picture.h>
Public Member Functions | |
| Picture (const PictureParams &pp) | |
| Constructor. More... | |
| Picture (const Picture &cpy) | |
| Copy constructor. Private as not currently used [may want to implement reference counting later.]. More... | |
| virtual | ~Picture () |
| Destructor. More... | |
| Picture & | operator= (const Picture &rhs) |
| Assignment =. Private as not currently used [may want to implement reference counting later.]. More... | |
| void | Fill (ValueType val) |
| Picture Fill. More... | |
| PictureParams & | GetPparams () const |
| Gets the picture parameters. More... | |
| void | SetPictureSort (const PictureSort ps) |
| Sets the picture sort. More... | |
| void | SetPictureType (const PictureType ftype) |
| Sets the picture type. More... | |
| void | SetReferenceType (const ReferenceType rtype) |
| Sets the picture type. More... | |
| void | ReconfigPicture (const PictureParams &pp) |
| Reconfigures to the new parameters. More... | |
| PicArray & | Data (CompSort cs) |
| Returns a given component. More... | |
| const PicArray & | Data (CompSort cs) const |
| Returns a given component. More... | |
| PicArray & | UpData (CompSort cs) |
| Returns a given upconverted component. More... | |
| const PicArray & | UpData (CompSort cs) const |
| Returns a given upconverted component. More... | |
| const CoeffArray & | WltData (CompSort c) const |
| Returns the wavelet coefficient data. More... | |
| CoeffArray & | WltData (CompSort c) |
| Returns the wavelet coefficient data. More... | |
| void | InitWltData (const int transform_depth) |
| Initialises the wavelet coefficient data arrays;. More... | |
| void | Clip () |
| Clip the data to prevent overshoot. More... | |
| void | ClipUpData () |
| Clip the upconverted data to prevent overshoot. More... | |
Protected Member Functions | |
| virtual void | Init () |
| Initialises the picture once the picture parameters have been set. More... | |
| virtual void | ClearData () |
| Delete all the data. More... | |
| void | ClipComponent (PicArray &pic_data, CompSort cs) const |
| Clip an individual component. More... | |
Protected Attributes | |
| PictureParams | m_pparams |
| PicArray * | m_pic_data [3] |
| PicArray * | m_up_pic_data [3] |
| CoeffArray | m_wlt_data [3] |
A class for encapsulating all the data relating to a picture - all the component data, including upconverted data.
| dirac::Picture::Picture | ( | const PictureParams & | pp | ) |
Constructor initialises the picture parameters and the data
| dirac::Picture::Picture | ( | const Picture & | cpy | ) |
|
virtual |
|
protectedvirtual |
Reimplemented in dirac::EncPicture.
| void dirac::Picture::Clip | ( | ) |
Clips the data to lie between 0 and (1<<video_depth)-1
| void dirac::Picture::ClipUpData | ( | ) |
Clips the upconverted data to lie between 0 and (1<<video_depth)-1
References m_pic_data.
References m_pic_data.
| void dirac::Picture::Fill | ( | ValueType | val | ) |
Initialise contents of picture with value provided
|
inline |
References m_pparams.
|
protectedvirtual |
| void dirac::Picture::InitWltData | ( | const int | transform_depth | ) |
| void dirac::Picture::ReconfigPicture | ( | const PictureParams & | pp | ) |
|
inline |
References m_pparams, and dirac::PictureParams::SetPicSort().
|
inline |
References m_pparams, and dirac::PictureParams::SetPictureType().
|
inline |
References m_pparams, and dirac::PictureParams::SetReferenceType().
|
inline |
References m_wlt_data.
|
inline |
References m_wlt_data.
|
mutableprotected |
Referenced by GetPparams(), SetPictureSort(), SetPictureType(), and SetReferenceType().
|
mutableprotected |
|
protected |
Referenced by WltData().
© 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.