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

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

Issue 1410663004: modules/video_processing: refactor interface->include + more. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 5 years, 1 month 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 /* 11 /*
12 * video_processing.h 12 * video_processing.h
13 * This header file contains the API required for the video 13 * This header file contains the API required for the video
14 * processing module class. 14 * processing module class.
15 */ 15 */
16 16
17 17
18 #ifndef WEBRTC_MODULES_INTERFACE_VIDEO_PROCESSING_H 18 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_
19 #define WEBRTC_MODULES_INTERFACE_VIDEO_PROCESSING_H 19 #define WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_
20 20
21 #include "webrtc/modules/include/module.h" 21 #include "webrtc/modules/include/module.h"
22 #include "webrtc/modules/include/module_common_types.h" 22 #include "webrtc/modules/include/module_common_types.h"
23 #include "webrtc/modules/video_processing/main/interface/video_processing_define s.h" 23 #include "webrtc/modules/video_processing/include/video_processing_defines.h"
24 #include "webrtc/video_frame.h" 24 #include "webrtc/video_frame.h"
25 25
26 /** 26 /**
27 The module is largely intended to process video streams, except functionality 27 The module is largely intended to process video streams, except functionality
28 provided by static functions which operate independent of previous frames. It 28 provided by static functions which operate independent of previous frames. It
29 is recommended, but not required that a unique instance be used for each 29 is recommended, but not required that a unique instance be used for each
30 concurrently processed stream. Similarly, it is recommended to call Reset() 30 concurrently processed stream. Similarly, it is recommended to call Reset()
31 before switching to a new stream, but this is not absolutely required. 31 before switching to a new stream, but this is not absolutely required.
32 32
33 The module provides basic thread safety by permitting only a single function 33 The module provides basic thread safety by permitting only a single function
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 virtual VideoContentMetrics* ContentMetrics() const = 0 ; 260 virtual VideoContentMetrics* ContentMetrics() const = 0 ;
261 261
262 /** 262 /**
263 Enable content analysis 263 Enable content analysis
264 */ 264 */
265 virtual void EnableContentAnalysis(bool enable) = 0; 265 virtual void EnableContentAnalysis(bool enable) = 0;
266 }; 266 };
267 267
268 } // namespace webrtc 268 } // namespace webrtc
269 269
270 #endif // WEBRTC_MODULES_INTERFACE_VIDEO_PROCESSING_H 270 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_INCLUDE_VIDEO_PROCESSING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698