| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 |
| 11 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_MAIN_SOURCE_VIDEO_DECIMATOR_H | 11 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_MAIN_SOURCE_VIDEO_DECIMATOR_H |
| 12 #define WEBRTC_MODULES_VIDEO_PROCESSING_MAIN_SOURCE_VIDEO_DECIMATOR_H | 12 #define WEBRTC_MODULES_VIDEO_PROCESSING_MAIN_SOURCE_VIDEO_DECIMATOR_H |
| 13 | 13 |
| 14 #include "webrtc/modules/interface/module_common_types.h" | 14 #include "webrtc/modules/include/module_common_types.h" |
| 15 #include "webrtc/typedefs.h" | 15 #include "webrtc/typedefs.h" |
| 16 | 16 |
| 17 namespace webrtc { | 17 namespace webrtc { |
| 18 | 18 |
| 19 class VPMVideoDecimator { | 19 class VPMVideoDecimator { |
| 20 public: | 20 public: |
| 21 VPMVideoDecimator(); | 21 VPMVideoDecimator(); |
| 22 ~VPMVideoDecimator(); | 22 ~VPMVideoDecimator(); |
| 23 | 23 |
| 24 void Reset(); | 24 void Reset(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 49 uint32_t keep_count_; | 49 uint32_t keep_count_; |
| 50 uint32_t target_frame_rate_; | 50 uint32_t target_frame_rate_; |
| 51 float incoming_frame_rate_; | 51 float incoming_frame_rate_; |
| 52 int64_t incoming_frame_times_[kFrameCountHistory_size]; | 52 int64_t incoming_frame_times_[kFrameCountHistory_size]; |
| 53 bool enable_temporal_decimation_; | 53 bool enable_temporal_decimation_; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace webrtc | 56 } // namespace webrtc |
| 57 | 57 |
| 58 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_MAIN_SOURCE_VIDEO_DECIMATOR_H | 58 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_MAIN_SOURCE_VIDEO_DECIMATOR_H |
| OLD | NEW |