Including Brighten function in namespace VideoProcessing

This change is in response to Issue 173.

BUG=http://code.google.com/p/webrtc/issues/detail?id=173

Review URL: http://webrtc-codereview.appspot.com/328012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1250 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org
2011-12-20 15:33:49 +00:00
parent c68f80a70a
commit 219acc6cec
3 changed files with 7 additions and 2 deletions

View File

@@ -15,6 +15,7 @@
#include "system_wrappers/interface/trace.h" #include "system_wrappers/interface/trace.h"
namespace webrtc { namespace webrtc {
namespace VideoProcessing {
WebRtc_Word32 Brighten(WebRtc_UWord8* frame, WebRtc_Word32 Brighten(WebRtc_UWord8* frame,
int width, int height, int delta) { int width, int height, int delta) {
@@ -47,4 +48,5 @@ WebRtc_Word32 Brighten(WebRtc_UWord8* frame,
return VPM_OK; return VPM_OK;
} }
} // namespace VideoProcessing
} // namespace webrtc } // namespace webrtc

View File

@@ -15,9 +15,12 @@
#include "modules/video_processing/main/interface/video_processing.h" #include "modules/video_processing/main/interface/video_processing.h"
namespace webrtc { namespace webrtc {
namespace VideoProcessing {
WebRtc_Word32 Brighten(WebRtc_UWord8* frame, WebRtc_Word32 Brighten(WebRtc_UWord8* frame,
int width, int height, int delta); int width, int height, int delta);
} // namespace
} // namespace VideoProcessing
} // namespace webrtc
#endif // MODULES_VIDEO_PROCESSING_MAIN_SOURCE_BRIGHTEN_H_ #endif // MODULES_VIDEO_PROCESSING_MAIN_SOURCE_BRIGHTEN_H_

View File

@@ -250,7 +250,7 @@ VideoProcessingModule::Brighten(WebRtc_UWord8* frame,
int height, int height,
int delta) int delta)
{ {
return Brighten(frame, width, height, delta); return VideoProcessing::Brighten(frame, width, height, delta);
} }
WebRtc_Word32 WebRtc_Word32