Proper spacing for end-of-namespace comments.

BUG=
R=mflodman@webrtc.org, tina.legrand@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1760006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4293 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org
2013-07-03 15:12:26 +00:00
parent 45426eadf5
commit d900e8bea8
316 changed files with 406 additions and 406 deletions

View File

@@ -83,4 +83,4 @@ termSource (j_decompress_ptr cinfo)
// //
} }
} // end of namespace webrtc } // namespace webrtc

View File

@@ -62,7 +62,7 @@ skipInputData(j_decompress_ptr cinfo, long num_bytes);
void void
termSource (j_decompress_ptr cinfo); termSource (j_decompress_ptr cinfo);
} // end of namespace webrtc } // namespace webrtc
#endif /* WEBRTC_COMMON_VIDEO_JPEG_DATA_MANAGER */ #endif /* WEBRTC_COMMON_VIDEO_JPEG_DATA_MANAGER */

View File

@@ -67,7 +67,7 @@ namespace webrtc {
#define ACM_ISAC_GETDECSAMPRATE ACMISACFixGetDecSampRate // local Impl #define ACM_ISAC_GETDECSAMPRATE ACMISACFixGetDecSampRate // local Impl
#endif #endif
} //namespace } // namespace
#endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_SOURCE_ACM_ISAC_MACROS_H_ #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_SOURCE_ACM_ISAC_MACROS_H_

View File

@@ -75,6 +75,6 @@ private:
}; };
} //namespace webrtc } // namespace webrtc
#endif // AUDIO_MIXER_MAC_H #endif // AUDIO_MIXER_MAC_H

View File

@@ -52,6 +52,6 @@ public:
uint32_t _incomingBitRate; uint32_t _incomingBitRate;
double _noiseVar; double _noiseVar;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_BWE_DEFINES_H_ #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_BWE_DEFINES_H_

View File

@@ -394,7 +394,7 @@ int32_t DeviceInfoImpl::GetOrientation(const char* deviceUniqueIdUTF8,
orientation = kCameraRotate0; orientation = kCameraRotate0;
return -1; return -1;
} }
} //namespace videocapturemodule } // namespace videocapturemodule
} // namespace webrtc } // namespace webrtc

View File

@@ -63,6 +63,6 @@ protected:
char* _lastUsedDeviceName; char* _lastUsedDeviceName;
uint32_t _lastUsedDeviceNameLength; uint32_t _lastUsedDeviceNameLength;
}; };
} //namespace videocapturemodule } // namespace videocapturemodule
} // namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_ #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_

View File

@@ -31,6 +31,6 @@ struct DelayValues
DelayValue delayValues[NoOfDelayValues]; DelayValue delayValues[NoOfDelayValues];
}; };
} //namespace videocapturemodule } // namespace videocapturemodule
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_DELAY_H_ #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_DELAY_H_

View File

@@ -527,4 +527,4 @@ STDMETHODIMP CaptureSinkFilter::GetClassID( OUT CLSID * pCLSID )
} }
} // namespace videocapturemodule } // namespace videocapturemodule
} //namespace webrtc } // namespace webrtc

View File

@@ -410,4 +410,4 @@ HRESULT VideoCaptureDS::ConnectDVCamera()
return hr; return hr;
} }
} // namespace videocapturemodule } // namespace videocapturemodule
} //namespace webrtc } // namespace webrtc

View File

@@ -77,5 +77,5 @@ protected:
}; };
} // namespace videocapturemodule } // namespace videocapturemodule
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_VIDEO_CAPTURE_DS_H_ #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_VIDEO_CAPTURE_DS_H_

View File

@@ -122,4 +122,4 @@ void VCMContentMetricsProcessing::UpdateRecursiveAvg(
recursive_avg_->motion_magnitude + recursive_avg_->motion_magnitude +
recursive_avg_factor_ * contentMetrics->motion_magnitude; recursive_avg_factor_ * contentMetrics->motion_magnitude;
} }
} // end of namespace } // namespace

View File

@@ -956,4 +956,4 @@ bool VCMQmRobustness::SetUepProtection(uint8_t code_rate_delta,
// Default. // Default.
return false; return false;
} }
} // end of namespace } // namespace

View File

@@ -299,6 +299,6 @@ public:
}; };
} //namespace } // namespace
#endif #endif

View File

@@ -38,6 +38,6 @@ enum VideoFrameResampling
kBox, // Box inteprolation kBox, // Box inteprolation
}; };
} //namespace } // namespace
#endif #endif

View File

@@ -193,4 +193,4 @@ VPMBrightnessDetection::ProcessFrame(const I420VideoFrame& frame,
} }
} }
} //namespace } // namespace

View File

@@ -39,6 +39,6 @@ private:
uint32_t _frameCntDark; uint32_t _frameCntDark;
}; };
} //namespace } // namespace
#endif // VPM_BRIGHTNESS_DETECTION_H #endif // VPM_BRIGHTNESS_DETECTION_H

View File

@@ -59,6 +59,6 @@ namespace VideoProcessing
return VPM_OK; return VPM_OK;
} }
} //namespace } // namespace
} //namespace webrtc } // namespace webrtc

View File

@@ -24,6 +24,6 @@ namespace VideoProcessing
int32_t ColorEnhancement(I420VideoFrame* frame); int32_t ColorEnhancement(I420VideoFrame* frame);
} }
} //namespace } // namespace
#endif // VPM_COLOR_ENHANCEMENT_H #endif // VPM_COLOR_ENHANCEMENT_H

View File

@@ -268,6 +268,6 @@ static const uint8_t colorTable[256][256] = {
{255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255} {255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255}
}; };
} //namespace } // namespace
#endif // VPM_COLOR_ENHANCEMENT_PRIVATE_H #endif // VPM_COLOR_ENHANCEMENT_PRIVATE_H

View File

@@ -447,4 +447,4 @@ int32_t VPMDeflickering::DetectFlicker()
return retVal; return retVal;
} }
} //namespace } // namespace

View File

@@ -60,6 +60,6 @@ private:
uint8_t _quantHistUW8[kFrameHistorySize][kNumQuants]; uint8_t _quantHistUW8[kFrameHistorySize][kNumQuants];
}; };
} //namespace } // namespace
#endif // VPM_DEFLICKERING_H #endif // VPM_DEFLICKERING_H

View File

@@ -177,4 +177,4 @@ VPMDenoising::ProcessFrame(I420VideoFrame* frame)
return numPixelsChanged; return numPixelsChanged;
} }
} //namespace } // namespace

View File

@@ -40,7 +40,7 @@ private:
int _denoiseFrameCnt; // Counter for subsampling in time int _denoiseFrameCnt; // Counter for subsampling in time
}; };
} //namespace } // namespace
#endif // VPM_DENOISING_H #endif // VPM_DENOISING_H

View File

@@ -186,4 +186,4 @@ VPMFramePreprocessor::ContentMetrics() const
return _contentMetrics; return _contentMetrics;
} }
} //namespace } // namespace

View File

@@ -81,6 +81,6 @@ private:
}; // end of VPMFramePreprocessor class definition }; // end of VPMFramePreprocessor class definition
} //namespace } // namespace
#endif // VPM_FRAME_PREPROCESS_H #endif // VPM_FRAME_PREPROCESS_H

View File

@@ -119,4 +119,4 @@ VPMSimpleSpatialResampler::ApplyResample(int32_t width,
return true; return true;
} }
} //namespace } // namespace

View File

@@ -62,6 +62,6 @@ private:
Scaler _scaler; Scaler _scaler;
}; };
} //namespace } // namespace
#endif #endif

View File

@@ -232,4 +232,4 @@ VPMVideoDecimator::ProcessIncomingFrameRate(int64_t now)
} }
} }
} //namespace } // namespace

View File

@@ -60,6 +60,6 @@ private:
}; };
} //namespace } // namespace
#endif #endif

View File

@@ -290,4 +290,4 @@ VideoProcessingModuleImpl::EnableContentAnalysis(bool enable)
_framePreProcessor.EnableContentAnalysis(enable); _framePreProcessor.EnableContentAnalysis(enable);
} }
} //namespace } // namespace

View File

@@ -146,6 +146,6 @@ class VideoRenderAndroid: IVideoRender {
ThreadWrapper* _javaRenderThread; ThreadWrapper* _javaRenderThread;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_IMPL_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_IMPL_H_

View File

@@ -447,4 +447,4 @@ jint AndroidNativeOpenGl2Channel::CreateOpenGLNative(
return _openGLRenderer.Setup(width, height); return _openGLRenderer.Setup(width, height);
} }
} //namespace webrtc } // namespace webrtc

View File

@@ -91,6 +91,6 @@ class AndroidNativeOpenGl2Renderer: private VideoRenderAndroid {
jclass _javaRenderClass; jclass _javaRenderClass;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_NATIVE_OPENGL2_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_NATIVE_OPENGL2_H_

View File

@@ -201,5 +201,5 @@ int32_t VideoRenderExternalImpl::RenderFrame(
{ {
return 0; return 0;
} }
} //namespace webrtc } // namespace webrtc

View File

@@ -125,7 +125,7 @@ private:
bool _fullscreen; bool _fullscreen;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_EXTERNAL_VIDEO_RENDER_EXTERNAL_IMPL_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_EXTERNAL_VIDEO_RENDER_EXTERNAL_IMPL_H_

View File

@@ -128,6 +128,6 @@ public:
const float bottom) = 0; const float bottom) = 0;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_I_VIDEO_RENDER_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_I_VIDEO_RENDER_H_

View File

@@ -288,5 +288,5 @@ public:
const bool mirrorXAxis, const bool mirrorXAxis,
const bool mirrorYAxis) = 0; const bool mirrorYAxis) = 0;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_H_

View File

@@ -88,6 +88,6 @@ enum Rotation
kRotation270 = 3 kRotation270 = 3
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_DEFINES_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_DEFINES_H_

View File

@@ -266,5 +266,5 @@ int32_t VideoRenderLinuxImpl::SetBitmap(const void* bitMap,
return -1; return -1;
} }
} //namespace webrtc } // namespace webrtc

View File

@@ -126,5 +126,5 @@ private:
VideoX11Render* _ptrX11Render; VideoX11Render* _ptrX11Render;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_RENDER_LINUX_IMPL_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_RENDER_LINUX_IMPL_H_

View File

@@ -312,6 +312,6 @@ int32_t VideoX11Channel::GetStreamProperties(uint32_t& zOrder,
} }
} //namespace webrtc } // namespace webrtc

View File

@@ -91,6 +91,6 @@ private:
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_X11_CHANNEL_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_X11_CHANNEL_H_

View File

@@ -150,5 +150,5 @@ int32_t VideoX11Render::GetIncomingStreamProperties(
return -1; return -1;
} }
} //namespace webrtc } // namespace webrtc

View File

@@ -53,6 +53,6 @@ private:
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_X11_RENDER_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_X11_RENDER_H_

View File

@@ -1996,7 +1996,7 @@ void VideoRenderAGL::UnlockAGLCntx()
_renderCritSec.Leave(); _renderCritSec.Leave();
} }
} //namespace webrtc } // namespace webrtc
#endif // CARBON_RENDERING #endif // CARBON_RENDERING

View File

@@ -173,7 +173,7 @@ class VideoRenderAGL {
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_AGL_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_AGL_H_

View File

@@ -292,6 +292,6 @@ int32_t VideoRenderMacCarbonImpl::SetBitmap(const void* bitMap,
} }
} //namespace webrtc } // namespace webrtc
#endif // CARBON_RENDERING #endif // CARBON_RENDERING

View File

@@ -142,7 +142,7 @@ private:
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_MAC_CARBON_IMPL_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_MAC_CARBON_IMPL_H_
#endif // CARBON_RENDERING #endif // CARBON_RENDERING

View File

@@ -137,7 +137,7 @@ private:
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_MAC_COCOA_IMPL_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_MAC_COCOA_IMPL_H_
#endif // COCOA_RENDERING #endif // COCOA_RENDERING

View File

@@ -264,6 +264,6 @@ int32_t VideoRenderMacCocoaImpl::FullScreenRender(void* window, const bool enabl
return -1; return -1;
} }
} //namespace webrtc } // namespace webrtc
#endif // COCOA_RENDERING #endif // COCOA_RENDERING

View File

@@ -184,7 +184,7 @@ private: // variables
NSRect _windowRefSuperViewFrame; NSRect _windowRefSuperViewFrame;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_NSOPENGL_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_NSOPENGL_H_
#endif // COCOA_RENDERING #endif // COCOA_RENDERING

View File

@@ -1260,6 +1260,6 @@ void VideoRenderNSOpenGL::UnlockAGLCntx()
*/ */
} //namespace webrtc } // namespace webrtc
#endif // COCOA_RENDERING #endif // COCOA_RENDERING

View File

@@ -998,4 +998,4 @@ int32_t ModuleVideoRenderImpl::MirrorRenderStream(const int renderId,
return incomingStream->EnableMirroring(enable, mirrorXAxis, mirrorYAxis); return incomingStream->EnableMirroring(enable, mirrorXAxis, mirrorYAxis);
} }
} //namespace webrtc } // namespace webrtc

View File

@@ -222,6 +222,6 @@ private:
MapWrapper& _streamRenderMap; MapWrapper& _streamRenderMap;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_VIDEO_RENDER_IMPL_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_VIDEO_RENDER_IMPL_H_

View File

@@ -106,5 +106,5 @@ public:
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_I_VIDEO_RENDER_WIN_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_I_VIDEO_RENDER_WIN_H_

View File

@@ -1174,5 +1174,5 @@ int32_t VideoRenderDirect3D9::ConfigureRenderer(const uint32_t channel,
return 0; return 0;
} }
} //namespace webrtc } // namespace webrtc

View File

@@ -250,6 +250,6 @@ private:
DWORD _availableMemory; DWORD _availableMemory;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_VIDEO_RENDER_DIRECT3D9_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_VIDEO_RENDER_DIRECT3D9_H_

View File

@@ -342,5 +342,5 @@ int32_t VideoRenderWindowsImpl::SetBitmap(const void* bitMap,
return error; return error;
} }
} //namespace webrtc } // namespace webrtc

View File

@@ -135,6 +135,6 @@ private:
IVideoRenderWin* _ptrRendererWin; IVideoRenderWin* _ptrRendererWin;
}; };
} //namespace webrtc } // namespace webrtc
#endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_VIDEO_RENDER_WINDOWS_IMPL_H_ #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_VIDEO_RENDER_WINDOWS_IMPL_H_

View File

@@ -238,4 +238,4 @@ void ListWrapper::PushFrontImpl(ListItem* item) {
size_++; size_++;
} }
} //namespace webrtc } // namespace webrtc

View File

@@ -155,4 +155,4 @@ int VoiceEngine::SetAndroidObjects(void* javaVM, void* env, void* context)
#endif #endif
} }
} //namespace webrtc } // namespace webrtc