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

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: Add CONTENT_EXPORT to VaapiWrapper 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
« no previous file with comments | « content/common/gpu/media/h264_dpb.h ('k') | content/common/gpu/media/va_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « content/common/gpu/media/h264_dpb.h ('k') | content/common/gpu/media/va_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698