| 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 |
| 11 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_ |
| 12 #define WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_ | 12 #define WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 | 15 |
| 16 #include "webrtc/api/video/video_frame.h" |
| 16 #include "webrtc/modules/video_processing/include/video_processing.h" | 17 #include "webrtc/modules/video_processing/include/video_processing.h" |
| 17 #include "webrtc/modules/video_processing/spatial_resampler.h" | 18 #include "webrtc/modules/video_processing/spatial_resampler.h" |
| 18 #include "webrtc/modules/video_processing/video_decimator.h" | 19 #include "webrtc/modules/video_processing/video_decimator.h" |
| 19 #include "webrtc/typedefs.h" | 20 #include "webrtc/typedefs.h" |
| 20 #include "webrtc/video_frame.h" | |
| 21 | 21 |
| 22 namespace webrtc { | 22 namespace webrtc { |
| 23 | 23 |
| 24 class VideoDenoiser; | 24 class VideoDenoiser; |
| 25 | 25 |
| 26 // All pointers/members in this class are assumed to be protected by the class | 26 // All pointers/members in this class are assumed to be protected by the class |
| 27 // owner. | 27 // owner. |
| 28 class VPMFramePreprocessor { | 28 class VPMFramePreprocessor { |
| 29 public: | 29 public: |
| 30 VPMFramePreprocessor(); | 30 VPMFramePreprocessor(); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 VideoFrame resampled_frame_; | 65 VideoFrame resampled_frame_; |
| 66 VPMSpatialResampler* spatial_resampler_; | 66 VPMSpatialResampler* spatial_resampler_; |
| 67 VPMVideoDecimator* vd_; | 67 VPMVideoDecimator* vd_; |
| 68 std::unique_ptr<VideoDenoiser> denoiser_; | 68 std::unique_ptr<VideoDenoiser> denoiser_; |
| 69 uint32_t frame_cnt_; | 69 uint32_t frame_cnt_; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace webrtc | 72 } // namespace webrtc |
| 73 | 73 |
| 74 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_ | 74 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_FRAME_PREPROCESSOR_H_ |
| OLD | NEW |