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;
182 void CleanAll(
const int show_pnum,
const int current_coded_pnum);
191 void CleanRetired(
const int show_pnum,
const int current_coded_pnum);
void PushPicture(const PictureParams &pp)
Put a new picture into the top of the buffer.
Definition: enc_picture.h:64
void SetRetiredPictureNum(const int show_pnum, const int current_coded_pnum)
Sets the reference picture number that will be cleaned.
std::map< unsigned int, unsigned int > m_pnum_map
the map from picture numbers to position in the buffer
Definition: enc_queue.h:216
EncQueue & operator=(const EncQueue &rhs)
Operator=.
void ClearSlot(const unsigned int pos)
Clear internal data slot number pos.
void CleanRetired(const int show_pnum, const int current_coded_pnum)
Delete retired reference pictures and expired non-ref pictures.
int Size() const
Returns the size of the queue.
Definition: enc_queue.h:148
void CopyPicture(const EncPicture &picture)
Put a copy of a new picture into the buffer.
void CleanAll(const int show_pnum, const int current_coded_pnum)
Delete all expired pictures.
ChromaFormat
Definition: common_types.h:58
EncQueue()
Default Constructor.
Parameters for initialising picture class objects.
Definition: common.h:532
std::vector< EncPicture * > m_pic_data
the buffer storing all the values
Definition: enc_queue.h:213
EncPicture & GetPicture(const unsigned int pnum)
Get picture with a given picture number (NOT with a given position in the buffer) ...
std::vector< int > Members() const
Returns a list of member pictures.
bool IsPictureAvail(const unsigned int pnum) const
Return true if picture with the particular picture number is available else return false...
Holds pictures both for reference and to overcome reordering delay.
Definition: enc_queue.h:59
void Remove(int pnum)
Delete picture.