OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "base/macros.h" |
6 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
7 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
8 | 9 |
9 #include "media/base/decrypt_config.h" | 10 #include "media/base/decrypt_config.h" |
10 #include "media/filters/h264_parser.h" | 11 #include "media/filters/h264_parser.h" |
11 | 12 |
12 namespace media { | 13 namespace media { |
13 | 14 |
14 bool H264SliceHeader::IsPSlice() const { | 15 bool H264SliceHeader::IsPSlice() const { |
15 return (slice_type % 5 == kPSlice); | 16 return (slice_type % 5 == kPSlice); |
(...skipping 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1337 | 1338 |
1338 default: | 1339 default: |
1339 DVLOG(4) << "Unsupported SEI message"; | 1340 DVLOG(4) << "Unsupported SEI message"; |
1340 break; | 1341 break; |
1341 } | 1342 } |
1342 | 1343 |
1343 return kOk; | 1344 return kOk; |
1344 } | 1345 } |
1345 | 1346 |
1346 } // namespace media | 1347 } // namespace media |
OLD | NEW |