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

Side by Side Diff: content/common/gpu/media/h264_dpb.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <string.h>
6
5 #include <algorithm> 7 #include <algorithm>
6 8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "base/stl_util.h" 10 #include "base/stl_util.h"
9 #include "content/common/gpu/media/h264_dpb.h" 11 #include "content/common/gpu/media/h264_dpb.h"
10 12
11 namespace content { 13 namespace content {
12 14
13 H264Picture::H264Picture() 15 H264Picture::H264Picture()
14 : pic_order_cnt_type(0), 16 : pic_order_cnt_type(0),
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 } 166 }
165 167
166 void H264DPB::GetLongTermRefPicsAppending(H264Picture::Vector* out) { 168 void H264DPB::GetLongTermRefPicsAppending(H264Picture::Vector* out) {
167 for (const auto& pic : pics_) { 169 for (const auto& pic : pics_) {
168 if (pic->ref && pic->long_term) 170 if (pic->ref && pic->long_term)
169 out->push_back(pic); 171 out->push_back(pic);
170 } 172 }
171 } 173 }
172 174
173 } // namespace content 175 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/generic_v4l2_device.cc ('k') | content/common/gpu/media/jpeg_decode_accelerator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698