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

Side by Side Diff: media/filters/vp9_parser.cc

Issue 1445003002: Use std::default_delete as the default deleter for scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: How many trial and errors before this builds on the Windows bots Created 5 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // This file contains an implementation of a VP9 bitstream parser. 5 // This file contains an implementation of a VP9 bitstream parser.
6 6
7 #include "media/filters/vp9_parser.h" 7 #include "media/filters/vp9_parser.h"
8 8
9 #include <algorithm>
10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/numerics/safe_conversions.h" 12 #include "base/numerics/safe_conversions.h"
11 13
12 namespace { 14 namespace {
13 15
14 const int kMaxLoopFilterLevel = 63; 16 const int kMaxLoopFilterLevel = 63;
15 17
16 // Helper function for Vp9Parser::ReadTiles. Defined as get_min_log2_tile_cols 18 // Helper function for Vp9Parser::ReadTiles. Defined as get_min_log2_tile_cols
17 // in spec. 19 // in spec.
18 int GetMinLog2TileCols(int sb64_cols) { 20 int GetMinLog2TileCols(int sb64_cols) {
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 CLAMP_LF(level + loop_filter_.ref_deltas[type] * scale + 682 CLAMP_LF(level + loop_filter_.ref_deltas[type] * scale +
681 loop_filter_.mode_deltas[mode] * scale); 683 loop_filter_.mode_deltas[mode] * scale);
682 } 684 }
683 } 685 }
684 } 686 }
685 } 687 }
686 } 688 }
687 #undef CLAMP_LF 689 #undef CLAMP_LF
688 690
689 } // namespace media 691 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/logging/stats_event_subscriber.cc ('k') | media/renderers/mock_gpu_video_accelerator_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698