Dirac - A Video Codec
Created by the British Broadcasting Corporation.
Go to the documentation of this file.
39 #ifndef _PICTURE_BUFFER_H_
40 #define _PICTURE_BUFFER_H_
81 const unsigned int luma_depth,
82 const unsigned int chroma_depth,
108 const unsigned int luma_depth,
109 const unsigned int chroma_depth,
145 std::vector<int>
Members()
const;
~PictureBuffer()
Destructor.
A class for encapsulating all the data relating to a picture.
Definition: picture.h:51
Definition of class SequenceHeaderByteIO.
Definition: accessunit_byteio.h:51
Parameters for initialising picture class objects.
Definition: common.h:532
void PushPicture(const PictureParams &pp)
Put a new picture into the top of the buffer.
ChromaFormat
Definition: common_types.h:58
std::vector< int > Members() const
Returns a list of member pictures.
std::vector< Picture * > m_pic_data
the buffer storing all the values
Definition: picture_buffer.h:189
Holds pictures both for reference and to overcome reordering delay.
Definition: picture_buffer.h:59
void ClearSlot(const unsigned int pos)
Clear internal data slot number pos.
PictureBuffer & operator=(const PictureBuffer &rhs)
Operator=.
void CopyPicture(const Picture &picture)
Put a copy of a new picture into the buffer.
PictureBuffer()
Default Constructor.
std::map< unsigned int, unsigned int > m_pnum_map
the map from picture numbers to position in the buffer
Definition: picture_buffer.h:192
bool IsPictureAvail(const unsigned int pnum) const
Return true if picture with the particular picture number is available else return false.
void SetRetiredPictureNum(const int show_pnum, const int current_coded_pnum)
Sets the reference picture number that will be cleaned.
Picture & GetPicture(const unsigned int pnum)
Get picture with a given picture number (NOT with a given position in the buffer)
void Remove(int pnum)
Delete picture.
© 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.