OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/renderer/media/rtc_video_decoder.h" | 5 #include "content/renderer/media/gpu/rtc_video_decoder.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
13 #include "base/numerics/safe_conversions.h" | 13 #include "base/numerics/safe_conversions.h" |
14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
15 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 | 891 |
892 void RTCVideoDecoder::TryResetVDAErrorCounter_Locked() { | 892 void RTCVideoDecoder::TryResetVDAErrorCounter_Locked() { |
893 lock_.AssertAcquired(); | 893 lock_.AssertAcquired(); |
894 | 894 |
895 if (vda_error_counter_ == 0) | 895 if (vda_error_counter_ == 0) |
896 return; | 896 return; |
897 vda_error_counter_ = 0; | 897 vda_error_counter_ = 0; |
898 } | 898 } |
899 | 899 |
900 } // namespace content | 900 } // namespace content |
OLD | NEW |