43 de265_PTS pts,
void* user_data,
bool isOutputImage);
53 int size()
const {
return dpb.size(); }
58 if (index>=dpb.size())
return NULL;
63 if (index>=dpb.size())
return NULL;
76 reorder_output_queue.push_back(img);
105 int max_images_in_DPB;
106 int norm_images_in_DPB;
108 std::vector<struct de265_image*> dpb;
110 std::vector<struct de265_image*> reorder_output_queue;
111 std::deque<struct de265_image*> image_output_queue;
void log_dpb_content() const
void insert_image_into_reorder_buffer(struct de265_image *img)
Definition: dpb.h:75
struct de265_image * get_next_picture_in_output_queue() const
Definition: dpb.h:93
~decoded_picture_buffer()
int num_pictures_in_reorder_buffer() const
Definition: dpb.h:79
bool flush_reorder_buffer()
void set_max_size_of_DPB(int n)
Definition: dpb.h:37
void log_dpb_queues() const
void set_norm_size_of_DPB(int n)
Definition: dpb.h:38
int num_pictures_in_output_queue() const
Definition: dpb.h:90
void pop_next_picture_in_output_queue()
int DPB_index_of_picture_with_POC(int poc, int currentID, bool preferLongTerm=false) const
bool has_free_dpb_picture(bool high_priority) const
int size() const
Definition: dpb.h:53
int new_image(std::shared_ptr< const seq_parameter_set > sps, decoder_context *decctx, de265_PTS pts, void *user_data, bool isOutputImage)
int DPB_index_of_picture_with_ID(int id) const
int DPB_index_of_picture_with_LSB(int lsb, int currentID, bool preferLongTerm=false) const
void output_next_picture_in_reorder_buffer()
const de265_image * get_image(int index) const
Definition: dpb.h:62
de265_image * get_image(int index)
Definition: dpb.h:57
int64_t de265_PTS
Definition: de265.h:166