Dirac - A Video Codec
Created by the British Broadcasting Corporation.
Go to the documentation of this file.
81 const unsigned int luma_depth,
82 const unsigned int chroma_depth,
108 const unsigned int luma_depth,
109 const unsigned int chroma_depth,
182 void CleanAll(
const int show_pnum,
const int current_coded_pnum);
Holds pictures both for reference and to overcome reordering delay.
Definition: enc_queue.h:59
Definition of class SequenceHeaderByteIO.
Definition: accessunit_byteio.h:52
Parameters for initialising picture class objects.
Definition: common.h:533
void ClearSlot(const unsigned int pos)
Clear internal data slot number pos.
ChromaFormat
Definition: common_types.h:58
void CleanAll(const int show_pnum, const int current_coded_pnum)
Delete all expired pictures.
void CleanRetired(const int show_pnum, const int current_coded_pnum)
Delete retired reference pictures and expired non-ref pictures.
void PushPicture(const PictureParams &pp)
Put a new picture into the top of the buffer.
const EncPicture & GetPicture(const unsigned int pnum) const
Get picture with a given picture number (NOT with a given position in the buffer)
void Remove(int pnum)
Delete picture.
std::vector< EncPicture * > m_pic_data
the buffer storing all the values
Definition: enc_queue.h:213
Definition: enc_picture.h:65
EncPicture & GetPicture(const unsigned int pnum)
Get picture with a given picture number (NOT with a given position in the buffer)
const EncPicture & GetPicture(const unsigned int pnum, bool &is_present) const
Get picture with a given picture number, setting a flag to true if it's there.
EncQueue(ChromaFormat cf, const int numL1, const int L1sep, const int xlen, const int ylen, const unsigned int luma_depth, const unsigned int chroma_depth, bool interlace, bool using_ac)
Constructor.
std::vector< int > Members() const
Returns a list of member pictures.
void CopyPicture(const EncPicture &picture)
Put a copy of a new picture into the buffer.
EncQueue(const EncQueue &cpy)
Copy constructor.
EncQueue(ChromaFormat cf, const int xlen, const int ylen, const unsigned int luma_depth, const unsigned int chroma_depth, bool using_ac)
Constructor.
void SetRetiredPictureNum(const int show_pnum, const int current_coded_pnum)
Sets the reference picture number that will be cleaned.
EncQueue()
Default Constructor.
bool IsPictureAvail(const unsigned int pnum) const
Return true if picture with the particular picture number is available else return false.
EncQueue & operator=(const EncQueue &rhs)
Operator=.
int Size() const
Returns the size of the queue.
Definition: enc_queue.h:148
std::map< unsigned int, unsigned int > m_pnum_map
the map from picture numbers to position in the buffer
Definition: enc_queue.h:216
EncPicture & GetPicture(const unsigned int pnum, bool &is_present)
Get picture with a given picture number, setting a flag to true if it's there.
© 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.