Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: webrtc/modules/video_processing/include/video_processing.h

Issue 2517173004: Move VideoFrame and related declarations to webrtc/api/video. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_INCLUDE_VIDEO_PROCESSING_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_
12 #define WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_ 12 #define WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_
13 13
14 #include "webrtc/api/video/video_frame.h"
14 #include "webrtc/modules/include/module_common_types.h" 15 #include "webrtc/modules/include/module_common_types.h"
15 #include "webrtc/modules/video_processing/include/video_processing_defines.h" 16 #include "webrtc/modules/video_processing/include/video_processing_defines.h"
16 #include "webrtc/video_frame.h"
17 17
18 // The module is largely intended to process video streams, except functionality 18 // The module is largely intended to process video streams, except functionality
19 // provided by static functions which operate independent of previous frames. It 19 // provided by static functions which operate independent of previous frames. It
20 // is recommended, but not required that a unique instance be used for each 20 // is recommended, but not required that a unique instance be used for each
21 // concurrently processed stream. Similarly, it is recommended to call Reset() 21 // concurrently processed stream. Similarly, it is recommended to call Reset()
22 // before switching to a new stream, but this is not absolutely required. 22 // before switching to a new stream, but this is not absolutely required.
23 // 23 //
24 // The module provides basic thread safety by permitting only a single function 24 // The module provides basic thread safety by permitting only a single function
25 // to execute concurrently. 25 // to execute concurrently.
26 26
(...skipping 24 matching lines...) Expand all
51 virtual void SetInputFrameResampleMode( 51 virtual void SetInputFrameResampleMode(
52 VideoFrameResampling resampling_mode) = 0; 52 VideoFrameResampling resampling_mode) = 0;
53 53
54 virtual void EnableDenoising(bool enable) = 0; 54 virtual void EnableDenoising(bool enable) = 0;
55 virtual const VideoFrame* PreprocessFrame(const VideoFrame& frame) = 0; 55 virtual const VideoFrame* PreprocessFrame(const VideoFrame& frame) = 0;
56 }; 56 };
57 57
58 } // namespace webrtc 58 } // namespace webrtc
59 59
60 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_ 60 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698