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 28 matching lines...) Expand all Loading... |
39 void SetInputFrameResampleMode(VideoFrameResampling resampling_mode); | 39 void SetInputFrameResampleMode(VideoFrameResampling resampling_mode); |
40 | 40 |
41 // Enable content analysis. | 41 // Enable content analysis. |
42 void EnableContentAnalysis(bool enable); | 42 void EnableContentAnalysis(bool enable); |
43 | 43 |
44 // Set target resolution: frame rate and dimension. | 44 // Set target resolution: frame rate and dimension. |
45 int32_t SetTargetResolution(uint32_t width, | 45 int32_t SetTargetResolution(uint32_t width, |
46 uint32_t height, | 46 uint32_t height, |
47 uint32_t frame_rate); | 47 uint32_t frame_rate); |
48 | 48 |
49 // Set target frame rate. | |
50 void SetTargetFramerate(int frame_rate); | |
51 | |
52 // Update incoming frame rate/dimension. | 49 // Update incoming frame rate/dimension. |
53 void UpdateIncomingframe_rate(); | 50 void UpdateIncomingframe_rate(); |
54 | 51 |
55 int32_t updateIncomingFrameSize(uint32_t width, uint32_t height); | 52 int32_t updateIncomingFrameSize(uint32_t width, uint32_t height); |
56 | 53 |
57 // Set decimated values: frame rate/dimension. | 54 // Set decimated values: frame rate/dimension. |
58 uint32_t GetDecimatedFrameRate(); | 55 uint32_t GetDecimatedFrameRate(); |
59 uint32_t GetDecimatedWidth() const; | 56 uint32_t GetDecimatedWidth() const; |
60 uint32_t GetDecimatedHeight() const; | 57 uint32_t GetDecimatedHeight() const; |
61 | 58 |
(...skipping 15 matching lines...) Expand all Loading... |
77 VPMVideoDecimator* vd_; | 74 VPMVideoDecimator* vd_; |
78 std::unique_ptr<VideoDenoiser> denoiser_; | 75 std::unique_ptr<VideoDenoiser> denoiser_; |
79 bool enable_ca_; | 76 bool enable_ca_; |
80 uint8_t denoised_frame_toggle_; | 77 uint8_t denoised_frame_toggle_; |
81 uint32_t frame_cnt_; | 78 uint32_t frame_cnt_; |
82 }; | 79 }; |
83 | 80 |
84 } // namespace webrtc | 81 } // namespace webrtc |
85 | 82 |
86 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_ | 83 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_ |
OLD | NEW |