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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 // Enable temporal decimation. | 35 // Enable temporal decimation. |
36 void EnableTemporalDecimation(bool enable); | 36 void EnableTemporalDecimation(bool enable); |
37 | 37 |
38 void SetInputFrameResampleMode(VideoFrameResampling resampling_mode); | 38 void SetInputFrameResampleMode(VideoFrameResampling resampling_mode); |
39 | 39 |
40 // Enable content analysis. | 40 // Enable content analysis. |
41 void EnableContentAnalysis(bool enable); | 41 void EnableContentAnalysis(bool enable); |
42 | 42 |
43 // Set target resolution: frame rate and dimension. | 43 // Set target resolution: frame rate and dimension. |
44 int32_t SetTargetResolution(uint32_t width, uint32_t height, | 44 int32_t SetTargetResolution(uint32_t width, |
| 45 uint32_t height, |
45 uint32_t frame_rate); | 46 uint32_t frame_rate); |
46 | 47 |
47 // Set target frame rate. | 48 // Set target frame rate. |
48 void SetTargetFramerate(int frame_rate); | 49 void SetTargetFramerate(int frame_rate); |
49 | 50 |
50 // Update incoming frame rate/dimension. | 51 // Update incoming frame rate/dimension. |
51 void UpdateIncomingframe_rate(); | 52 void UpdateIncomingframe_rate(); |
52 | 53 |
53 int32_t updateIncomingFrameSize(uint32_t width, uint32_t height); | 54 int32_t updateIncomingFrameSize(uint32_t width, uint32_t height); |
54 | 55 |
(...skipping 19 matching lines...) Expand all Loading... |
74 VPMContentAnalysis* ca_; | 75 VPMContentAnalysis* ca_; |
75 VPMVideoDecimator* vd_; | 76 VPMVideoDecimator* vd_; |
76 rtc::scoped_ptr<VideoDenoiser> denoiser_; | 77 rtc::scoped_ptr<VideoDenoiser> denoiser_; |
77 bool enable_ca_; | 78 bool enable_ca_; |
78 uint32_t frame_cnt_; | 79 uint32_t frame_cnt_; |
79 }; | 80 }; |
80 | 81 |
81 } // namespace webrtc | 82 } // namespace webrtc |
82 | 83 |
83 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_ | 84 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_ |
OLD | NEW |