| 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_SOURCEdeflickering__H | 11 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_DEFLICKERING_H_ |
| 12 #define WEBRTC_MODULES_VIDEO_PROCESSING_MAIN_SOURCEdeflickering__H | 12 #define WEBRTC_MODULES_VIDEO_PROCESSING_DEFLICKERING_H_ |
| 13 | 13 |
| 14 #include <string.h> // NULL | 14 #include <string.h> // NULL |
| 15 | 15 |
| 16 #include "webrtc/modules/video_processing/main/interface/video_processing.h" | 16 #include "webrtc/modules/video_processing/include/video_processing.h" |
| 17 #include "webrtc/typedefs.h" | 17 #include "webrtc/typedefs.h" |
| 18 | 18 |
| 19 namespace webrtc { | 19 namespace webrtc { |
| 20 | 20 |
| 21 class VPMDeflickering { | 21 class VPMDeflickering { |
| 22 public: | 22 public: |
| 23 VPMDeflickering(); | 23 VPMDeflickering(); |
| 24 ~VPMDeflickering(); | 24 ~VPMDeflickering(); |
| 25 | 25 |
| 26 void Reset(); | 26 void Reset(); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 46 int32_t mean_buffer_[kMeanBufferLength]; | 46 int32_t mean_buffer_[kMeanBufferLength]; |
| 47 uint32_t timestamp_buffer_[kMeanBufferLength]; | 47 uint32_t timestamp_buffer_[kMeanBufferLength]; |
| 48 uint32_t frame_rate_; | 48 uint32_t frame_rate_; |
| 49 static const uint16_t prob_uw16_[kNumProbs]; | 49 static const uint16_t prob_uw16_[kNumProbs]; |
| 50 static const uint16_t weight_uw16_[kNumQuants - kMaxOnlyLength]; | 50 static const uint16_t weight_uw16_[kNumQuants - kMaxOnlyLength]; |
| 51 uint8_t quant_hist_uw8_[kFrameHistory_size][kNumQuants]; | 51 uint8_t quant_hist_uw8_[kFrameHistory_size][kNumQuants]; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace webrtc | 54 } // namespace webrtc |
| 55 | 55 |
| 56 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_MAIN_SOURCEdeflickering__H | 56 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_DEFLICKERING_H_ |
| OLD | NEW |