Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: content/common/gpu/media/h264_dpb.cc

Issue 14914009: VAVDA: Redesign stage 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/h264_dpb.cc
diff --git a/content/common/gpu/media/h264_dpb.cc b/content/common/gpu/media/h264_dpb.cc
index f97ca3d3fa04f268c78b14f62a39ed4957838eff..371d61283139a4df1084b653d6e645ae9edd8a8e 100644
--- a/content/common/gpu/media/h264_dpb.cc
+++ b/content/common/gpu/media/h264_dpb.cc
@@ -24,7 +24,7 @@ void H264DPB::set_max_num_pics(size_t max_num_pics) {
pics_.resize(max_num_pics_);
}
-void H264DPB::RemoveByPOC(int poc) {
+void H264DPB::DeleteByPOC(int poc) {
for (Pictures::iterator it = pics_.begin(); it != pics_.end(); ++it) {
if ((*it)->pic_order_cnt == poc) {
pics_.erase(it);
@@ -34,7 +34,7 @@ void H264DPB::RemoveByPOC(int poc) {
NOTREACHED() << "Missing POC: " << poc;
}
-void H264DPB::RemoveUnused() {
+void H264DPB::DeleteUnused() {
for (Pictures::iterator it = pics_.begin(); it != pics_.end(); ) {
if ((*it)->outputted && !(*it)->ref)
it = pics_.erase(it);

Powered by Google App Engine
This is Rietveld 408576698