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

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

Issue 967693002: Clang fixes for chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 years, 9 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 <algorithm> 5 #include <algorithm>
6 #include <limits> 6 #include <limits>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
(...skipping 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 default: 1262 default:
1263 DVLOG(4) << "Skipping NALU type: " << curr_nalu_->nal_unit_type; 1263 DVLOG(4) << "Skipping NALU type: " << curr_nalu_->nal_unit_type;
1264 break; 1264 break;
1265 } 1265 }
1266 1266
1267 DVLOG(4) << "Dropping nalu"; 1267 DVLOG(4) << "Dropping nalu";
1268 curr_nalu_.reset(); 1268 curr_nalu_.reset();
1269 } 1269 }
1270 } 1270 }
1271 1271
1272 gfx::Size H264Decoder::GetPicSize() const {
1273 return pic_size_;
1274 }
1275
1272 size_t H264Decoder::GetRequiredNumOfPictures() const { 1276 size_t H264Decoder::GetRequiredNumOfPictures() const {
1273 return dpb_.max_num_pics() + kPicsInPipeline; 1277 return dpb_.max_num_pics() + kPicsInPipeline;
1274 } 1278 }
1275 1279
1276 } // namespace content 1280 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/h264_decoder.h ('k') | content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698