| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 #include "webrtc/rtc_base/random.h" | 33 #include "webrtc/rtc_base/random.h" |
| 34 #include "webrtc/rtc_base/timeutils.h" | 34 #include "webrtc/rtc_base/timeutils.h" |
| 35 #include "webrtc/rtc_base/trace_event.h" | 35 #include "webrtc/rtc_base/trace_event.h" |
| 36 #include "webrtc/system_wrappers/include/clock.h" | 36 #include "webrtc/system_wrappers/include/clock.h" |
| 37 #include "webrtc/system_wrappers/include/field_trial.h" | 37 #include "webrtc/system_wrappers/include/field_trial.h" |
| 38 #include "webrtc/system_wrappers/include/metrics.h" | 38 #include "webrtc/system_wrappers/include/metrics.h" |
| 39 | 39 |
| 40 namespace webrtc { | 40 namespace webrtc { |
| 41 namespace { | 41 namespace { |
| 42 | 42 |
| 43 const char kVp8PostProcArmFieldTrial[] = "WebRTC-VP8-Postproc-Arm"; | 43 const char kVp8PostProcArmFieldTrial[] = "WebRTC-VP8-Postproc-Config-Arm"; |
| 44 const char kVp8GfBoostFieldTrial[] = "WebRTC-VP8-GfBoost"; | 44 const char kVp8GfBoostFieldTrial[] = "WebRTC-VP8-GfBoost"; |
| 45 const char kVp8ForceFallbackEncoderFieldTrial[] = | 45 const char kVp8ForceFallbackEncoderFieldTrial[] = |
| 46 "WebRTC-VP8-Forced-Fallback-Encoder"; | 46 "WebRTC-VP8-Forced-Fallback-Encoder"; |
| 47 | 47 |
| 48 const int kTokenPartitions = VP8_ONE_TOKENPARTITION; | 48 const int kTokenPartitions = VP8_ONE_TOKENPARTITION; |
| 49 enum { kVp8ErrorPropagationTh = 30 }; | 49 enum { kVp8ErrorPropagationTh = 30 }; |
| 50 enum { kVp832ByteAlign = 32 }; | 50 enum { kVp832ByteAlign = 32 }; |
| 51 | 51 |
| 52 // VP8 denoiser states. | 52 // VP8 denoiser states. |
| 53 enum denoiserState { | 53 enum denoiserState { |
| (...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1250 buffer_pool_.Release(); | 1250 buffer_pool_.Release(); |
| 1251 inited_ = false; | 1251 inited_ = false; |
| 1252 return WEBRTC_VIDEO_CODEC_OK; | 1252 return WEBRTC_VIDEO_CODEC_OK; |
| 1253 } | 1253 } |
| 1254 | 1254 |
| 1255 const char* VP8DecoderImpl::ImplementationName() const { | 1255 const char* VP8DecoderImpl::ImplementationName() const { |
| 1256 return "libvpx"; | 1256 return "libvpx"; |
| 1257 } | 1257 } |
| 1258 | 1258 |
| 1259 } // namespace webrtc | 1259 } // namespace webrtc |
| OLD | NEW |