From d900e8bea84c474696bf0219aed1353ce65ffd8e Mon Sep 17 00:00:00 2001 From: "pbos@webrtc.org" Date: Wed, 3 Jul 2013 15:12:26 +0000 Subject: [PATCH] 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 --- .../resampler/include/resampler.h | 2 +- webrtc/common_audio/resampler/resampler.cc | 2 +- webrtc/common_video/interface/video_image.h | 2 +- webrtc/common_video/jpeg/data_manager.cc | 2 +- webrtc/common_video/jpeg/data_manager.h | 2 +- .../main/source/acm_dtmf_detection.h | 2 +- .../main/source/acm_isac_macros.h | 2 +- .../audio_coding/neteq/test/NetEqRTPplay.cc | 2 +- .../audio_coding/neteq/test/RTPencode.cc | 4 ++-- .../audio_coding/neteq4/test/RTPencode.cc | 4 ++-- .../interface/audio_conference_mixer.h | 2 +- .../audio_conference_mixer_defines.h | 2 +- .../source/audio_conference_mixer_impl.cc | 2 +- .../source/audio_conference_mixer_impl.h | 2 +- .../source/audio_frame_manipulator.cc | 4 ++-- .../source/audio_frame_manipulator.h | 2 +- .../source/level_indicator.cc | 2 +- .../source/level_indicator.h | 2 +- .../source/memory_pool.h | 2 +- .../source/memory_pool_posix.h | 2 +- .../source/memory_pool_win.h | 2 +- .../source/time_scheduler.cc | 2 +- .../source/time_scheduler.h | 2 +- .../android/audio_device_jni_android.cc | 6 ++--- .../android/audio_device_jni_android.h | 2 +- .../android/audio_device_utility_android.cc | 2 +- .../android/audio_device_utility_android.h | 2 +- .../dummy/audio_device_utility_dummy.h | 2 +- .../ios/audio_device_utility_ios.cc | 2 +- .../ios/audio_device_utility_ios.h | 2 +- .../linux/audio_device_pulse_linux.cc | 4 ++-- .../linux/audio_device_utility_linux.cc | 2 +- .../linux/audio_device_utility_linux.h | 2 +- .../audio_device/mac/audio_device_mac.cc | 4 ++-- .../audio_device/mac/audio_device_mac.h | 2 +- .../mac/audio_device_utility_mac.cc | 2 +- .../mac/audio_device_utility_mac.h | 2 +- .../mac/audio_mixer_manager_mac.cc | 2 +- .../mac/audio_mixer_manager_mac.h | 2 +- .../audio_device/test/func_test_manager.cc | 12 +++++----- .../audio_device/test/func_test_manager.h | 2 +- .../audio_device/win/audio_device_core_win.cc | 2 +- webrtc/modules/audio_processing/ns/ns_core.c | 22 +++++++++---------- webrtc/modules/audio_processing/ns/nsx_core.c | 18 +++++++-------- .../audio_processing/ns/nsx_core_neon.c | 4 ++-- .../mac/desktop_configuration.mm | 2 +- .../mac/scoped_pixel_buffer_object.cc | 2 +- .../mac/scoped_pixel_buffer_object.h | 2 +- .../modules/interface/module_common_types.h | 2 +- .../modules/media_file/interface/media_file.h | 2 +- .../media_file/interface/media_file_defines.h | 2 +- webrtc/modules/media_file/source/avi_file.cc | 2 +- webrtc/modules/media_file/source/avi_file.h | 2 +- .../media_file/source/media_file_impl.cc | 2 +- .../media_file/source/media_file_impl.h | 2 +- .../media_file/source/media_file_utility.cc | 4 ++-- .../media_file/source/media_file_utility.h | 2 +- .../include/bwe_defines.h | 2 +- .../remote_rate_control.cc | 2 +- .../remote_rate_control.h | 2 +- webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h | 2 +- .../rtp_rtcp/interface/rtp_rtcp_defines.h | 2 +- .../rtp_rtcp/source/H264/bitstream_builder.cc | 2 +- .../rtp_rtcp/source/H264/bitstream_builder.h | 2 +- .../rtp_rtcp/source/H264/bitstream_parser.cc | 2 +- .../rtp_rtcp/source/H264/bitstream_parser.h | 2 +- .../rtp_rtcp/source/H264/h264_information.cc | 2 +- .../rtp_rtcp/source/H264/h264_information.h | 2 +- .../rtp_rtcp/source/H264/rtp_sender_h264.cc | 6 ++--- .../rtp_rtcp/source/H264/rtp_sender_h264.h | 2 +- .../source/forward_error_correction.h | 2 +- .../forward_error_correction_internal.cc | 2 +- .../source/rtcp_format_remb_unittest.cc | 2 +- .../modules/rtp_rtcp/source/rtcp_receiver.cc | 2 +- .../modules/rtp_rtcp/source/rtcp_receiver.h | 2 +- .../rtp_rtcp/source/rtcp_receiver_help.cc | 2 +- .../rtp_rtcp/source/rtcp_receiver_help.h | 4 ++-- webrtc/modules/rtp_rtcp/source/rtcp_sender.cc | 2 +- webrtc/modules/rtp_rtcp/source/rtcp_sender.h | 2 +- .../modules/rtp_rtcp/source/rtcp_utility.cc | 2 +- webrtc/modules/rtp_rtcp/source/rtcp_utility.h | 4 ++-- .../rtp_rtcp/source/rtp_header_extension.cc | 2 +- .../modules/rtp_rtcp/source/rtp_receiver.cc | 4 ++-- webrtc/modules/rtp_rtcp/source/rtp_receiver.h | 2 +- .../modules/rtp_rtcp/source/rtp_rtcp_config.h | 2 +- .../rtp_rtcp/source/rtp_sender_audio.cc | 4 ++-- .../rtp_rtcp/source/rtp_sender_audio.h | 2 +- .../rtp_rtcp/source/rtp_sender_video.cc | 2 +- .../rtp_rtcp/source/rtp_sender_video.h | 2 +- .../modules/rtp_rtcp/source/ssrc_database.cc | 2 +- .../modules/rtp_rtcp/source/ssrc_database.h | 2 +- webrtc/modules/rtp_rtcp/source/tmmbr_help.cc | 2 +- webrtc/modules/rtp_rtcp/source/tmmbr_help.h | 2 +- .../rtp_rtcp/source/video_codec_information.h | 2 +- .../testFec/average_residual_loss_xor_codes.h | 2 +- .../modules/rtp_rtcp/test/testFec/test_fec.cc | 6 ++--- .../interface/audio_frame_operations.h | 2 +- .../modules/utility/interface/file_player.h | 2 +- .../modules/utility/interface/file_recorder.h | 2 +- .../utility/interface/process_thread.h | 2 +- webrtc/modules/utility/interface/rtp_dump.h | 2 +- .../utility/source/audio_frame_operations.cc | 2 +- webrtc/modules/utility/source/coder.cc | 2 +- webrtc/modules/utility/source/coder.h | 2 +- .../utility/source/file_player_impl.cc | 2 +- .../modules/utility/source/file_player_impl.h | 2 +- .../utility/source/file_recorder_impl.cc | 2 +- .../utility/source/file_recorder_impl.h | 2 +- .../utility/source/process_thread_impl.cc | 2 +- .../utility/source/process_thread_impl.h | 2 +- .../modules/utility/source/rtp_dump_impl.cc | 2 +- webrtc/modules/utility/source/rtp_dump_impl.h | 2 +- webrtc/modules/utility/source/video_coder.cc | 2 +- webrtc/modules/utility/source/video_coder.h | 2 +- .../utility/source/video_frames_queue.cc | 2 +- .../utility/source/video_frames_queue.h | 2 +- .../modules/video_capture/device_info_impl.cc | 4 ++-- .../modules/video_capture/device_info_impl.h | 4 ++-- .../video_capture/include/video_capture.h | 2 +- .../include/video_capture_factory.h | 2 +- .../video_capture/linux/device_info_linux.cc | 4 ++-- .../video_capture/linux/device_info_linux.h | 4 ++-- .../linux/video_capture_linux.cc | 4 ++-- .../video_capture/linux/video_capture_linux.h | 4 ++-- .../video_capture/video_capture_delay.h | 4 ++-- .../video_capture/video_capture_factory.cc | 2 +- .../video_capture/video_capture_impl.cc | 4 ++-- .../video_capture/video_capture_impl.h | 4 ++-- .../video_capture/windows/device_info_ds.cc | 4 ++-- .../video_capture/windows/device_info_ds.h | 4 ++-- .../windows/help_functions_ds.cc | 4 ++-- .../video_capture/windows/help_functions_ds.h | 4 ++-- .../video_capture/windows/sink_filter_ds.cc | 4 ++-- .../video_capture/windows/sink_filter_ds.h | 4 ++-- .../video_capture/windows/video_capture_ds.cc | 4 ++-- .../video_capture/windows/video_capture_ds.h | 4 ++-- .../codecs/interface/video_codec_interface.h | 2 +- .../main/interface/video_coding.h | 2 +- .../video_coding/main/source/codec_timer.h | 2 +- .../main/source/content_metrics_processing.cc | 2 +- .../video_coding/main/source/encoded_frame.h | 2 +- .../video_coding/main/source/er_tables_xor.h | 2 +- .../video_coding/main/source/fec_tables_xor.h | 2 +- .../video_coding/main/source/frame_buffer.h | 2 +- .../main/source/generic_decoder.cc | 2 +- .../main/source/generic_decoder.h | 2 +- .../main/source/generic_encoder.cc | 2 +- .../main/source/generic_encoder.h | 2 +- .../main/source/inter_frame_delay.h | 2 +- .../main/source/internal_defines.h | 2 +- .../main/source/jitter_estimator.h | 2 +- .../video_coding/main/source/media_opt_util.h | 4 ++-- .../main/source/nack_fec_tables.h | 2 +- .../modules/video_coding/main/source/packet.h | 2 +- .../video_coding/main/source/qm_select.cc | 2 +- .../video_coding/main/source/qm_select.h | 2 +- .../video_coding/main/source/qm_select_data.h | 2 +- .../video_coding/main/source/rtt_filter.h | 2 +- .../main/source/timestamp_extrapolator.h | 2 +- .../video_coding/main/source/timestamp_map.h | 2 +- .../main/source/video_coding_impl.cc | 2 +- .../main/source/video_coding_impl.h | 2 +- .../main/test/codec_database_test.cc | 6 ++--- .../main/test/generic_codec_test.cc | 10 ++++----- .../video_coding/main/test/video_rtp_play.cc | 2 +- .../main/test/video_rtp_play_mt.cc | 2 +- .../video_coding/utility/include/exp_filter.h | 2 +- .../utility/include/frame_dropper.h | 2 +- .../main/interface/video_processing.h | 2 +- .../main/interface/video_processing_defines.h | 2 +- .../main/source/brightness_detection.cc | 2 +- .../main/source/brightness_detection.h | 2 +- .../main/source/color_enhancement.cc | 4 ++-- .../main/source/color_enhancement.h | 2 +- .../main/source/color_enhancement_private.h | 2 +- .../main/source/content_analysis.cc | 2 +- .../main/source/content_analysis.h | 2 +- .../main/source/deflickering.cc | 2 +- .../main/source/deflickering.h | 2 +- .../video_processing/main/source/denoising.cc | 2 +- .../video_processing/main/source/denoising.h | 2 +- .../main/source/frame_preprocessor.cc | 2 +- .../main/source/frame_preprocessor.h | 2 +- .../main/source/spatial_resampler.cc | 2 +- .../main/source/spatial_resampler.h | 2 +- .../main/source/video_decimator.cc | 2 +- .../main/source/video_decimator.h | 2 +- .../main/source/video_processing_impl.cc | 2 +- .../main/source/video_processing_impl.h | 2 +- .../android/video_render_android_impl.h | 2 +- .../video_render_android_native_opengl2.cc | 2 +- .../video_render_android_native_opengl2.h | 2 +- .../external/video_render_external_impl.cc | 2 +- .../external/video_render_external_impl.h | 2 +- webrtc/modules/video_render/i_video_render.h | 2 +- .../video_render/include/video_render.h | 2 +- .../include/video_render_defines.h | 2 +- .../linux/video_render_linux_impl.cc | 2 +- .../linux/video_render_linux_impl.h | 2 +- .../video_render/linux/video_x11_channel.cc | 2 +- .../video_render/linux/video_x11_channel.h | 2 +- .../video_render/linux/video_x11_render.cc | 2 +- .../video_render/linux/video_x11_render.h | 2 +- .../video_render/mac/video_render_agl.cc | 4 ++-- .../video_render/mac/video_render_agl.h | 2 +- .../mac/video_render_mac_carbon_impl.cc | 2 +- .../mac/video_render_mac_carbon_impl.h | 2 +- .../mac/video_render_mac_cocoa_impl.h | 2 +- .../mac/video_render_mac_cocoa_impl.mm | 2 +- .../video_render/mac/video_render_nsopengl.h | 2 +- .../video_render/mac/video_render_nsopengl.mm | 2 +- .../modules/video_render/video_render_impl.cc | 2 +- .../modules/video_render/video_render_impl.h | 2 +- .../video_render/windows/i_video_render_win.h | 2 +- .../windows/video_render_direct3d9.cc | 2 +- .../windows/video_render_direct3d9.h | 2 +- .../windows/video_render_windows_impl.cc | 2 +- .../windows/video_render_windows_impl.h | 2 +- .../interface/condition_variable_wrapper.h | 2 +- .../interface/cpu_features_wrapper.h | 2 +- webrtc/system_wrappers/interface/cpu_info.h | 2 +- .../interface/critical_section_wrapper.h | 2 +- .../system_wrappers/interface/event_wrapper.h | 2 +- .../system_wrappers/interface/file_wrapper.h | 2 +- .../system_wrappers/interface/map_wrapper.h | 2 +- .../interface/rw_lock_wrapper.h | 2 +- webrtc/system_wrappers/interface/scoped_ptr.h | 2 +- .../interface/thread_wrapper.h | 2 +- .../system_wrappers/source/atomic32_posix.cc | 2 +- .../source/condition_variable.cc | 2 +- .../source/condition_variable_posix.cc | 2 +- .../source/condition_variable_posix.h | 2 +- webrtc/system_wrappers/source/cpu_info.cc | 2 +- .../source/critical_section.cc | 2 +- .../source/critical_section_posix.cc | 2 +- .../source/critical_section_posix.h | 2 +- .../source/critical_section_win.cc | 2 +- .../source/critical_section_win.h | 2 +- webrtc/system_wrappers/source/event.cc | 2 +- webrtc/system_wrappers/source/event_posix.cc | 2 +- webrtc/system_wrappers/source/file_impl.cc | 2 +- webrtc/system_wrappers/source/file_impl.h | 2 +- webrtc/system_wrappers/source/list_no_stl.cc | 2 +- webrtc/system_wrappers/source/list_stl.cc | 2 +- webrtc/system_wrappers/source/map.cc | 2 +- webrtc/system_wrappers/source/map_no_stl.cc | 2 +- webrtc/system_wrappers/source/map_no_stl.h | 2 +- .../source/set_thread_name_win.h | 2 +- webrtc/system_wrappers/source/sort.cc | 2 +- webrtc/system_wrappers/source/thread.cc | 2 +- webrtc/system_wrappers/source/thread_posix.cc | 2 +- webrtc/system_wrappers/source/thread_posix.h | 2 +- webrtc/system_wrappers/source/thread_win.cc | 2 +- webrtc/system_wrappers/source/thread_win.h | 2 +- .../test/channel_transport/udp_socket2_win.cc | 2 +- .../automated/vie_api_integration_test.cc | 2 +- .../vie_standard_integration_test.cc | 2 +- webrtc/voice_engine/channel.cc | 4 ++-- webrtc/voice_engine/channel.h | 4 ++-- webrtc/voice_engine/channel_manager.cc | 4 ++-- webrtc/voice_engine/channel_manager.h | 4 ++-- webrtc/voice_engine/channel_manager_base.cc | 4 ++-- webrtc/voice_engine/channel_manager_base.h | 4 ++-- webrtc/voice_engine/dtmf_inband.h | 2 +- webrtc/voice_engine/dtmf_inband_queue.h | 2 +- .../include/voe_audio_processing.h | 2 +- webrtc/voice_engine/include/voe_base.h | 2 +- webrtc/voice_engine/include/voe_codec.h | 2 +- webrtc/voice_engine/include/voe_hardware.h | 2 +- webrtc/voice_engine/include/voe_neteq_stats.h | 2 +- webrtc/voice_engine/include/voe_network.h | 2 +- webrtc/voice_engine/include/voe_video_sync.h | 2 +- webrtc/voice_engine/level_indicator.cc | 2 +- webrtc/voice_engine/monitor_module.cc | 4 ++-- webrtc/voice_engine/monitor_module.h | 4 ++-- webrtc/voice_engine/output_mixer.cc | 4 ++-- webrtc/voice_engine/output_mixer.h | 4 ++-- webrtc/voice_engine/shared_data.cc | 4 ++-- webrtc/voice_engine/shared_data.h | 4 ++-- webrtc/voice_engine/statistics.cc | 4 ++-- webrtc/voice_engine/statistics.h | 2 +- .../test/auto_test/voe_cpu_test.cc | 2 +- .../test/auto_test/voe_cpu_test.h | 2 +- .../test/auto_test/voe_extended_test.cc | 4 ++-- .../test/auto_test/voe_extended_test.h | 2 +- .../test/auto_test/voe_standard_test.cc | 4 ++-- .../test/auto_test/voe_standard_test.h | 2 +- .../test/auto_test/voe_stress_test.cc | 6 ++--- .../test/auto_test/voe_stress_test.h | 2 +- .../test/auto_test/voe_test_interface.h | 2 +- .../test/auto_test/voe_unit_test.cc | 6 ++--- .../test/auto_test/voe_unit_test.h | 2 +- webrtc/voice_engine/transmit_mixer.cc | 4 ++-- webrtc/voice_engine/transmit_mixer.h | 2 +- webrtc/voice_engine/utility.cc | 4 ++-- webrtc/voice_engine/utility.h | 4 ++-- .../voice_engine/voe_audio_processing_impl.cc | 2 +- .../voice_engine/voe_audio_processing_impl.h | 2 +- webrtc/voice_engine/voe_base_impl.cc | 2 +- webrtc/voice_engine/voe_base_impl.h | 2 +- webrtc/voice_engine/voe_call_report_impl.cc | 2 +- webrtc/voice_engine/voe_call_report_impl.h | 2 +- webrtc/voice_engine/voe_codec_impl.cc | 2 +- webrtc/voice_engine/voe_codec_impl.h | 2 +- webrtc/voice_engine/voe_dtmf_impl.h | 2 +- webrtc/voice_engine/voe_encryption_impl.h | 2 +- webrtc/voice_engine/voe_hardware_impl.cc | 2 +- webrtc/voice_engine/voe_hardware_impl.h | 2 +- webrtc/voice_engine/voe_neteq_stats_impl.cc | 2 +- webrtc/voice_engine/voe_network_impl.cc | 2 +- webrtc/voice_engine/voe_network_impl.h | 2 +- webrtc/voice_engine/voe_video_sync_impl.h | 2 +- webrtc/voice_engine/voe_volume_control_impl.h | 2 +- webrtc/voice_engine/voice_engine_defines.h | 4 ++-- webrtc/voice_engine/voice_engine_impl.cc | 4 ++-- webrtc/voice_engine/voice_engine_impl.h | 2 +- 316 files changed, 406 insertions(+), 406 deletions(-) diff --git a/webrtc/common_audio/resampler/include/resampler.h b/webrtc/common_audio/resampler/include/resampler.h index ee0065e93..4f5703120 100644 --- a/webrtc/common_audio/resampler/include/resampler.h +++ b/webrtc/common_audio/resampler/include/resampler.h @@ -111,6 +111,6 @@ private: Resampler* slave_right_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_RESAMPLER_RESAMPLER_H_ diff --git a/webrtc/common_audio/resampler/resampler.cc b/webrtc/common_audio/resampler/resampler.cc index df2a5474a..071e551d8 100644 --- a/webrtc/common_audio/resampler/resampler.cc +++ b/webrtc/common_audio/resampler/resampler.cc @@ -1081,4 +1081,4 @@ int Resampler::Pull(int16_t* samplesOut, int desiredLen, int &outLen) } } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/common_video/interface/video_image.h b/webrtc/common_video/interface/video_image.h index 2a7c4459d..a7b65fd2c 100644 --- a/webrtc/common_video/interface/video_image.h +++ b/webrtc/common_video/interface/video_image.h @@ -64,6 +64,6 @@ public: bool _completeFrame; }; -} // namespace webrtc +} // namespace webrtc #endif // COMMON_VIDEO_INTERFACE_VIDEO_IMAGE_H diff --git a/webrtc/common_video/jpeg/data_manager.cc b/webrtc/common_video/jpeg/data_manager.cc index 72380e7c1..80971f9ca 100644 --- a/webrtc/common_video/jpeg/data_manager.cc +++ b/webrtc/common_video/jpeg/data_manager.cc @@ -83,4 +83,4 @@ termSource (j_decompress_ptr cinfo) // } -} // end of namespace webrtc +} // namespace webrtc diff --git a/webrtc/common_video/jpeg/data_manager.h b/webrtc/common_video/jpeg/data_manager.h index 61609ecaa..8c569784d 100644 --- a/webrtc/common_video/jpeg/data_manager.h +++ b/webrtc/common_video/jpeg/data_manager.h @@ -62,7 +62,7 @@ skipInputData(j_decompress_ptr cinfo, long num_bytes); void termSource (j_decompress_ptr cinfo); -} // end of namespace webrtc +} // namespace webrtc #endif /* WEBRTC_COMMON_VIDEO_JPEG_DATA_MANAGER */ diff --git a/webrtc/modules/audio_coding/main/source/acm_dtmf_detection.h b/webrtc/modules/audio_coding/main/source/acm_dtmf_detection.h index cd265fed8..43a9047a7 100644 --- a/webrtc/modules/audio_coding/main/source/acm_dtmf_detection.h +++ b/webrtc/modules/audio_coding/main/source/acm_dtmf_detection.h @@ -33,6 +33,6 @@ class ACMDTMFDetection { ACMResampler resampler_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_SOURCE_ACM_DTMF_DETECTION_H_ diff --git a/webrtc/modules/audio_coding/main/source/acm_isac_macros.h b/webrtc/modules/audio_coding/main/source/acm_isac_macros.h index 99d708453..6ae4526f5 100644 --- a/webrtc/modules/audio_coding/main/source/acm_isac_macros.h +++ b/webrtc/modules/audio_coding/main/source/acm_isac_macros.h @@ -67,7 +67,7 @@ namespace webrtc { #define ACM_ISAC_GETDECSAMPRATE ACMISACFixGetDecSampRate // local Impl #endif -} //namespace +} // namespace #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_SOURCE_ACM_ISAC_MACROS_H_ diff --git a/webrtc/modules/audio_coding/neteq/test/NetEqRTPplay.cc b/webrtc/modules/audio_coding/neteq/test/NetEqRTPplay.cc index 3ad8e0500..b3003eda3 100644 --- a/webrtc/modules/audio_coding/neteq/test/NetEqRTPplay.cc +++ b/webrtc/modules/audio_coding/neteq/test/NetEqRTPplay.cc @@ -1269,7 +1269,7 @@ void parsePtypeFile(FILE *ptypeFile, std::map* decoders) } n = fscanf(ptypeFile, "%s %i\n", codec, &pt); - } // end while + } // end while } diff --git a/webrtc/modules/audio_coding/neteq/test/RTPencode.cc b/webrtc/modules/audio_coding/neteq/test/RTPencode.cc index 45313be8f..a5e65b618 100644 --- a/webrtc/modules/audio_coding/neteq/test/RTPencode.cc +++ b/webrtc/modules/audio_coding/neteq/test/RTPencode.cc @@ -1571,7 +1571,7 @@ int NetEQTest_init_coders(enum WebRtcNetEQDecoder coder, int enc_frameSize, int if (ok != 0) { return(ok); } - } // end for + } // end for return(0); } @@ -1974,7 +1974,7 @@ int NetEQTest_encode(int coder, int16_t *indata, int frameLen, unsigned char * e encoded += cdlen; totalLen += cdlen; - } // end for + } // end for first_cng=1; return(totalLen); diff --git a/webrtc/modules/audio_coding/neteq4/test/RTPencode.cc b/webrtc/modules/audio_coding/neteq4/test/RTPencode.cc index 2c3855648..370fc05fd 100644 --- a/webrtc/modules/audio_coding/neteq4/test/RTPencode.cc +++ b/webrtc/modules/audio_coding/neteq4/test/RTPencode.cc @@ -1383,7 +1383,7 @@ int NetEQTest_init_coders(webrtc::NetEqDecoder coder, int enc_frameSize, int bit if (ok != 0) { return(ok); } - } // end for + } // end for return(0); } @@ -1669,7 +1669,7 @@ int NetEQTest_encode(int coder, int16_t *indata, int frameLen, unsigned char * e encoded += cdlen; totalLen += cdlen; - } // end for + } // end for first_cng=1; return(totalLen); diff --git a/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer.h b/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer.h index 711dd5122..352537d6e 100644 --- a/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer.h +++ b/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer.h @@ -80,6 +80,6 @@ public: protected: AudioConferenceMixer() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_INTERFACE_AUDIO_CONFERENCE_MIXER_H_ diff --git a/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer_defines.h b/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer_defines.h index fac071f48..ba04b5a4e 100644 --- a/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer_defines.h +++ b/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer_defines.h @@ -100,6 +100,6 @@ protected: AudioRelayReceiver() {} virtual ~AudioRelayReceiver() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_INTERFACE_AUDIO_CONFERENCE_MIXER_DEFINES_H_ diff --git a/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.cc b/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.cc index 107949bf4..ab9d803e3 100644 --- a/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.cc +++ b/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.cc @@ -1217,4 +1217,4 @@ bool AudioConferenceMixerImpl::LimitMixedAudio(AudioFrame& mixedAudio) } return true; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h b/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h index 46a9a8bfe..261cd88d6 100644 --- a/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h +++ b/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h @@ -203,6 +203,6 @@ private: // Used for inhibiting saturation in mixing. scoped_ptr _limiter; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_AUDIO_CONFERENCE_MIXER_IMPL_H_ diff --git a/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.cc b/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.cc index 6c1106dc4..679d608f5 100644 --- a/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.cc +++ b/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.cc @@ -36,7 +36,7 @@ const float rampArray[] = {0.0000f, 0.0127f, 0.0253f, 0.0380f, 0.9114f, 0.9241f, 0.9367f, 0.9494f, 0.9620f, 0.9747f, 0.9873f, 1.0000f}; const int rampSize = sizeof(rampArray)/sizeof(rampArray[0]); -} // namespace +} // namespace namespace webrtc { void CalculateEnergy(AudioFrame& audioFrame) @@ -78,4 +78,4 @@ void RampOut(AudioFrame& audioFrame) (audioFrame.samples_per_channel_ - rampSize) * sizeof(audioFrame.data_[0])); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h b/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h index fdf5d3338..2da3a4d0d 100644 --- a/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h +++ b/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h @@ -21,6 +21,6 @@ void CalculateEnergy(AudioFrame& audioFrame); void RampIn(AudioFrame& audioFrame); void RampOut(AudioFrame& audioFrame); -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_AUDIO_FRAME_MANIPULATOR_H_ diff --git a/webrtc/modules/audio_conference_mixer/source/level_indicator.cc b/webrtc/modules/audio_conference_mixer/source/level_indicator.cc index 2bac42c69..3c573d41a 100644 --- a/webrtc/modules/audio_conference_mixer/source/level_indicator.cc +++ b/webrtc/modules/audio_conference_mixer/source/level_indicator.cc @@ -73,4 +73,4 @@ int32_t LevelIndicator::GetLevel() return _currentLevel; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/audio_conference_mixer/source/level_indicator.h b/webrtc/modules/audio_conference_mixer/source/level_indicator.h index fdf783716..b0e87ffa7 100644 --- a/webrtc/modules/audio_conference_mixer/source/level_indicator.h +++ b/webrtc/modules/audio_conference_mixer/source/level_indicator.h @@ -32,6 +32,6 @@ private: uint32_t _count; uint32_t _currentLevel; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_LEVEL_INDICATOR_H_ diff --git a/webrtc/modules/audio_conference_mixer/source/memory_pool.h b/webrtc/modules/audio_conference_mixer/source/memory_pool.h index 36f224875..3c7e1b71a 100644 --- a/webrtc/modules/audio_conference_mixer/source/memory_pool.h +++ b/webrtc/modules/audio_conference_mixer/source/memory_pool.h @@ -117,6 +117,6 @@ int32_t MemoryPool::PushMemory(MemoryType*& memory) } return _ptrImpl->PushMemory(memory); } -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_MEMORY_POOL_H_ diff --git a/webrtc/modules/audio_conference_mixer/source/memory_pool_posix.h b/webrtc/modules/audio_conference_mixer/source/memory_pool_posix.h index 3dd4e0e72..6d4dccf8a 100644 --- a/webrtc/modules/audio_conference_mixer/source/memory_pool_posix.h +++ b/webrtc/modules/audio_conference_mixer/source/memory_pool_posix.h @@ -163,6 +163,6 @@ int32_t MemoryPoolImpl::CreateMemory( } return 0; } -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_MEMORY_POOL_GENERIC_H_ diff --git a/webrtc/modules/audio_conference_mixer/source/memory_pool_win.h b/webrtc/modules/audio_conference_mixer/source/memory_pool_win.h index 571b978fa..772a123ab 100644 --- a/webrtc/modules/audio_conference_mixer/source/memory_pool_win.h +++ b/webrtc/modules/audio_conference_mixer/source/memory_pool_win.h @@ -194,6 +194,6 @@ MemoryPoolItem* MemoryPoolImpl::CreateMemory() ++_createdMemory; return returnValue; } -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_MEMORY_POOL_WINDOWS_H_ diff --git a/webrtc/modules/audio_conference_mixer/source/time_scheduler.cc b/webrtc/modules/audio_conference_mixer/source/time_scheduler.cc index bfb7f01b2..738f82624 100644 --- a/webrtc/modules/audio_conference_mixer/source/time_scheduler.cc +++ b/webrtc/modules/audio_conference_mixer/source/time_scheduler.cc @@ -99,4 +99,4 @@ int32_t TimeScheduler::TimeToNextUpdate( updateTimeInMS = (updateTimeInMS < 0) ? 0 : updateTimeInMS; return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/audio_conference_mixer/source/time_scheduler.h b/webrtc/modules/audio_conference_mixer/source/time_scheduler.h index 83d3a97b2..5a7700664 100644 --- a/webrtc/modules/audio_conference_mixer/source/time_scheduler.h +++ b/webrtc/modules/audio_conference_mixer/source/time_scheduler.h @@ -42,6 +42,6 @@ private: int64_t _periodicityInTicks; uint32_t _missedPeriods; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_TIME_SCHEDULER_H_ diff --git a/webrtc/modules/audio_device/android/audio_device_jni_android.cc b/webrtc/modules/audio_device/android/audio_device_jni_android.cc index 8afdc5026..d6375382e 100644 --- a/webrtc/modules/audio_device/android/audio_device_jni_android.cc +++ b/webrtc/modules/audio_device/android/audio_device_jni_android.cc @@ -2730,7 +2730,7 @@ bool AudioDeviceAndroidJni::PlayThreadProcess() Lock(); - } // _playing + } // _playing if (_shutdownPlayThread) { @@ -2867,7 +2867,7 @@ bool AudioDeviceAndroidJni::RecThreadProcess() Lock(); } - } // _recording + } // _recording if (_shutdownRecThread) { @@ -2898,4 +2898,4 @@ bool AudioDeviceAndroidJni::RecThreadProcess() return true; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/audio_device/android/audio_device_jni_android.h b/webrtc/modules/audio_device/android/audio_device_jni_android.h index 33aa95239..dee9eac53 100644 --- a/webrtc/modules/audio_device/android/audio_device_jni_android.h +++ b/webrtc/modules/audio_device/android/audio_device_jni_android.h @@ -264,6 +264,6 @@ class AudioDeviceAndroidJni : public AudioDeviceGeneric { static jclass globalScClass; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_JNI_ANDROID_H diff --git a/webrtc/modules/audio_device/android/audio_device_utility_android.cc b/webrtc/modules/audio_device/android/audio_device_utility_android.cc index c21972fac..b3dadf439 100644 --- a/webrtc/modules/audio_device/android/audio_device_utility_android.cc +++ b/webrtc/modules/audio_device/android/audio_device_utility_android.cc @@ -47,4 +47,4 @@ int32_t AudioDeviceUtilityAndroid::Init() return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/audio_device/android/audio_device_utility_android.h b/webrtc/modules/audio_device/android/audio_device_utility_android.h index 24644b893..ae66e4282 100644 --- a/webrtc/modules/audio_device/android/audio_device_utility_android.h +++ b/webrtc/modules/audio_device/android/audio_device_utility_android.h @@ -35,6 +35,6 @@ private: int32_t _id; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_UTILITY_ANDROID_H diff --git a/webrtc/modules/audio_device/dummy/audio_device_utility_dummy.h b/webrtc/modules/audio_device/dummy/audio_device_utility_dummy.h index c8bb1808a..5cc49d393 100644 --- a/webrtc/modules/audio_device/dummy/audio_device_utility_dummy.h +++ b/webrtc/modules/audio_device/dummy/audio_device_utility_dummy.h @@ -27,6 +27,6 @@ public: virtual int32_t Init() { return 0; } }; -} // namespace webrtc +} // namespace webrtc #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_UTILITY_DUMMY_H_ diff --git a/webrtc/modules/audio_device/ios/audio_device_utility_ios.cc b/webrtc/modules/audio_device/ios/audio_device_utility_ios.cc index bb4a1c187..b8cf218ff 100644 --- a/webrtc/modules/audio_device/ios/audio_device_utility_ios.cc +++ b/webrtc/modules/audio_device/ios/audio_device_utility_ios.cc @@ -42,4 +42,4 @@ int32_t AudioDeviceUtilityIPhone::Init() { return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/audio_device/ios/audio_device_utility_ios.h b/webrtc/modules/audio_device/ios/audio_device_utility_ios.h index 2892a7d00..e9f8c5455 100644 --- a/webrtc/modules/audio_device/ios/audio_device_utility_ios.h +++ b/webrtc/modules/audio_device/ios/audio_device_utility_ios.h @@ -31,6 +31,6 @@ private: AudioDeviceModule::ErrorCode _lastError; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_UTILITY_IPHONE_H diff --git a/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc b/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc index 56329a371..bc3e62134 100644 --- a/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc +++ b/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc @@ -2954,7 +2954,7 @@ bool AudioDeviceLinuxPulse::PlayThreadProcess() EnableWriteCallback(); PaUnLock(); - } // _playing + } // _playing UnLock(); return true; @@ -3103,7 +3103,7 @@ bool AudioDeviceLinuxPulse::RecThreadProcess() EnableReadCallback(); PaUnLock(); - } // _recording + } // _recording UnLock(); return true; diff --git a/webrtc/modules/audio_device/linux/audio_device_utility_linux.cc b/webrtc/modules/audio_device/linux/audio_device_utility_linux.cc index 2de4bacf4..a053f5b10 100644 --- a/webrtc/modules/audio_device/linux/audio_device_utility_linux.cc +++ b/webrtc/modules/audio_device/linux/audio_device_utility_linux.cc @@ -51,4 +51,4 @@ int32_t AudioDeviceUtilityLinux::Init() } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/audio_device/linux/audio_device_utility_linux.h b/webrtc/modules/audio_device/linux/audio_device_utility_linux.h index 22549c610..75e52b4e7 100644 --- a/webrtc/modules/audio_device/linux/audio_device_utility_linux.h +++ b/webrtc/modules/audio_device/linux/audio_device_utility_linux.h @@ -31,6 +31,6 @@ private: int32_t _id; }; -} // namespace webrtc +} // namespace webrtc #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_UTILITY_LINUX_H_ diff --git a/webrtc/modules/audio_device/mac/audio_device_mac.cc b/webrtc/modules/audio_device/mac/audio_device_mac.cc index a7e78baf0..3cf742b8f 100644 --- a/webrtc/modules/audio_device/mac/audio_device_mac.cc +++ b/webrtc/modules/audio_device/mac/audio_device_mac.cc @@ -2271,7 +2271,7 @@ AudioDeviceMac::GetNumberDevices(const AudioObjectPropertyScope scope, free(bufferList); bufferList = NULL; - } // for + } // for } if (!listOK) @@ -3269,4 +3269,4 @@ bool AudioDeviceMac::KeyPressed() const{ } return(key_down); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/audio_device/mac/audio_device_mac.h b/webrtc/modules/audio_device/mac/audio_device_mac.h index bdcad34b4..19eb7c798 100644 --- a/webrtc/modules/audio_device/mac/audio_device_mac.h +++ b/webrtc/modules/audio_device/mac/audio_device_mac.h @@ -379,6 +379,6 @@ private: int _renderBufSizeSamples; }; -} // namespace webrtc +} // namespace webrtc #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_MAC_AUDIO_DEVICE_MAC_H_ diff --git a/webrtc/modules/audio_device/mac/audio_device_utility_mac.cc b/webrtc/modules/audio_device/mac/audio_device_utility_mac.cc index ac8e118e2..0aa74c0bc 100644 --- a/webrtc/modules/audio_device/mac/audio_device_utility_mac.cc +++ b/webrtc/modules/audio_device/mac/audio_device_utility_mac.cc @@ -50,4 +50,4 @@ int32_t AudioDeviceUtilityMac::Init() return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/audio_device/mac/audio_device_utility_mac.h b/webrtc/modules/audio_device/mac/audio_device_utility_mac.h index 6c48b3805..5a96cd8a4 100644 --- a/webrtc/modules/audio_device/mac/audio_device_utility_mac.h +++ b/webrtc/modules/audio_device/mac/audio_device_utility_mac.h @@ -31,6 +31,6 @@ private: int32_t _id; }; -} // namespace webrtc +} // namespace webrtc #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_MAC_AUDIO_DEVICE_UTILITY_MAC_H_ diff --git a/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.cc b/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.cc index db4cfab82..e7a8b52a1 100644 --- a/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.cc +++ b/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.cc @@ -1163,5 +1163,5 @@ void AudioMixerManagerMac::logCAMsg(const TraceLevel level, #endif } -} // namespace webrtc +} // namespace webrtc // EOF diff --git a/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h b/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h index 8c89e7198..c5024d122 100644 --- a/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h +++ b/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h @@ -75,6 +75,6 @@ private: }; -} //namespace webrtc +} // namespace webrtc #endif // AUDIO_MIXER_MAC_H diff --git a/webrtc/modules/audio_device/test/func_test_manager.cc b/webrtc/modules/audio_device/test/func_test_manager.cc index 5eccbe688..e48cd338e 100644 --- a/webrtc/modules/audio_device/test/func_test_manager.cc +++ b/webrtc/modules/audio_device/test/func_test_manager.cc @@ -443,7 +443,7 @@ int32_t AudioTransportImpl::NeedMorePlayData( } _audioList.PopFront(); } - } // if (_fullDuplex) + } // if (_fullDuplex) if (_playFromFile && _playFile.Open()) { @@ -475,7 +475,7 @@ int32_t AudioTransportImpl::NeedMorePlayData( audio16++; } } - } // if (_playFromFile && _playFile.Open()) + } // if (_playFromFile && _playFile.Open()) _playCount++; @@ -550,7 +550,7 @@ int32_t AudioTransportImpl::NeedMorePlayData( { TEST_LOG("++"); } - } // if (_playCount % 100 == 0) + } // if (_playCount % 100 == 0) nSamplesOut = nSamples; @@ -880,7 +880,7 @@ int32_t FuncTestManager::TestAudioLayerSelection() TEST_LOG("\nActiveAudioLayer: kWindowsCoreAudio <=> " "switch was possible\n \n"); } - } // if (tryWinWave || tryWinCore) + } // if (tryWinWave || tryWinCore) PRINT_TEST_RESULTS; @@ -2460,7 +2460,7 @@ int32_t FuncTestManager::TestDeviceRemoval() loopCount++; } - } // loopCount + } // loopCount EXPECT_EQ(0, audioDevice->Terminate()); EXPECT_FALSE(audioDevice->Initialized()); @@ -2729,6 +2729,6 @@ int32_t FuncTestManager::TestAdvancedMBAPI() return 0; } -} // namespace webrtc +} // namespace webrtc // EOF diff --git a/webrtc/modules/audio_device/test/func_test_manager.h b/webrtc/modules/audio_device/test/func_test_manager.h index 0036b5c9b..ea39d2823 100644 --- a/webrtc/modules/audio_device/test/func_test_manager.h +++ b/webrtc/modules/audio_device/test/func_test_manager.h @@ -218,6 +218,6 @@ private: AudioTransportImpl* _audioTransport; }; -} // namespace webrtc +} // namespace webrtc #endif // #ifndef WEBRTC_AUDIO_DEVICE_FUNC_TEST_MANAGER_H diff --git a/webrtc/modules/audio_device/win/audio_device_core_win.cc b/webrtc/modules/audio_device/win/audio_device_core_win.cc index f73215124..7811fffdd 100644 --- a/webrtc/modules/audio_device/win/audio_device_core_win.cc +++ b/webrtc/modules/audio_device/win/audio_device_core_win.cc @@ -8,7 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ -#pragma warning(disable: 4995) // name was marked as #pragma deprecated +#pragma warning(disable: 4995) // name was marked as #pragma deprecated #if (_MSC_VER >= 1310) && (_MSC_VER < 1400) // Reports the major and minor versions of the compiler. diff --git a/webrtc/modules/audio_processing/ns/ns_core.c b/webrtc/modules/audio_processing/ns/ns_core.c index e7093c7fd..124a66d8d 100644 --- a/webrtc/modules/audio_processing/ns/ns_core.c +++ b/webrtc/modules/audio_processing/ns/ns_core.c @@ -276,7 +276,7 @@ void WebRtcNs_NoiseEstimation(NSinst_t* inst, float* magn, float* noise) { inst->density[offset + i] = ((float)inst->counter[s] * inst->density[offset + i] + (float)1.0 / ((float)2.0 * WIDTH)) / (float)(inst->counter[s] + 1); } - } // end loop over magnitude spectrum + } // end loop over magnitude spectrum if (inst->counter[s] >= END_STARTUP_LONG) { inst->counter[s] = 0; @@ -288,7 +288,7 @@ void WebRtcNs_NoiseEstimation(NSinst_t* inst, float* magn, float* noise) { } inst->counter[s]++; - } // end loop over simultaneous estimates + } // end loop over simultaneous estimates // Sequentially update the noise during startup if (inst->updates < END_STARTUP_LONG) { @@ -522,7 +522,7 @@ void WebRtcNs_FeatureParameterExtraction(NSinst_t* inst, int flag) { inst->histSpecDiff[i] = 0; } } - } // end of flag == 1 + } // end of flag == 1 } // Compute spectral flatness on input spectrum @@ -855,7 +855,7 @@ int WebRtcNs_ProcessCore(NSinst_t* inst, } outFrameHB[i] = (short)dTmp; } - } // end of H band gain computation + } // end of H band gain computation // return 0; } @@ -1006,14 +1006,14 @@ int WebRtcNs_ProcessCore(NSinst_t* inst, snrLocPrior[i] = DD_PR_SNR * previousEstimateStsa[i] + ((float)1.0 - DD_PR_SNR) * snrLocPost[i]; // post and prior snr needed for step 2 - } // end of loop over freqs + } // end of loop over freqs #ifdef PROCESS_FLOW_1 for (i = 0; i < inst->magnLen; i++) { // gain filter tmpFloat1 = inst->overdrive + snrLocPrior[i]; tmpFloat2 = (float)snrLocPrior[i] / tmpFloat1; theFilter[i] = (float)tmpFloat2; - } // end of loop over freqs + } // end of loop over freqs #endif // done with step 1: dd computation of prior and post snr @@ -1085,7 +1085,7 @@ int WebRtcNs_ProcessCore(NSinst_t* inst, noise[i] = noiseUpdateTmp; } } - } // end of freq loop + } // end of freq loop // done with step 2: noise update // @@ -1105,7 +1105,7 @@ int WebRtcNs_ProcessCore(NSinst_t* inst, tmpFloat1 = inst->overdrive + snrPrior; tmpFloat2 = (float)snrPrior / tmpFloat1; theFilter[i] = (float)tmpFloat2; - } // end of loop over freqs + } // end of loop over freqs // done with step3 #endif #endif @@ -1204,7 +1204,7 @@ int WebRtcNs_ProcessCore(NSinst_t* inst, factor = (float)1.0 / gain; } #endif - } // out of inst->gainmap==1 + } // out of inst->gainmap==1 // synthesis for (i = 0; i < inst->anaLen; i++) { @@ -1227,7 +1227,7 @@ int WebRtcNs_ProcessCore(NSinst_t* inst, inst->outBuf[i] = fout[i + inst->blockLen10ms]; } } - } // end of if out.len==0 + } // end of if out.len==0 else { for (i = 0; i < inst->blockLen10ms; i++) { fout[i] = inst->outBuf[i]; @@ -1297,7 +1297,7 @@ int WebRtcNs_ProcessCore(NSinst_t* inst, } outFrameHB[i] = (short)dTmp; } - } // end of H band gain computation + } // end of H band gain computation // return 0; diff --git a/webrtc/modules/audio_processing/ns/nsx_core.c b/webrtc/modules/audio_processing/ns/nsx_core.c index bf86c7282..6076d3fd0 100644 --- a/webrtc/modules/audio_processing/ns/nsx_core.c +++ b/webrtc/modules/audio_processing/ns/nsx_core.c @@ -588,7 +588,7 @@ static void NoiseEstimationC(NsxInst_t* inst, width_factor, countDiv, 15); inst->noiseEstDensity[offset + i] = tmp16no1 + tmp16no2; } - } // end loop over magnitude spectrum + } // end loop over magnitude spectrum if (counter >= END_STARTUP_LONG) { inst->noiseEstCounter[s] = 0; @@ -598,7 +598,7 @@ static void NoiseEstimationC(NsxInst_t* inst, } inst->noiseEstCounter[s]++; - } // end loop over simultaneous estimates + } // end loop over simultaneous estimates // Sequentially update the noise during startup if (inst->blockIndex < END_STARTUP_LONG) { @@ -1146,7 +1146,7 @@ void WebRtcNsx_FeatureParameterExtraction(NsxInst_t* inst, int flag) { WebRtcSpl_ZerosArrayW16(inst->histLrt, HIST_PAR_EST); WebRtcSpl_ZerosArrayW16(inst->histSpecDiff, HIST_PAR_EST); WebRtcSpl_ZerosArrayW16(inst->histSpecFlat, HIST_PAR_EST); - } // end of flag == 1 + } // end of flag == 1 } @@ -1874,7 +1874,7 @@ void WebRtcNsx_DataSynthesis(NsxInst_t* inst, short* outFrame) { tmp16no2 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(inst->priorNonSpeechProb, gainFactor2, 14); // Q13; gainFactor = tmp16no1 + tmp16no2; // Q13 - } // out of flag_gain_map==1 + } // out of flag_gain_map==1 // Synthesis, read out fully processed segment, and update synthesis buffer. WebRtcNsx_SynthesisUpdate(inst, outFrame, gainFactor); @@ -1960,7 +1960,7 @@ int WebRtcNsx_ProcessCore(NsxInst_t* inst, short* speechFrame, short* speechFram for (i = 0; i < inst->blockLen10ms; i++) { outFrameHB[i] = inst->dataBufHBFX[i]; // Q0 } - } // end of H band gain computation + } // end of H band gain computation return 0; } @@ -2153,7 +2153,7 @@ int WebRtcNsx_ProcessCore(NsxInst_t* inst, short* speechFrame, short* speechFram priorSnr = tmpU32no1 + tmpU32no2 + 512; // Q22 (added 512 for rounding) // priorLocSnr = 1 + 2*priorSnr priorLocSnr[i] = 2048 + WEBRTC_SPL_RSHIFT_U32(priorSnr, 10); // Q11 - } // end of loop over frequencies + } // end of loop over frequencies // done with step 1: DD computation of prior and post SNR // STEP 2: compute speech/noise likelihood @@ -2314,7 +2314,7 @@ int WebRtcNsx_ProcessCore(NsxInst_t* inst, short* speechFrame, short* speechFram tmp32no2 += tmp32no1; // Q(qMagn) } inst->avgMagnPause[i] = tmp32no2; - } // end of frequency loop + } // end of frequency loop norm32no1 = WebRtcSpl_NormU32(maxNoiseU32); qNoise = inst->prevQNoise + norm32no1 - 5; @@ -2389,7 +2389,7 @@ int WebRtcNsx_ProcessCore(NsxInst_t* inst, short* speechFrame, short* speechFram inst->noiseSupFilter[i] = (uint16_t)WebRtcSpl_DivU32U16(tmpU32no1, END_STARTUP_SHORT); } - } // end of loop over frequencies + } // end of loop over frequencies //done with step3 // save noise and magnitude spectrum for next frame @@ -2484,7 +2484,7 @@ int WebRtcNsx_ProcessCore(NsxInst_t* inst, short* speechFrame, short* speechFram outFrameHB[i] = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(gainTimeDomainHB, inst->dataBufHBFX[i], 14); // Q0 } - } // end of H band gain computation + } // end of H band gain computation return 0; } diff --git a/webrtc/modules/audio_processing/ns/nsx_core_neon.c b/webrtc/modules/audio_processing/ns/nsx_core_neon.c index 2cb2e4e23..1fc8a86c2 100644 --- a/webrtc/modules/audio_processing/ns/nsx_core_neon.c +++ b/webrtc/modules/audio_processing/ns/nsx_core_neon.c @@ -291,7 +291,7 @@ void WebRtcNsx_NoiseEstimationNeon(NsxInst_t* inst, __asm__("vbit %q0, %q1, %q2":: "w"(tmp16x8_1), "w"(tmp16x8_0), "w"(tmp16x8_4)); vst1q_s16(&inst->noiseEstDensity[offset + i], tmp16x8_1); - } // End loop over magnitude spectrum + } // End loop over magnitude spectrum // Last iteration over magnitude spectrum: // compute delta @@ -348,7 +348,7 @@ void WebRtcNsx_NoiseEstimationNeon(NsxInst_t* inst, } inst->noiseEstCounter[s]++; - } // end loop over simultaneous estimates + } // end loop over simultaneous estimates // Sequentially update the noise during startup if (inst->blockIndex < END_STARTUP_LONG) { diff --git a/webrtc/modules/desktop_capture/mac/desktop_configuration.mm b/webrtc/modules/desktop_capture/mac/desktop_configuration.mm index e9b9863a8..a917b5dc0 100644 --- a/webrtc/modules/desktop_capture/mac/desktop_configuration.mm +++ b/webrtc/modules/desktop_capture/mac/desktop_configuration.mm @@ -83,7 +83,7 @@ MacDisplayConfiguration GetConfigurationForScreen(NSScreen* screen) { return display_config; } -} // namespace +} // namespace MacDisplayConfiguration::MacDisplayConfiguration() : id(0), diff --git a/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.cc b/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.cc index f83d76e1a..5dcbc52a9 100644 --- a/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.cc +++ b/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.cc @@ -52,4 +52,4 @@ void ScopedPixelBufferObject::Release() { } } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.h b/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.h index b4f6ad13a..73d425aea 100644 --- a/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.h +++ b/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.h @@ -36,6 +36,6 @@ class ScopedPixelBufferObject { DISALLOW_COPY_AND_ASSIGN(ScopedPixelBufferObject); }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_SCOPED_PIXEL_BUFFER_OBJECT_H_ diff --git a/webrtc/modules/interface/module_common_types.h b/webrtc/modules/interface/module_common_types.h index 7baa7e981..57a1dfb92 100644 --- a/webrtc/modules/interface/module_common_types.h +++ b/webrtc/modules/interface/module_common_types.h @@ -1067,6 +1067,6 @@ inline uint32_t LatestTimestamp(uint32_t timestamp1, uint32_t timestamp2) { timestamp2; } -} // namespace webrtc +} // namespace webrtc #endif // MODULE_COMMON_TYPES_H diff --git a/webrtc/modules/media_file/interface/media_file.h b/webrtc/modules/media_file/interface/media_file.h index 78dcf9273..5ee40fd6c 100644 --- a/webrtc/modules/media_file/interface/media_file.h +++ b/webrtc/modules/media_file/interface/media_file.h @@ -223,5 +223,5 @@ protected: MediaFile() {} virtual ~MediaFile() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_MEDIA_FILE_INTERFACE_MEDIA_FILE_H_ diff --git a/webrtc/modules/media_file/interface/media_file_defines.h b/webrtc/modules/media_file/interface/media_file_defines.h index d3093019f..7cc543695 100644 --- a/webrtc/modules/media_file/interface/media_file_defines.h +++ b/webrtc/modules/media_file/interface/media_file_defines.h @@ -47,5 +47,5 @@ public: protected: FileCallback() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_MEDIA_FILE_INTERFACE_MEDIA_FILE_DEFINES_H_ diff --git a/webrtc/modules/media_file/source/avi_file.cc b/webrtc/modules/media_file/source/avi_file.cc index b3830731d..bfc0b8ac4 100644 --- a/webrtc/modules/media_file/source/avi_file.cc +++ b/webrtc/modules/media_file/source/avi_file.cc @@ -1763,4 +1763,4 @@ void AviFile::WriteIndex() } PutLE32LengthFromCurrent(static_cast(idxChunkSize)); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/media_file/source/avi_file.h b/webrtc/modules/media_file/source/avi_file.h index 83a51fc79..39ae3261d 100644 --- a/webrtc/modules/media_file/source/avi_file.h +++ b/webrtc/modules/media_file/source/avi_file.h @@ -271,6 +271,6 @@ private: ListWrapper* _indexList; // Elements are of type AVIINDEXENTRY. }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_MEDIA_FILE_SOURCE_AVI_FILE_H_ diff --git a/webrtc/modules/media_file/source/media_file_impl.cc b/webrtc/modules/media_file/source/media_file_impl.cc index fa66677f2..275ca20b2 100644 --- a/webrtc/modules/media_file/source/media_file_impl.cc +++ b/webrtc/modules/media_file/source/media_file_impl.cc @@ -1368,4 +1368,4 @@ bool MediaFileImpl::ValidFrequency(const uint32_t frequency) "Frequency should be 8000, 16000 or 32000 (Hz)"); return false; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/media_file/source/media_file_impl.h b/webrtc/modules/media_file/source/media_file_impl.h index c7390306e..33c45e921 100644 --- a/webrtc/modules/media_file/source/media_file_impl.h +++ b/webrtc/modules/media_file/source/media_file_impl.h @@ -236,6 +236,6 @@ private: FileCallback* _ptrCallback; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_MEDIA_FILE_SOURCE_MEDIA_FILE_IMPL_H_ diff --git a/webrtc/modules/media_file/source/media_file_utility.cc b/webrtc/modules/media_file/source/media_file_utility.cc index 4e23899cf..58869aa02 100644 --- a/webrtc/modules/media_file/source/media_file_utility.cc +++ b/webrtc/modules/media_file/source/media_file_utility.cc @@ -55,7 +55,7 @@ struct WAVE_CHUNK_header int8_t fmt_ckID[4]; int32_t fmt_ckSize; }; -} // unnamed namespace +} // unnamed namespace namespace webrtc { ModuleFileUtility::ModuleFileUtility(const int32_t id) @@ -2559,4 +2559,4 @@ uint32_t ModuleFileUtility::PlayoutPositionMs() return 0; } } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/media_file/source/media_file_utility.h b/webrtc/modules/media_file/source/media_file_utility.h index 049f25f5f..8376169a7 100644 --- a/webrtc/modules/media_file/source/media_file_utility.h +++ b/webrtc/modules/media_file/source/media_file_utility.h @@ -343,5 +343,5 @@ private: VideoCodec _videoCodec; #endif }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_MEDIA_FILE_SOURCE_MEDIA_FILE_UTILITY_H_ diff --git a/webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h b/webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h index 4fe5d9164..f915a0fa5 100644 --- a/webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h +++ b/webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h @@ -52,6 +52,6 @@ public: uint32_t _incomingBitRate; double _noiseVar; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_BWE_DEFINES_H_ diff --git a/webrtc/modules/remote_bitrate_estimator/remote_rate_control.cc b/webrtc/modules/remote_bitrate_estimator/remote_rate_control.cc index 36ecdb29e..d07b7d807 100644 --- a/webrtc/modules/remote_bitrate_estimator/remote_rate_control.cc +++ b/webrtc/modules/remote_bitrate_estimator/remote_rate_control.cc @@ -381,4 +381,4 @@ void RemoteRateControl::StateStr(BandwidthUsage state, char* str) { assert(false); } } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/remote_bitrate_estimator/remote_rate_control.h b/webrtc/modules/remote_bitrate_estimator/remote_rate_control.h index 4d16c7207..87a57217a 100644 --- a/webrtc/modules/remote_bitrate_estimator/remote_rate_control.h +++ b/webrtc/modules/remote_bitrate_estimator/remote_rate_control.h @@ -75,6 +75,6 @@ class RemoteRateControl { float beta_; unsigned int rtt_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_REMOTE_RATE_CONTROL_H_ diff --git a/webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h b/webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h index 5d1144804..5c25fbe96 100644 --- a/webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h +++ b/webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h @@ -932,5 +932,5 @@ class RtpRtcp : public Module { */ virtual int32_t RequestKeyFrame() = 0; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ diff --git a/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h b/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h index d3a336667..500ab53a3 100644 --- a/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h +++ b/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h @@ -307,5 +307,5 @@ class NullRtpAudioFeedback : public RtpAudioFeedback { const uint8_t volume) {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ diff --git a/webrtc/modules/rtp_rtcp/source/H264/bitstream_builder.cc b/webrtc/modules/rtp_rtcp/source/H264/bitstream_builder.cc index 7909f8871..3551782f3 100644 --- a/webrtc/modules/rtp_rtcp/source/H264/bitstream_builder.cc +++ b/webrtc/modules/rtp_rtcp/source/H264/bitstream_builder.cc @@ -577,4 +577,4 @@ BitstreamBuilder::AddSuffix(const uint8_t numBits, const uint32_t rest) } } } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/H264/bitstream_builder.h b/webrtc/modules/rtp_rtcp/source/H264/bitstream_builder.h index bdfa08d21..bf1efaf7c 100644 --- a/webrtc/modules/rtp_rtcp/source/H264/bitstream_builder.h +++ b/webrtc/modules/rtp_rtcp/source/H264/bitstream_builder.h @@ -47,6 +47,6 @@ private: uint32_t _byteOffset; uint8_t _bitOffset; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_H264_BITSTREAM_BUILDER_H_ diff --git a/webrtc/modules/rtp_rtcp/source/H264/bitstream_parser.cc b/webrtc/modules/rtp_rtcp/source/H264/bitstream_parser.cc index 43b139864..d6505d213 100644 --- a/webrtc/modules/rtp_rtcp/source/H264/bitstream_parser.cc +++ b/webrtc/modules/rtp_rtcp/source/H264/bitstream_parser.cc @@ -214,4 +214,4 @@ BitstreamParser::GetUE() } return retVal; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/H264/bitstream_parser.h b/webrtc/modules/rtp_rtcp/source/H264/bitstream_parser.h index 4ba55604e..6e3d30771 100644 --- a/webrtc/modules/rtp_rtcp/source/H264/bitstream_parser.h +++ b/webrtc/modules/rtp_rtcp/source/H264/bitstream_parser.h @@ -41,6 +41,6 @@ private: uint32_t _byteOffset; uint8_t _bitOffset; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_H264_BITSTREAM_PARSER_H_ diff --git a/webrtc/modules/rtp_rtcp/source/H264/h264_information.cc b/webrtc/modules/rtp_rtcp/source/H264/h264_information.cc index e75ddf5af..ddb34eb6d 100644 --- a/webrtc/modules/rtp_rtcp/source/H264/h264_information.cc +++ b/webrtc/modules/rtp_rtcp/source/H264/h264_information.cc @@ -815,4 +815,4 @@ H264Information::SetLayerLengths() return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/H264/h264_information.h b/webrtc/modules/rtp_rtcp/source/H264/h264_information.h index e51b9e1ae..42b0b8839 100644 --- a/webrtc/modules/rtp_rtcp/source/H264/h264_information.h +++ b/webrtc/modules/rtp_rtcp/source/H264/h264_information.h @@ -165,6 +165,6 @@ private: uint32_t _remLength; H264Info _info; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_H264_H264_INFORMATION_H_ diff --git a/webrtc/modules/rtp_rtcp/source/H264/rtp_sender_h264.cc b/webrtc/modules/rtp_rtcp/source/H264/rtp_sender_h264.cc index 75f2655ec..d62f50b4c 100644 --- a/webrtc/modules/rtp_rtcp/source/H264/rtp_sender_h264.cc +++ b/webrtc/modules/rtp_rtcp/source/H264/rtp_sender_h264.cc @@ -466,7 +466,7 @@ RTPSenderH264::SendH264_STAP_A(const FrameType frameType, } } return 0; -} // end STAP-A +} // end STAP-A // STAP-A for H.264 SVC int32_t @@ -660,7 +660,7 @@ RTPSenderH264::SendH264_STAP_A_PACSI(const FrameType frameType, } } return 0; -} // end STAP-A +} // end STAP-A int32_t RTPSenderH264::SendH264_FU_A(const FrameType frameType, @@ -1277,4 +1277,4 @@ RTPSenderH264::SendH264(const FrameType frameType, } return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/H264/rtp_sender_h264.h b/webrtc/modules/rtp_rtcp/source/H264/rtp_sender_h264.h index 60e71b294..92a4de6d8 100644 --- a/webrtc/modules/rtp_rtcp/source/H264/rtp_sender_h264.h +++ b/webrtc/modules/rtp_rtcp/source/H264/rtp_sender_h264.h @@ -174,6 +174,6 @@ private: }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_H264_RTP_SENDER_H264_H_ diff --git a/webrtc/modules/rtp_rtcp/source/forward_error_correction.h b/webrtc/modules/rtp_rtcp/source/forward_error_correction.h index 32e8158a1..1e7695fc4 100644 --- a/webrtc/modules/rtp_rtcp/source/forward_error_correction.h +++ b/webrtc/modules/rtp_rtcp/source/forward_error_correction.h @@ -308,5 +308,5 @@ class ForwardErrorCorrection { FecPacketList fec_packet_list_; bool fec_packet_received_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_FORWARD_ERROR_CORRECTION_H_ diff --git a/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc b/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc index 124fc65a8..f718f3166 100644 --- a/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc +++ b/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc @@ -370,7 +370,7 @@ void GeneratePacketMasks(int num_media_packets, int num_fec_packets, num_mask_bytes, packet_mask, mask_table); } // End of UEP modification -} //End of GetPacketMasks +} //End of GetPacketMasks } // namespace internal } // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc index bb914403e..10566d6cc 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc @@ -124,4 +124,4 @@ TEST_F(RtcpFormatRembTest, TestCompund) { EXPECT_EQ(0, rtcp_sender_->SetREMBData(1234, 2, SSRCs)); EXPECT_EQ(0, rtcp_sender_->SendRTCP(kRtcpRemb)); } -} // namespace +} // namespace diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc b/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc index 0dde10bf2..b86728ae3 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc @@ -1449,4 +1449,4 @@ void RTCPReceiver::PacketTimeout() } } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver.h b/webrtc/modules/rtp_rtcp/source/rtcp_receiver.h index 51b07abae..a86eef44a 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver.h @@ -243,5 +243,5 @@ protected: uint16_t _rtt; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc index 8d833a44b..1ad734ccd 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.cc @@ -197,4 +197,4 @@ void RTCPReceiveInformation::VerifyAndAllocateBoundingSet( const uint32_t minimumSize) { TmmbnBoundingSet.VerifyAndAllocateSet(minimumSize); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h index 2c2c375ec..a7ffab98a 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h @@ -130,7 +130,7 @@ private: std::vector _tmmbrSetTimeouts; }; -} // end namespace RTCPHelp -} // namespace webrtc +} // end namespace RTCPHelp +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_ diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc index 83d62c2c8..29057378e 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc @@ -2136,4 +2136,4 @@ RTCPSender::SetTMMBN(const TMMBRSet* boundingSet, } return -1; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_sender.h b/webrtc/modules/rtp_rtcp/source/rtcp_sender.h index 34a083800..9be2f3f9b 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.h @@ -269,6 +269,6 @@ private: uint32_t _pliCount; uint32_t _fullIntraRequestCount; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_ diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc b/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc index c1314fb31..0e6a22184 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc @@ -1524,4 +1524,4 @@ RTCPUtility::RTCPPacketIterator::Current() return &_header; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_utility.h b/webrtc/modules/rtp_rtcp/source/rtcp_utility.h index f6e1b72c3..606384abb 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_utility.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_utility.h @@ -441,6 +441,6 @@ namespace RTCPUtility { RTCPCommonHeader _header; }; -} // RTCPUtility -} // namespace webrtc +} // RTCPUtility +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_UTILITY_H_ diff --git a/webrtc/modules/rtp_rtcp/source/rtp_header_extension.cc b/webrtc/modules/rtp_rtcp/source/rtp_header_extension.cc index c2b6424bc..daf7e1f57 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_header_extension.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_header_extension.cc @@ -178,4 +178,4 @@ void RtpHeaderExtensionMap::GetCopy(RtpHeaderExtensionMap* map) const { it++; } } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/rtp_receiver.cc b/webrtc/modules/rtp_rtcp/source/rtp_receiver.cc index cce3b29d8..4fc557fae 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_receiver.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_receiver.cc @@ -822,7 +822,7 @@ int32_t RTPReceiver::CheckPayloadChanged( rtp_media_receiver_->GetLastMediaSpecificPayload(specific_payload); is_red = false; } - } // End critsect. + } // End critsect. if (re_initialize_decoder) { if (-1 == rtp_media_receiver_->InvokeOnInitializeDecoder( @@ -1137,4 +1137,4 @@ void RTPReceiver::ProcessBitrate() { "RTPReceiverPacketRate", ssrc_, PacketRate()); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/rtp_receiver.h b/webrtc/modules/rtp_rtcp/source/rtp_receiver.h index 33ce93938..ce7e0a2bd 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_receiver.h +++ b/webrtc/modules/rtp_rtcp/source/rtp_receiver.h @@ -237,6 +237,6 @@ class RTPReceiver : public Bitrate { int payload_type_rtx_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RECEIVER_H_ diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h index 408354056..7d124b1c8 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h +++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h @@ -47,7 +47,7 @@ enum { DTMF_OUTBAND_MAX = 20}; enum { RTP_MAX_BURST_SLEEP_TIME = 500 }; enum { RTP_AUDIO_LEVEL_UNIQUE_ID = 0xbede }; enum { RTP_MAX_PACKETS_PER_FRAME= 512 }; // must be multiple of 32 -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_CONFIG_H_ diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.cc b/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.cc index b5684aa89..0a45d3c6f 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.cc @@ -474,7 +474,7 @@ int32_t RTPSenderAudio::SendAudio( } } _lastPayloadType = payloadType; - } // end critical section + } // end critical section TRACE_EVENT_INSTANT2("webrtc_rtp", "Audio::Send", "timestamp", captureTimeStamp, "seqnum", _rtpSender->SequenceNumber()); @@ -631,4 +631,4 @@ RTPSenderAudio::SendTelephoneEventPacket(const bool ended, return retVal; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h b/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h index 6e4ffc09c..7074e7b29 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h +++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h @@ -121,6 +121,6 @@ private: uint8_t _audioLevelIndicationID; uint8_t _audioLevel_dBov; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_AUDIO_H_ diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc index 07ab3102f..1db437777 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc @@ -507,4 +507,4 @@ int RTPSenderVideo::SetSelectiveRetransmissions(uint8_t settings) { return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h index 7b9b34f30..4c406d750 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h +++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h @@ -137,6 +137,6 @@ private: // Bitrate used for video payload and RTP headers Bitrate _videoBitrate; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ diff --git a/webrtc/modules/rtp_rtcp/source/ssrc_database.cc b/webrtc/modules/rtp_rtcp/source/ssrc_database.cc index 0da29c09e..1e57970c0 100644 --- a/webrtc/modules/rtp_rtcp/source/ssrc_database.cc +++ b/webrtc/modules/rtp_rtcp/source/ssrc_database.cc @@ -214,4 +214,4 @@ uint32_t SSRCDatabase::GenerateRandom() return ssrc; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/ssrc_database.h b/webrtc/modules/rtp_rtcp/source/ssrc_database.h index e21b111b8..e1f90e79d 100644 --- a/webrtc/modules/rtp_rtcp/source/ssrc_database.h +++ b/webrtc/modules/rtp_rtcp/source/ssrc_database.h @@ -57,6 +57,6 @@ private: CriticalSectionWrapper* _critSect; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_SSRC_DATABASE_H_ diff --git a/webrtc/modules/rtp_rtcp/source/tmmbr_help.cc b/webrtc/modules/rtp_rtcp/source/tmmbr_help.cc index 8d8654359..ecdf6b87c 100644 --- a/webrtc/modules/rtp_rtcp/source/tmmbr_help.cc +++ b/webrtc/modules/rtp_rtcp/source/tmmbr_help.cc @@ -479,4 +479,4 @@ bool TMMBRHelp::CalcMinBitRate( uint32_t* minBitrateKbit) const { } return true; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/rtp_rtcp/source/tmmbr_help.h b/webrtc/modules/rtp_rtcp/source/tmmbr_help.h index 29bc70c0c..a6d1f47f9 100644 --- a/webrtc/modules/rtp_rtcp/source/tmmbr_help.h +++ b/webrtc/modules/rtp_rtcp/source/tmmbr_help.h @@ -110,6 +110,6 @@ private: float* _ptrIntersectionBoundingSet; float* _ptrMaxPRBoundingSet; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_TMMBR_HELP_H_ diff --git a/webrtc/modules/rtp_rtcp/source/video_codec_information.h b/webrtc/modules/rtp_rtcp/source/video_codec_information.h index b5cc0633e..456b3bb93 100644 --- a/webrtc/modules/rtp_rtcp/source/video_codec_information.h +++ b/webrtc/modules/rtp_rtcp/source/video_codec_information.h @@ -23,6 +23,6 @@ public: virtual RtpVideoCodecTypes Type() = 0; virtual ~VideoCodecInformation(){}; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_VIDEO_CODEC_INFORMATION_H_ diff --git a/webrtc/modules/rtp_rtcp/test/testFec/average_residual_loss_xor_codes.h b/webrtc/modules/rtp_rtcp/test/testFec/average_residual_loss_xor_codes.h index 2d4d568d8..2e8d676e4 100644 --- a/webrtc/modules/rtp_rtcp/test/testFec/average_residual_loss_xor_codes.h +++ b/webrtc/modules/rtp_rtcp/test/testFec/average_residual_loss_xor_codes.h @@ -185,4 +185,4 @@ const float kMaxResidualLossBurstyMask[kNumberCodes] = { 0.009657f }; -} // namespace +} // namespace diff --git a/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc b/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc index 1c7b10661..336d18303 100644 --- a/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc +++ b/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc @@ -473,11 +473,11 @@ TEST(FecTest, FecTest) { } timeStamp += 90000 / 30; } // loop over numImpPackets - } // loop over FecPackets - } // loop over numMediaPackets + } // loop over FecPackets + } // loop over numMediaPackets delete[] packetMask; } // loop over loss rates - } // loop over mask types + } // loop over mask types // Have DecodeFEC free allocated memory. fec.ResetState(&recoveredPacketList); diff --git a/webrtc/modules/utility/interface/audio_frame_operations.h b/webrtc/modules/utility/interface/audio_frame_operations.h index 4705cee63..4154e5e1d 100644 --- a/webrtc/modules/utility/interface/audio_frame_operations.h +++ b/webrtc/modules/utility/interface/audio_frame_operations.h @@ -53,6 +53,6 @@ class AudioFrameOperations { static int ScaleWithSat(float scale, AudioFrame& frame); }; -} // namespace webrtc +} // namespace webrtc #endif // #ifndef WEBRTC_VOICE_ENGINE_AUDIO_FRAME_OPERATIONS_H_ diff --git a/webrtc/modules/utility/interface/file_player.h b/webrtc/modules/utility/interface/file_player.h index 43ab5007d..7f5ecb49a 100644 --- a/webrtc/modules/utility/interface/file_player.h +++ b/webrtc/modules/utility/interface/file_player.h @@ -107,5 +107,5 @@ protected: virtual ~FilePlayer() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_UTILITY_INTERFACE_FILE_PLAYER_H_ diff --git a/webrtc/modules/utility/interface/file_recorder.h b/webrtc/modules/utility/interface/file_recorder.h index 2c3268d66..f8139336f 100644 --- a/webrtc/modules/utility/interface/file_recorder.h +++ b/webrtc/modules/utility/interface/file_recorder.h @@ -86,5 +86,5 @@ protected: virtual ~FileRecorder() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_UTILITY_INTERFACE_FILE_RECORDER_H_ diff --git a/webrtc/modules/utility/interface/process_thread.h b/webrtc/modules/utility/interface/process_thread.h index 3e25bd0dc..75c9b1859 100644 --- a/webrtc/modules/utility/interface/process_thread.h +++ b/webrtc/modules/utility/interface/process_thread.h @@ -30,5 +30,5 @@ public: protected: virtual ~ProcessThread(); }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_UTILITY_INTERFACE_PROCESS_THREAD_H_ diff --git a/webrtc/modules/utility/interface/rtp_dump.h b/webrtc/modules/utility/interface/rtp_dump.h index 9a852d07c..62b8bf5b2 100644 --- a/webrtc/modules/utility/interface/rtp_dump.h +++ b/webrtc/modules/utility/interface/rtp_dump.h @@ -48,5 +48,5 @@ public: protected: virtual ~RtpDump(); }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_UTILITY_INTERFACE_RTP_DUMP_H_ diff --git a/webrtc/modules/utility/source/audio_frame_operations.cc b/webrtc/modules/utility/source/audio_frame_operations.cc index 2e13de4f6..b21216d3b 100644 --- a/webrtc/modules/utility/source/audio_frame_operations.cc +++ b/webrtc/modules/utility/source/audio_frame_operations.cc @@ -107,5 +107,5 @@ int AudioFrameOperations::ScaleWithSat(float scale, AudioFrame& frame) { return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/utility/source/coder.cc b/webrtc/modules/utility/source/coder.cc index 85fb6988b..3cef5e509 100644 --- a/webrtc/modules/utility/source/coder.cc +++ b/webrtc/modules/utility/source/coder.cc @@ -124,4 +124,4 @@ int32_t AudioCoder::SendData( _encodedLengthInBytes = payloadSize; return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/utility/source/coder.h b/webrtc/modules/utility/source/coder.h index 9dd2566b8..a831c557e 100644 --- a/webrtc/modules/utility/source/coder.h +++ b/webrtc/modules/utility/source/coder.h @@ -59,6 +59,6 @@ private: uint32_t _decodeTimestamp; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_UTILITY_SOURCE_CODER_H_ diff --git a/webrtc/modules/utility/source/file_player_impl.cc b/webrtc/modules/utility/source/file_player_impl.cc index 52ebe32b1..3a06c72da 100644 --- a/webrtc/modules/utility/source/file_player_impl.cc +++ b/webrtc/modules/utility/source/file_player_impl.cc @@ -728,4 +728,4 @@ int32_t VideoFilePlayerImpl::SetUpVideoDecoder() return 0; } #endif // WEBRTC_MODULE_UTILITY_VIDEO -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/utility/source/file_player_impl.h b/webrtc/modules/utility/source/file_player_impl.h index ebf0da17e..c6d6b5c11 100644 --- a/webrtc/modules/utility/source/file_player_impl.h +++ b/webrtc/modules/utility/source/file_player_impl.h @@ -118,5 +118,5 @@ private: }; #endif //WEBRTC_MODULE_UTILITY_VIDEO -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_UTILITY_SOURCE_FILE_PLAYER_IMPL_H_ diff --git a/webrtc/modules/utility/source/file_recorder_impl.cc b/webrtc/modules/utility/source/file_recorder_impl.cc index fefa4dc00..9e5db72ee 100644 --- a/webrtc/modules/utility/source/file_recorder_impl.cc +++ b/webrtc/modules/utility/source/file_recorder_impl.cc @@ -793,4 +793,4 @@ int32_t AviRecorder::WriteEncodedAudioData( } #endif // WEBRTC_MODULE_UTILITY_VIDEO -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/utility/source/file_recorder_impl.h b/webrtc/modules/utility/source/file_recorder_impl.h index f8921d07d..a55b73e45 100644 --- a/webrtc/modules/utility/source/file_recorder_impl.h +++ b/webrtc/modules/utility/source/file_recorder_impl.h @@ -159,5 +159,5 @@ private: int64_t _writtenVideoMS; }; #endif // WEBRTC_MODULE_UTILITY_VIDEO -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_UTILITY_SOURCE_FILE_RECORDER_IMPL_H_ diff --git a/webrtc/modules/utility/source/process_thread_impl.cc b/webrtc/modules/utility/source/process_thread_impl.cc index 61b3e332f..2cd2a7758 100644 --- a/webrtc/modules/utility/source/process_thread_impl.cc +++ b/webrtc/modules/utility/source/process_thread_impl.cc @@ -186,4 +186,4 @@ bool ProcessThreadImpl::Process() } return true; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/utility/source/process_thread_impl.h b/webrtc/modules/utility/source/process_thread_impl.h index 7edb56534..99cd2b225 100644 --- a/webrtc/modules/utility/source/process_thread_impl.h +++ b/webrtc/modules/utility/source/process_thread_impl.h @@ -42,6 +42,6 @@ private: ListWrapper _modules; ThreadWrapper* _thread; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_UTILITY_SOURCE_PROCESS_THREAD_IMPL_H_ diff --git a/webrtc/modules/utility/source/rtp_dump_impl.cc b/webrtc/modules/utility/source/rtp_dump_impl.cc index 74de4ac61..9cc35c312 100644 --- a/webrtc/modules/utility/source/rtp_dump_impl.cc +++ b/webrtc/modules/utility/source/rtp_dump_impl.cc @@ -278,4 +278,4 @@ inline uint16_t RtpDumpImpl::RtpDumpHtons(uint16_t x) const return 0; #endif } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/utility/source/rtp_dump_impl.h b/webrtc/modules/utility/source/rtp_dump_impl.h index bb72dff3e..b14c59725 100644 --- a/webrtc/modules/utility/source/rtp_dump_impl.h +++ b/webrtc/modules/utility/source/rtp_dump_impl.h @@ -44,5 +44,5 @@ private: FileWrapper& _file; uint32_t _startTime; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_UTILITY_SOURCE_RTP_DUMP_IMPL_H_ diff --git a/webrtc/modules/utility/source/video_coder.cc b/webrtc/modules/utility/source/video_coder.cc index 01e4ae052..cff2bddfa 100644 --- a/webrtc/modules/utility/source/video_coder.cc +++ b/webrtc/modules/utility/source/video_coder.cc @@ -148,5 +148,5 @@ int32_t VideoCoder::SendData( _videoEncodedData->payloadSize = payloadSize; return 0; } -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULE_UTILITY_VIDEO diff --git a/webrtc/modules/utility/source/video_coder.h b/webrtc/modules/utility/source/video_coder.h index c69c3e46d..e1460ef35 100644 --- a/webrtc/modules/utility/source/video_coder.h +++ b/webrtc/modules/utility/source/video_coder.h @@ -63,6 +63,6 @@ private: I420VideoFrame* _decodedVideo; EncodedVideoData* _videoEncodedData; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULE_UTILITY_VIDEO #endif // WEBRTC_MODULES_UTILITY_SOURCE_VIDEO_CODER_H_ diff --git a/webrtc/modules/utility/source/video_frames_queue.cc b/webrtc/modules/utility/source/video_frames_queue.cc index 039c9e83e..85f851782 100644 --- a/webrtc/modules/utility/source/video_frames_queue.cc +++ b/webrtc/modules/utility/source/video_frames_queue.cc @@ -126,5 +126,5 @@ int32_t VideoFramesQueue::SetRenderDelay(uint32_t renderDelay) { _renderDelayMs = renderDelay; return 0; } -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULE_UTILITY_VIDEO diff --git a/webrtc/modules/utility/source/video_frames_queue.h b/webrtc/modules/utility/source/video_frames_queue.h index af6821ee1..18c437501 100644 --- a/webrtc/modules/utility/source/video_frames_queue.h +++ b/webrtc/modules/utility/source/video_frames_queue.h @@ -56,6 +56,6 @@ class VideoFramesQueue { // Estimated render delay. uint32_t _renderDelayMs; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULE_UTILITY_VIDEO #endif // WEBRTC_MODULES_UTILITY_SOURCE_VIDEO_FRAMES_QUEUE_H_ diff --git a/webrtc/modules/video_capture/device_info_impl.cc b/webrtc/modules/video_capture/device_info_impl.cc index a17493463..7f4913f2f 100644 --- a/webrtc/modules/video_capture/device_info_impl.cc +++ b/webrtc/modules/video_capture/device_info_impl.cc @@ -394,7 +394,7 @@ int32_t DeviceInfoImpl::GetOrientation(const char* deviceUniqueIdUTF8, orientation = kCameraRotate0; return -1; } -} //namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc diff --git a/webrtc/modules/video_capture/device_info_impl.h b/webrtc/modules/video_capture/device_info_impl.h index 1634c611d..b8772db40 100644 --- a/webrtc/modules/video_capture/device_info_impl.h +++ b/webrtc/modules/video_capture/device_info_impl.h @@ -63,6 +63,6 @@ protected: char* _lastUsedDeviceName; uint32_t _lastUsedDeviceNameLength; }; -} //namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_DEVICE_INFO_IMPL_H_ diff --git a/webrtc/modules/video_capture/include/video_capture.h b/webrtc/modules/video_capture/include/video_capture.h index ca04fb7ba..e3d674b1e 100644 --- a/webrtc/modules/video_capture/include/video_capture.h +++ b/webrtc/modules/video_capture/include/video_capture.h @@ -152,5 +152,5 @@ protected: virtual ~VideoCaptureModule() {}; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_INCLUDE_VIDEO_CAPTURE_H_ diff --git a/webrtc/modules/video_capture/include/video_capture_factory.h b/webrtc/modules/video_capture/include/video_capture_factory.h index 06219e3aa..ec92d31e1 100644 --- a/webrtc/modules/video_capture/include/video_capture_factory.h +++ b/webrtc/modules/video_capture/include/video_capture_factory.h @@ -44,6 +44,6 @@ class VideoCaptureFactory { ~VideoCaptureFactory(); }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_INCLUDE_VIDEO_CAPTURE_FACTORY_H_ diff --git a/webrtc/modules/video_capture/linux/device_info_linux.cc b/webrtc/modules/video_capture/linux/device_info_linux.cc index 186fdea37..add9b989f 100644 --- a/webrtc/modules/video_capture/linux/device_info_linux.cc +++ b/webrtc/modules/video_capture/linux/device_info_linux.cc @@ -326,5 +326,5 @@ int32_t DeviceInfoLinux::FillCapabilityMap(int fd) return _captureCapabilities.Size(); } -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc diff --git a/webrtc/modules/video_capture/linux/device_info_linux.h b/webrtc/modules/video_capture/linux/device_info_linux.h index 6aa53b8a3..a3e53cf87 100644 --- a/webrtc/modules/video_capture/linux/device_info_linux.h +++ b/webrtc/modules/video_capture/linux/device_info_linux.h @@ -48,6 +48,6 @@ private: bool IsDeviceNameMatches(const char* name, const char* deviceUniqueIdUTF8); }; -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_LINUX_DEVICE_INFO_LINUX_H_ diff --git a/webrtc/modules/video_capture/linux/video_capture_linux.cc b/webrtc/modules/video_capture/linux/video_capture_linux.cc index 0e7b597b8..4cbebb3fa 100644 --- a/webrtc/modules/video_capture/linux/video_capture_linux.cc +++ b/webrtc/modules/video_capture/linux/video_capture_linux.cc @@ -496,5 +496,5 @@ int32_t VideoCaptureModuleV4L2::CaptureSettings(VideoCaptureCapability& settings return 0; } -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc diff --git a/webrtc/modules/video_capture/linux/video_capture_linux.h b/webrtc/modules/video_capture/linux/video_capture_linux.h index e4b6dc6cc..896b89d70 100644 --- a/webrtc/modules/video_capture/linux/video_capture_linux.h +++ b/webrtc/modules/video_capture/linux/video_capture_linux.h @@ -58,7 +58,7 @@ private: }; Buffer *_pool; }; -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_LINUX_VIDEO_CAPTURE_LINUX_H_ diff --git a/webrtc/modules/video_capture/video_capture_delay.h b/webrtc/modules/video_capture/video_capture_delay.h index 4352644bb..f8924e25a 100644 --- a/webrtc/modules/video_capture/video_capture_delay.h +++ b/webrtc/modules/video_capture/video_capture_delay.h @@ -31,6 +31,6 @@ struct DelayValues DelayValue delayValues[NoOfDelayValues]; }; -} //namespace videocapturemodule -} //namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_DELAY_H_ diff --git a/webrtc/modules/video_capture/video_capture_factory.cc b/webrtc/modules/video_capture/video_capture_factory.cc index 6a6b5981a..99a070886 100644 --- a/webrtc/modules/video_capture/video_capture_factory.cc +++ b/webrtc/modules/video_capture/video_capture_factory.cc @@ -29,4 +29,4 @@ VideoCaptureModule::DeviceInfo* VideoCaptureFactory::CreateDeviceInfo( return videocapturemodule::VideoCaptureImpl::CreateDeviceInfo(id); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_capture/video_capture_impl.cc b/webrtc/modules/video_capture/video_capture_impl.cc index 9192dd6c6..357abc38f 100644 --- a/webrtc/modules/video_capture/video_capture_impl.cc +++ b/webrtc/modules/video_capture/video_capture_impl.cc @@ -433,5 +433,5 @@ uint32_t VideoCaptureImpl::CalculateFrameRate(const TickTime& now) return nrOfFrames; } -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc diff --git a/webrtc/modules/video_capture/video_capture_impl.h b/webrtc/modules/video_capture/video_capture_impl.h index 6133f7515..f0d496514 100644 --- a/webrtc/modules/video_capture/video_capture_impl.h +++ b/webrtc/modules/video_capture/video_capture_impl.h @@ -136,6 +136,6 @@ private: // Delta used for translating between NTP and internal timestamps. const int64_t delta_ntp_internal_ms_; }; -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_ diff --git a/webrtc/modules/video_capture/windows/device_info_ds.cc b/webrtc/modules/video_capture/windows/device_info_ds.cc index 14606b7ba..bd4523a86 100644 --- a/webrtc/modules/video_capture/windows/device_info_ds.cc +++ b/webrtc/modules/video_capture/windows/device_info_ds.cc @@ -809,5 +809,5 @@ int32_t DeviceInfoDS::DisplayCaptureSettingsDialogBox( filter->Release(); return 0; } -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc diff --git a/webrtc/modules/video_capture/windows/device_info_ds.h b/webrtc/modules/video_capture/windows/device_info_ds.h index 7dc3e6c63..f8e737659 100644 --- a/webrtc/modules/video_capture/windows/device_info_ds.h +++ b/webrtc/modules/video_capture/windows/device_info_ds.h @@ -103,6 +103,6 @@ private: bool _CoUninitializeIsRequired; }; -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_DEVICE_INFO_DS_H_ diff --git a/webrtc/modules/video_capture/windows/help_functions_ds.cc b/webrtc/modules/video_capture/windows/help_functions_ds.cc index 5c78e6b8a..f7ed9572e 100644 --- a/webrtc/modules/video_capture/windows/help_functions_ds.cc +++ b/webrtc/modules/video_capture/windows/help_functions_ds.cc @@ -115,6 +115,6 @@ BOOL PinMatchesCategory(IPin *pPin, REFGUID Category) } return bFound; } -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc diff --git a/webrtc/modules/video_capture/windows/help_functions_ds.h b/webrtc/modules/video_capture/windows/help_functions_ds.h index 9765796c9..d675f9299 100644 --- a/webrtc/modules/video_capture/windows/help_functions_ds.h +++ b/webrtc/modules/video_capture/windows/help_functions_ds.h @@ -30,6 +30,6 @@ IPin* GetInputPin(IBaseFilter* filter); IPin* GetOutputPin(IBaseFilter* filter, REFGUID Category); BOOL PinMatchesCategory(IPin *pPin, REFGUID Category); -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_HELP_FUNCTIONS_DS_H_ diff --git a/webrtc/modules/video_capture/windows/sink_filter_ds.cc b/webrtc/modules/video_capture/windows/sink_filter_ds.cc index b0f9b448d..0c78917f3 100644 --- a/webrtc/modules/video_capture/windows/sink_filter_ds.cc +++ b/webrtc/modules/video_capture/windows/sink_filter_ds.cc @@ -526,5 +526,5 @@ STDMETHODIMP CaptureSinkFilter::GetClassID( OUT CLSID * pCLSID ) return S_OK; } -} // namespace videocapturemodule -} //namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc diff --git a/webrtc/modules/video_capture/windows/sink_filter_ds.h b/webrtc/modules/video_capture/windows/sink_filter_ds.h index 010bc7e68..4966a26d3 100644 --- a/webrtc/modules/video_capture/windows/sink_filter_ds.h +++ b/webrtc/modules/video_capture/windows/sink_filter_ds.h @@ -95,6 +95,6 @@ private: VideoCaptureExternal& _captureObserver; int32_t _moduleId; }; -} // namespace videocapturemodule -} // namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_SINK_FILTER_DS_H_ diff --git a/webrtc/modules/video_capture/windows/video_capture_ds.cc b/webrtc/modules/video_capture/windows/video_capture_ds.cc index 9aa03a8d0..085967b80 100644 --- a/webrtc/modules/video_capture/windows/video_capture_ds.cc +++ b/webrtc/modules/video_capture/windows/video_capture_ds.cc @@ -409,5 +409,5 @@ HRESULT VideoCaptureDS::ConnectDVCamera() } return hr; } -} // namespace videocapturemodule -} //namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc diff --git a/webrtc/modules/video_capture/windows/video_capture_ds.h b/webrtc/modules/video_capture/windows/video_capture_ds.h index dd4afbc7e..440403933 100644 --- a/webrtc/modules/video_capture/windows/video_capture_ds.h +++ b/webrtc/modules/video_capture/windows/video_capture_ds.h @@ -76,6 +76,6 @@ protected: IPin* _outputDvPin; }; -} // namespace videocapturemodule -} //namespace webrtc +} // namespace videocapturemodule +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_WINDOWS_VIDEO_CAPTURE_DS_H_ diff --git a/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h b/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h index 8f3c5efcf..f80d21e90 100644 --- a/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h +++ b/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h @@ -247,6 +247,6 @@ public: virtual VideoDecoder* Copy() { return NULL; } }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_VIDEO_CODEC_INTERFACE_H diff --git a/webrtc/modules/video_coding/main/interface/video_coding.h b/webrtc/modules/video_coding/main/interface/video_coding.h index 0198ca57d..53c92f63d 100644 --- a/webrtc/modules/video_coding/main/interface/video_coding.h +++ b/webrtc/modules/video_coding/main/interface/video_coding.h @@ -589,6 +589,6 @@ public: virtual int StopDebugRecording() = 0; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_INTERFACE_VIDEO_CODING_H_ diff --git a/webrtc/modules/video_coding/main/source/codec_timer.h b/webrtc/modules/video_coding/main/source/codec_timer.h index f3a186348..3acc0d3eb 100644 --- a/webrtc/modules/video_coding/main/source/codec_timer.h +++ b/webrtc/modules/video_coding/main/source/codec_timer.h @@ -56,6 +56,6 @@ private: }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_CODEC_TIMER_H_ diff --git a/webrtc/modules/video_coding/main/source/content_metrics_processing.cc b/webrtc/modules/video_coding/main/source/content_metrics_processing.cc index 99160c9ad..504bdcc1a 100644 --- a/webrtc/modules/video_coding/main/source/content_metrics_processing.cc +++ b/webrtc/modules/video_coding/main/source/content_metrics_processing.cc @@ -122,4 +122,4 @@ void VCMContentMetricsProcessing::UpdateRecursiveAvg( recursive_avg_->motion_magnitude + recursive_avg_factor_ * contentMetrics->motion_magnitude; } -} // end of namespace +} // namespace diff --git a/webrtc/modules/video_coding/main/source/encoded_frame.h b/webrtc/modules/video_coding/main/source/encoded_frame.h index a36da0ce7..90cc48126 100644 --- a/webrtc/modules/video_coding/main/source/encoded_frame.h +++ b/webrtc/modules/video_coding/main/source/encoded_frame.h @@ -120,6 +120,6 @@ protected: RTPFragmentationHeader _fragmentation; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_ENCODED_FRAME_H_ diff --git a/webrtc/modules/video_coding/main/source/er_tables_xor.h b/webrtc/modules/video_coding/main/source/er_tables_xor.h index 99163ba5b..3068d7a6c 100644 --- a/webrtc/modules/video_coding/main/source/er_tables_xor.h +++ b/webrtc/modules/video_coding/main/source/er_tables_xor.h @@ -38737,6 +38737,6 @@ static const unsigned char kAvgFECRecoveryXOR[kSizeAvgFECRecoveryXOR] = { }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_ER_TABLES_XOR_H_ diff --git a/webrtc/modules/video_coding/main/source/fec_tables_xor.h b/webrtc/modules/video_coding/main/source/fec_tables_xor.h index 27db9a451..28c67b456 100644 --- a/webrtc/modules/video_coding/main/source/fec_tables_xor.h +++ b/webrtc/modules/video_coding/main/source/fec_tables_xor.h @@ -6476,6 +6476,6 @@ static const unsigned char kCodeRateXORTable[kSizeCodeRateXORTable] = { }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_FEC_TABLES_XOR_H_ diff --git a/webrtc/modules/video_coding/main/source/frame_buffer.h b/webrtc/modules/video_coding/main/source/frame_buffer.h index 245302d5c..7a9868855 100644 --- a/webrtc/modules/video_coding/main/source/frame_buffer.h +++ b/webrtc/modules/video_coding/main/source/frame_buffer.h @@ -93,6 +93,6 @@ private: int64_t _latestPacketTimeMs; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_FRAME_BUFFER_H_ diff --git a/webrtc/modules/video_coding/main/source/generic_decoder.cc b/webrtc/modules/video_coding/main/source/generic_decoder.cc index f90d7f933..fdb97b55e 100644 --- a/webrtc/modules/video_coding/main/source/generic_decoder.cc +++ b/webrtc/modules/video_coding/main/source/generic_decoder.cc @@ -223,4 +223,4 @@ bool VCMGenericDecoder::External() const return _isExternal; } -} // namespace +} // namespace diff --git a/webrtc/modules/video_coding/main/source/generic_decoder.h b/webrtc/modules/video_coding/main/source/generic_decoder.h index 21cb4c1dc..f65f30fb6 100644 --- a/webrtc/modules/video_coding/main/source/generic_decoder.h +++ b/webrtc/modules/video_coding/main/source/generic_decoder.h @@ -119,6 +119,6 @@ protected: }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_DECODER_H_ diff --git a/webrtc/modules/video_coding/main/source/generic_encoder.cc b/webrtc/modules/video_coding/main/source/generic_encoder.cc index e10bccd90..7831b3d75 100644 --- a/webrtc/modules/video_coding/main/source/generic_encoder.cc +++ b/webrtc/modules/video_coding/main/source/generic_encoder.cc @@ -272,4 +272,4 @@ void VCMEncodedFrameCallback::CopyCodecSpecific(const CodecSpecificInfo& info, } } } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_coding/main/source/generic_encoder.h b/webrtc/modules/video_coding/main/source/generic_encoder.h index e7bd835e8..854766191 100644 --- a/webrtc/modules/video_coding/main/source/generic_encoder.h +++ b/webrtc/modules/video_coding/main/source/generic_encoder.h @@ -144,6 +144,6 @@ private: bool _internalSource; }; // end of VCMGenericEncoder class -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ diff --git a/webrtc/modules/video_coding/main/source/inter_frame_delay.h b/webrtc/modules/video_coding/main/source/inter_frame_delay.h index 5b16dbb7a..64f4c7be6 100644 --- a/webrtc/modules/video_coding/main/source/inter_frame_delay.h +++ b/webrtc/modules/video_coding/main/source/inter_frame_delay.h @@ -61,6 +61,6 @@ private: int64_t _dTS; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_INTER_FRAME_DELAY_H_ diff --git a/webrtc/modules/video_coding/main/source/internal_defines.h b/webrtc/modules/video_coding/main/source/internal_defines.h index 0ea163c79..ed2c2a3b4 100644 --- a/webrtc/modules/video_coding/main/source/internal_defines.h +++ b/webrtc/modules/video_coding/main/source/internal_defines.h @@ -53,6 +53,6 @@ inline int32_t VCMId(const int32_t vcmId, const int32_t receiverId = 0) return static_cast((vcmId << 16) + receiverId); } -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_INTERNAL_DEFINES_H_ diff --git a/webrtc/modules/video_coding/main/source/jitter_estimator.h b/webrtc/modules/video_coding/main/source/jitter_estimator.h index 2c81d4181..3a24c74ee 100644 --- a/webrtc/modules/video_coding/main/source/jitter_estimator.h +++ b/webrtc/modules/video_coding/main/source/jitter_estimator.h @@ -149,6 +149,6 @@ private: enum { kFsAccuStartupSamples = 5 }; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_JITTER_ESTIMATOR_H_ diff --git a/webrtc/modules/video_coding/main/source/media_opt_util.h b/webrtc/modules/video_coding/main/source/media_opt_util.h index 193426923..7460688d1 100644 --- a/webrtc/modules/video_coding/main/source/media_opt_util.h +++ b/webrtc/modules/video_coding/main/source/media_opt_util.h @@ -390,7 +390,7 @@ private: int _numLayers; }; -} // namespace media_optimization -} // namespace webrtc +} // namespace media_optimization +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_MEDIA_OPT_UTIL_H_ diff --git a/webrtc/modules/video_coding/main/source/nack_fec_tables.h b/webrtc/modules/video_coding/main/source/nack_fec_tables.h index 3769d9418..acf62bf02 100644 --- a/webrtc/modules/video_coding/main/source/nack_fec_tables.h +++ b/webrtc/modules/video_coding/main/source/nack_fec_tables.h @@ -122,6 +122,6 @@ const uint16_t VCMNackFecTable[100] = { }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_NACK_FEC_TABLES_H_ diff --git a/webrtc/modules/video_coding/main/source/packet.h b/webrtc/modules/video_coding/main/source/packet.h index 54cd00f9c..43c05867b 100644 --- a/webrtc/modules/video_coding/main/source/packet.h +++ b/webrtc/modules/video_coding/main/source/packet.h @@ -53,5 +53,5 @@ protected: void CopyCodecSpecifics(const RTPVideoHeader& videoHeader); }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_PACKET_H_ diff --git a/webrtc/modules/video_coding/main/source/qm_select.cc b/webrtc/modules/video_coding/main/source/qm_select.cc index fdaaa84fc..aaf5d7f77 100644 --- a/webrtc/modules/video_coding/main/source/qm_select.cc +++ b/webrtc/modules/video_coding/main/source/qm_select.cc @@ -956,4 +956,4 @@ bool VCMQmRobustness::SetUepProtection(uint8_t code_rate_delta, // Default. return false; } -} // end of namespace +} // namespace diff --git a/webrtc/modules/video_coding/main/source/qm_select.h b/webrtc/modules/video_coding/main/source/qm_select.h index 4a74fa54b..0d8ca293b 100644 --- a/webrtc/modules/video_coding/main/source/qm_select.h +++ b/webrtc/modules/video_coding/main/source/qm_select.h @@ -370,6 +370,6 @@ class VCMQmRobustness : public VCMQmMethod { uint8_t prev_packet_loss_; uint8_t prev_code_rate_delta_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_QM_SELECT_H_ diff --git a/webrtc/modules/video_coding/main/source/qm_select_data.h b/webrtc/modules/video_coding/main/source/qm_select_data.h index 4d4f3397b..742bd7206 100644 --- a/webrtc/modules/video_coding/main/source/qm_select_data.h +++ b/webrtc/modules/video_coding/main/source/qm_select_data.h @@ -222,7 +222,7 @@ const float kSpatialErr2x2VsHoriz = 0.1f; // percentage to favor 2x2 over H const float kSpatialErr2X2VsVert = 0.1f; // percentage to favor 2x2 over V const float kSpatialErrVertVsHoriz = 0.1f; // percentage to favor H over V -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_QM_SELECT_DATA_H_ diff --git a/webrtc/modules/video_coding/main/source/rtt_filter.h b/webrtc/modules/video_coding/main/source/rtt_filter.h index 747984166..da7bb7b5a 100644 --- a/webrtc/modules/video_coding/main/source/rtt_filter.h +++ b/webrtc/modules/video_coding/main/source/rtt_filter.h @@ -65,6 +65,6 @@ private: uint32_t _driftBuf[kMaxDriftJumpCount]; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_RTT_FILTER_H_ diff --git a/webrtc/modules/video_coding/main/source/timestamp_extrapolator.h b/webrtc/modules/video_coding/main/source/timestamp_extrapolator.h index 59915162f..13ca37df5 100644 --- a/webrtc/modules/video_coding/main/source/timestamp_extrapolator.h +++ b/webrtc/modules/video_coding/main/source/timestamp_extrapolator.h @@ -58,6 +58,6 @@ private: const double _P11; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_TIMESTAMP_EXTRAPOLATOR_H_ diff --git a/webrtc/modules/video_coding/main/source/timestamp_map.h b/webrtc/modules/video_coding/main/source/timestamp_map.h index 083df776c..069feeb45 100644 --- a/webrtc/modules/video_coding/main/source/timestamp_map.h +++ b/webrtc/modules/video_coding/main/source/timestamp_map.h @@ -47,6 +47,6 @@ private: int32_t _length; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_TIMESTAMP_MAP_H_ diff --git a/webrtc/modules/video_coding/main/source/video_coding_impl.cc b/webrtc/modules/video_coding/main/source/video_coding_impl.cc index 55e4288ff..c996b85f6 100644 --- a/webrtc/modules/video_coding/main/source/video_coding_impl.cc +++ b/webrtc/modules/video_coding/main/source/video_coding_impl.cc @@ -482,7 +482,7 @@ VideoCodingModuleImpl::SetChannelParameters(uint32_t target_bitrate, else { return VCM_UNINITIALIZED; - } // encoder + } // encoder }// send side return VCM_OK; } diff --git a/webrtc/modules/video_coding/main/source/video_coding_impl.h b/webrtc/modules/video_coding/main/source/video_coding_impl.h index 0ffc14f06..632db50ed 100644 --- a/webrtc/modules/video_coding/main/source/video_coding_impl.h +++ b/webrtc/modules/video_coding/main/source/video_coding_impl.h @@ -327,5 +327,5 @@ private: bool owns_event_factory_; bool frame_dropper_enabled_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ diff --git a/webrtc/modules/video_coding/main/test/codec_database_test.cc b/webrtc/modules/video_coding/main/test/codec_database_test.cc index 23daf38f3..b62995ca4 100644 --- a/webrtc/modules/video_coding/main/test/codec_database_test.cc +++ b/webrtc/modules/video_coding/main/test/codec_database_test.cc @@ -359,7 +359,7 @@ CodecDataBaseTest::Perform(CmdArgs& args) { printf("frame number:%d\n",frameCnt); } - } // end for:encode-decode + } // end for:encode-decode // byte count for codec specific printf("Total bytes encoded: %f \n\n",(8.0/1000)*(encodeCallCDT->EncodedBytes()/((int)10/VideoCodingModule::NumberOfCodecs()))); @@ -375,14 +375,14 @@ CodecDataBaseTest::Perform(CmdArgs& args) printf("PSNR from encoder-decoder send-receive control test" "is %f\n\n", psnr.average); } - } // end: iterate codecs + } // end: iterate codecs rewind(_sourceFile); delete [] tmpBuffer; delete decodeCallCDT; delete encodeCallCDT; // closing and calculating PSNR for prior encoder-decoder test TearDown(); // closing open files - } // end of #codecs >1 + } // end of #codecs >1 delete waitEvent; Print(); diff --git a/webrtc/modules/video_coding/main/test/generic_codec_test.cc b/webrtc/modules/video_coding/main/test/generic_codec_test.cc index c03d896fa..1a9ca3975 100644 --- a/webrtc/modules/video_coding/main/test/generic_codec_test.cc +++ b/webrtc/modules/video_coding/main/test/generic_codec_test.cc @@ -343,7 +343,7 @@ GenericCodecTest::Perform(CmdArgs& args) totalBytesOneSec = _encodeCompleteCallback->EncodedBytes();//totalBytes; } TEST(_vcm->TimeUntilNextProcess() >= 0); - } // video seq. encode done + } // video seq. encode done TEST(_vcm->TimeUntilNextProcess() == 0); _vcm->Process(); // Let the module calculate its send bit rate estimate // estimating rates @@ -368,7 +368,7 @@ GenericCodecTest::Perform(CmdArgs& args) printf("frame count: %d delta, %d key\n", frameCount.numDeltaFrames, frameCount.numKeyFrames); }// end per codec - } // end rate control test + } // end rate control test /********************************/ /* Encoder Pipeline Delay Test */ /******************************/ @@ -399,10 +399,10 @@ GenericCodecTest::Perform(CmdArgs& args) sourceFrame.set_timestamp(_timeStamp); _vcm->AddVideoFrame(sourceFrame); encodeComplete = _encodeCompleteCallback->EncodeComplete(); - } // first frame encoded + } // first frame encoded printf ("\n Codec type = %s \n", _sendCodec.plName); printf(" Encoder pipeline delay = %d frames\n", _frameCnt - 1); - } // end for all codecs + } // end for all codecs /********************************/ /* Encoder Packet Size Test */ @@ -457,7 +457,7 @@ GenericCodecTest::Perform(CmdArgs& args) _vcm->Process(); } IncrementDebugClock(_frameRate); - } // first frame encoded + } // first frame encoded delete &rtpModule; Print(); diff --git a/webrtc/modules/video_coding/main/test/video_rtp_play.cc b/webrtc/modules/video_coding/main/test/video_rtp_play.cc index 6591a8236..2da6a8208 100644 --- a/webrtc/modules/video_coding/main/test/video_rtp_play.cc +++ b/webrtc/modules/video_coding/main/test/video_rtp_play.cc @@ -25,7 +25,7 @@ const uint32_t kConfigRenderDelayMs = 0; const uint32_t kConfigMinPlayoutDelayMs = 0; const int64_t kConfigMaxRuntimeMs = -1; -} // namespace +} // namespace int RtpPlay(const CmdArgs& args) { std::string trace_file = webrtc::test::OutputPath() + "receiverTestTrace.txt"; diff --git a/webrtc/modules/video_coding/main/test/video_rtp_play_mt.cc b/webrtc/modules/video_coding/main/test/video_rtp_play_mt.cc index 1ff05dd10..34f320635 100644 --- a/webrtc/modules/video_coding/main/test/video_rtp_play_mt.cc +++ b/webrtc/modules/video_coding/main/test/video_rtp_play_mt.cc @@ -32,7 +32,7 @@ const uint32_t kConfigRenderDelayMs = 0; const uint32_t kConfigMinPlayoutDelayMs = 0; const int64_t kConfigMaxRuntimeMs = 10000; -} // namespace +} // namespace bool PlayerThread(void* obj) { assert(obj); diff --git a/webrtc/modules/video_coding/utility/include/exp_filter.h b/webrtc/modules/video_coding/utility/include/exp_filter.h index 42fbe3f01..d8c37a30b 100644 --- a/webrtc/modules/video_coding/utility/include/exp_filter.h +++ b/webrtc/modules/video_coding/utility/include/exp_filter.h @@ -53,6 +53,6 @@ private: const float _max; }; // end of ExpFilter class -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_UTILITY_INCLUDE_EXP_FILTER_H_ diff --git a/webrtc/modules/video_coding/utility/include/frame_dropper.h b/webrtc/modules/video_coding/utility/include/frame_dropper.h index 09ac94ade..4c1c168c2 100644 --- a/webrtc/modules/video_coding/utility/include/frame_dropper.h +++ b/webrtc/modules/video_coding/utility/include/frame_dropper.h @@ -91,6 +91,6 @@ private: float _max_time_drops; }; // end of VCMFrameDropper class -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_CODING_UTILITY_INCLUDE_FRAME_DROPPER_H_ diff --git a/webrtc/modules/video_processing/main/interface/video_processing.h b/webrtc/modules/video_processing/main/interface/video_processing.h index 09a4b2e89..094900d86 100644 --- a/webrtc/modules/video_processing/main/interface/video_processing.h +++ b/webrtc/modules/video_processing/main/interface/video_processing.h @@ -299,6 +299,6 @@ public: }; -} //namespace +} // namespace #endif diff --git a/webrtc/modules/video_processing/main/interface/video_processing_defines.h b/webrtc/modules/video_processing/main/interface/video_processing_defines.h index fd47979a5..7a3536c72 100644 --- a/webrtc/modules/video_processing/main/interface/video_processing_defines.h +++ b/webrtc/modules/video_processing/main/interface/video_processing_defines.h @@ -38,6 +38,6 @@ enum VideoFrameResampling kBox, // Box inteprolation }; -} //namespace +} // namespace #endif diff --git a/webrtc/modules/video_processing/main/source/brightness_detection.cc b/webrtc/modules/video_processing/main/source/brightness_detection.cc index 5f44f09c7..1e7e939db 100644 --- a/webrtc/modules/video_processing/main/source/brightness_detection.cc +++ b/webrtc/modules/video_processing/main/source/brightness_detection.cc @@ -193,4 +193,4 @@ VPMBrightnessDetection::ProcessFrame(const I420VideoFrame& frame, } } -} //namespace +} // namespace diff --git a/webrtc/modules/video_processing/main/source/brightness_detection.h b/webrtc/modules/video_processing/main/source/brightness_detection.h index 506e26dfe..22248d60c 100644 --- a/webrtc/modules/video_processing/main/source/brightness_detection.h +++ b/webrtc/modules/video_processing/main/source/brightness_detection.h @@ -39,6 +39,6 @@ private: uint32_t _frameCntDark; }; -} //namespace +} // namespace #endif // VPM_BRIGHTNESS_DETECTION_H diff --git a/webrtc/modules/video_processing/main/source/color_enhancement.cc b/webrtc/modules/video_processing/main/source/color_enhancement.cc index ed568faa1..b5247676c 100644 --- a/webrtc/modules/video_processing/main/source/color_enhancement.cc +++ b/webrtc/modules/video_processing/main/source/color_enhancement.cc @@ -59,6 +59,6 @@ namespace VideoProcessing return VPM_OK; } -} //namespace +} // namespace -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_processing/main/source/color_enhancement.h b/webrtc/modules/video_processing/main/source/color_enhancement.h index f720da2b6..f8baaa770 100644 --- a/webrtc/modules/video_processing/main/source/color_enhancement.h +++ b/webrtc/modules/video_processing/main/source/color_enhancement.h @@ -24,6 +24,6 @@ namespace VideoProcessing int32_t ColorEnhancement(I420VideoFrame* frame); } -} //namespace +} // namespace #endif // VPM_COLOR_ENHANCEMENT_H diff --git a/webrtc/modules/video_processing/main/source/color_enhancement_private.h b/webrtc/modules/video_processing/main/source/color_enhancement_private.h index 863135c96..d4aadfcab 100644 --- a/webrtc/modules/video_processing/main/source/color_enhancement_private.h +++ b/webrtc/modules/video_processing/main/source/color_enhancement_private.h @@ -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} }; -} //namespace +} // namespace #endif // VPM_COLOR_ENHANCEMENT_PRIVATE_H diff --git a/webrtc/modules/video_processing/main/source/content_analysis.cc b/webrtc/modules/video_processing/main/source/content_analysis.cc index a5b75affb..a500991d5 100644 --- a/webrtc/modules/video_processing/main/source/content_analysis.cc +++ b/webrtc/modules/video_processing/main/source/content_analysis.cc @@ -333,4 +333,4 @@ VPMContentAnalysis::ContentMetrics() } -} // namespace +} // namespace diff --git a/webrtc/modules/video_processing/main/source/content_analysis.h b/webrtc/modules/video_processing/main/source/content_analysis.h index 4cdd185c9..a1e485f1c 100644 --- a/webrtc/modules/video_processing/main/source/content_analysis.h +++ b/webrtc/modules/video_processing/main/source/content_analysis.h @@ -87,6 +87,6 @@ private: }; // end of VPMContentAnalysis class definition -} // namespace +} // namespace #endif diff --git a/webrtc/modules/video_processing/main/source/deflickering.cc b/webrtc/modules/video_processing/main/source/deflickering.cc index 74d0e12ad..a4b55c1c1 100644 --- a/webrtc/modules/video_processing/main/source/deflickering.cc +++ b/webrtc/modules/video_processing/main/source/deflickering.cc @@ -447,4 +447,4 @@ int32_t VPMDeflickering::DetectFlicker() return retVal; } -} //namespace +} // namespace diff --git a/webrtc/modules/video_processing/main/source/deflickering.h b/webrtc/modules/video_processing/main/source/deflickering.h index ae02bfea6..94b08361b 100644 --- a/webrtc/modules/video_processing/main/source/deflickering.h +++ b/webrtc/modules/video_processing/main/source/deflickering.h @@ -60,6 +60,6 @@ private: uint8_t _quantHistUW8[kFrameHistorySize][kNumQuants]; }; -} //namespace +} // namespace #endif // VPM_DEFLICKERING_H diff --git a/webrtc/modules/video_processing/main/source/denoising.cc b/webrtc/modules/video_processing/main/source/denoising.cc index c0ea0fbcd..42ea26847 100644 --- a/webrtc/modules/video_processing/main/source/denoising.cc +++ b/webrtc/modules/video_processing/main/source/denoising.cc @@ -177,4 +177,4 @@ VPMDenoising::ProcessFrame(I420VideoFrame* frame) return numPixelsChanged; } -} //namespace +} // namespace diff --git a/webrtc/modules/video_processing/main/source/denoising.h b/webrtc/modules/video_processing/main/source/denoising.h index 4b2cb87a3..b9d09c081 100644 --- a/webrtc/modules/video_processing/main/source/denoising.h +++ b/webrtc/modules/video_processing/main/source/denoising.h @@ -40,7 +40,7 @@ private: int _denoiseFrameCnt; // Counter for subsampling in time }; -} //namespace +} // namespace #endif // VPM_DENOISING_H diff --git a/webrtc/modules/video_processing/main/source/frame_preprocessor.cc b/webrtc/modules/video_processing/main/source/frame_preprocessor.cc index 54eeef27f..fc952c0b8 100644 --- a/webrtc/modules/video_processing/main/source/frame_preprocessor.cc +++ b/webrtc/modules/video_processing/main/source/frame_preprocessor.cc @@ -186,4 +186,4 @@ VPMFramePreprocessor::ContentMetrics() const return _contentMetrics; } -} //namespace +} // namespace diff --git a/webrtc/modules/video_processing/main/source/frame_preprocessor.h b/webrtc/modules/video_processing/main/source/frame_preprocessor.h index e3edfc82a..f2d94a239 100644 --- a/webrtc/modules/video_processing/main/source/frame_preprocessor.h +++ b/webrtc/modules/video_processing/main/source/frame_preprocessor.h @@ -81,6 +81,6 @@ private: }; // end of VPMFramePreprocessor class definition -} //namespace +} // namespace #endif // VPM_FRAME_PREPROCESS_H diff --git a/webrtc/modules/video_processing/main/source/spatial_resampler.cc b/webrtc/modules/video_processing/main/source/spatial_resampler.cc index 89a449a15..f66153da8 100644 --- a/webrtc/modules/video_processing/main/source/spatial_resampler.cc +++ b/webrtc/modules/video_processing/main/source/spatial_resampler.cc @@ -119,4 +119,4 @@ VPMSimpleSpatialResampler::ApplyResample(int32_t width, return true; } -} //namespace +} // namespace diff --git a/webrtc/modules/video_processing/main/source/spatial_resampler.h b/webrtc/modules/video_processing/main/source/spatial_resampler.h index 43368d123..69d5cf886 100644 --- a/webrtc/modules/video_processing/main/source/spatial_resampler.h +++ b/webrtc/modules/video_processing/main/source/spatial_resampler.h @@ -62,6 +62,6 @@ private: Scaler _scaler; }; -} //namespace +} // namespace #endif diff --git a/webrtc/modules/video_processing/main/source/video_decimator.cc b/webrtc/modules/video_processing/main/source/video_decimator.cc index e2d09e380..84a6cad15 100644 --- a/webrtc/modules/video_processing/main/source/video_decimator.cc +++ b/webrtc/modules/video_processing/main/source/video_decimator.cc @@ -232,4 +232,4 @@ VPMVideoDecimator::ProcessIncomingFrameRate(int64_t now) } } -} //namespace +} // namespace diff --git a/webrtc/modules/video_processing/main/source/video_decimator.h b/webrtc/modules/video_processing/main/source/video_decimator.h index 0ea0019f9..0a6a14085 100644 --- a/webrtc/modules/video_processing/main/source/video_decimator.h +++ b/webrtc/modules/video_processing/main/source/video_decimator.h @@ -60,6 +60,6 @@ private: }; -} //namespace +} // namespace #endif diff --git a/webrtc/modules/video_processing/main/source/video_processing_impl.cc b/webrtc/modules/video_processing/main/source/video_processing_impl.cc index 7fd4f6e52..4546f9113 100644 --- a/webrtc/modules/video_processing/main/source/video_processing_impl.cc +++ b/webrtc/modules/video_processing/main/source/video_processing_impl.cc @@ -290,4 +290,4 @@ VideoProcessingModuleImpl::EnableContentAnalysis(bool enable) _framePreProcessor.EnableContentAnalysis(enable); } -} //namespace +} // namespace diff --git a/webrtc/modules/video_processing/main/source/video_processing_impl.h b/webrtc/modules/video_processing/main/source/video_processing_impl.h index 57556ec26..278aa7b14 100644 --- a/webrtc/modules/video_processing/main/source/video_processing_impl.h +++ b/webrtc/modules/video_processing/main/source/video_processing_impl.h @@ -85,6 +85,6 @@ private: VPMFramePreprocessor _framePreProcessor; }; -} // namespace +} // namespace #endif diff --git a/webrtc/modules/video_render/android/video_render_android_impl.h b/webrtc/modules/video_render/android/video_render_android_impl.h index d8c8fe717..61f079b40 100644 --- a/webrtc/modules/video_render/android/video_render_android_impl.h +++ b/webrtc/modules/video_render/android/video_render_android_impl.h @@ -146,6 +146,6 @@ class VideoRenderAndroid: IVideoRender { ThreadWrapper* _javaRenderThread; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_IMPL_H_ diff --git a/webrtc/modules/video_render/android/video_render_android_native_opengl2.cc b/webrtc/modules/video_render/android/video_render_android_native_opengl2.cc index a50ca8979..99d7f896a 100644 --- a/webrtc/modules/video_render/android/video_render_android_native_opengl2.cc +++ b/webrtc/modules/video_render/android/video_render_android_native_opengl2.cc @@ -447,4 +447,4 @@ jint AndroidNativeOpenGl2Channel::CreateOpenGLNative( return _openGLRenderer.Setup(width, height); } -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_render/android/video_render_android_native_opengl2.h b/webrtc/modules/video_render/android/video_render_android_native_opengl2.h index 16a5c62f7..57b5eda83 100644 --- a/webrtc/modules/video_render/android/video_render_android_native_opengl2.h +++ b/webrtc/modules/video_render/android/video_render_android_native_opengl2.h @@ -91,6 +91,6 @@ class AndroidNativeOpenGl2Renderer: private VideoRenderAndroid { jclass _javaRenderClass; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_NATIVE_OPENGL2_H_ diff --git a/webrtc/modules/video_render/external/video_render_external_impl.cc b/webrtc/modules/video_render/external/video_render_external_impl.cc index a0ef3f4ba..6f37baeb9 100644 --- a/webrtc/modules/video_render/external/video_render_external_impl.cc +++ b/webrtc/modules/video_render/external/video_render_external_impl.cc @@ -201,5 +201,5 @@ int32_t VideoRenderExternalImpl::RenderFrame( { return 0; } -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_render/external/video_render_external_impl.h b/webrtc/modules/video_render/external/video_render_external_impl.h index 3a5472b7b..11791eafd 100644 --- a/webrtc/modules/video_render/external/video_render_external_impl.h +++ b/webrtc/modules/video_render/external/video_render_external_impl.h @@ -125,7 +125,7 @@ private: bool _fullscreen; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_EXTERNAL_VIDEO_RENDER_EXTERNAL_IMPL_H_ diff --git a/webrtc/modules/video_render/i_video_render.h b/webrtc/modules/video_render/i_video_render.h index da3ade5a1..76ad8e6c8 100644 --- a/webrtc/modules/video_render/i_video_render.h +++ b/webrtc/modules/video_render/i_video_render.h @@ -128,6 +128,6 @@ public: const float bottom) = 0; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_I_VIDEO_RENDER_H_ diff --git a/webrtc/modules/video_render/include/video_render.h b/webrtc/modules/video_render/include/video_render.h index 725cbba09..de0012062 100644 --- a/webrtc/modules/video_render/include/video_render.h +++ b/webrtc/modules/video_render/include/video_render.h @@ -288,5 +288,5 @@ public: const bool mirrorXAxis, const bool mirrorYAxis) = 0; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_H_ diff --git a/webrtc/modules/video_render/include/video_render_defines.h b/webrtc/modules/video_render/include/video_render_defines.h index 992b821f2..135deae30 100644 --- a/webrtc/modules/video_render/include/video_render_defines.h +++ b/webrtc/modules/video_render/include/video_render_defines.h @@ -88,6 +88,6 @@ enum Rotation kRotation270 = 3 }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_DEFINES_H_ diff --git a/webrtc/modules/video_render/linux/video_render_linux_impl.cc b/webrtc/modules/video_render/linux/video_render_linux_impl.cc index b50c1bd31..76dc2042a 100644 --- a/webrtc/modules/video_render/linux/video_render_linux_impl.cc +++ b/webrtc/modules/video_render/linux/video_render_linux_impl.cc @@ -266,5 +266,5 @@ int32_t VideoRenderLinuxImpl::SetBitmap(const void* bitMap, return -1; } -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_render/linux/video_render_linux_impl.h b/webrtc/modules/video_render/linux/video_render_linux_impl.h index 3318ddfe6..0ee0d578b 100644 --- a/webrtc/modules/video_render/linux/video_render_linux_impl.h +++ b/webrtc/modules/video_render/linux/video_render_linux_impl.h @@ -126,5 +126,5 @@ private: VideoX11Render* _ptrX11Render; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_RENDER_LINUX_IMPL_H_ diff --git a/webrtc/modules/video_render/linux/video_x11_channel.cc b/webrtc/modules/video_render/linux/video_x11_channel.cc index da10a97ff..fb550029e 100644 --- a/webrtc/modules/video_render/linux/video_x11_channel.cc +++ b/webrtc/modules/video_render/linux/video_x11_channel.cc @@ -312,6 +312,6 @@ int32_t VideoX11Channel::GetStreamProperties(uint32_t& zOrder, } -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_render/linux/video_x11_channel.h b/webrtc/modules/video_render/linux/video_x11_channel.h index 30d27e89a..9571311bb 100644 --- a/webrtc/modules/video_render/linux/video_x11_channel.h +++ b/webrtc/modules/video_render/linux/video_x11_channel.h @@ -91,6 +91,6 @@ private: }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_X11_CHANNEL_H_ diff --git a/webrtc/modules/video_render/linux/video_x11_render.cc b/webrtc/modules/video_render/linux/video_x11_render.cc index 570883ccb..14e2a0d59 100644 --- a/webrtc/modules/video_render/linux/video_x11_render.cc +++ b/webrtc/modules/video_render/linux/video_x11_render.cc @@ -150,5 +150,5 @@ int32_t VideoX11Render::GetIncomingStreamProperties( return -1; } -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_render/linux/video_x11_render.h b/webrtc/modules/video_render/linux/video_x11_render.h index 5c15a0d03..978388c28 100644 --- a/webrtc/modules/video_render/linux/video_x11_render.h +++ b/webrtc/modules/video_render/linux/video_x11_render.h @@ -53,6 +53,6 @@ private: }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_X11_RENDER_H_ diff --git a/webrtc/modules/video_render/mac/video_render_agl.cc b/webrtc/modules/video_render/mac/video_render_agl.cc index e9b5f386b..125bc4d54 100644 --- a/webrtc/modules/video_render/mac/video_render_agl.cc +++ b/webrtc/modules/video_render/mac/video_render_agl.cc @@ -1784,7 +1784,7 @@ int VideoRenderAGL::CalculateVisibleRegion(ControlRef control, RgnHandle &visibl continue; } - } // next child control + } // next child control } lastControl = tempControl; GetSuperControl(tempControl, &subControl); @@ -1996,7 +1996,7 @@ void VideoRenderAGL::UnlockAGLCntx() _renderCritSec.Leave(); } -} //namespace webrtc +} // namespace webrtc #endif // CARBON_RENDERING diff --git a/webrtc/modules/video_render/mac/video_render_agl.h b/webrtc/modules/video_render/mac/video_render_agl.h index e446fb173..3da1af82a 100644 --- a/webrtc/modules/video_render/mac/video_render_agl.h +++ b/webrtc/modules/video_render/mac/video_render_agl.h @@ -173,7 +173,7 @@ class VideoRenderAGL { }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_AGL_H_ diff --git a/webrtc/modules/video_render/mac/video_render_mac_carbon_impl.cc b/webrtc/modules/video_render/mac/video_render_mac_carbon_impl.cc index f3fb2de38..1d2110d19 100644 --- a/webrtc/modules/video_render/mac/video_render_mac_carbon_impl.cc +++ b/webrtc/modules/video_render/mac/video_render_mac_carbon_impl.cc @@ -292,6 +292,6 @@ int32_t VideoRenderMacCarbonImpl::SetBitmap(const void* bitMap, } -} //namespace webrtc +} // namespace webrtc #endif // CARBON_RENDERING diff --git a/webrtc/modules/video_render/mac/video_render_mac_carbon_impl.h b/webrtc/modules/video_render/mac/video_render_mac_carbon_impl.h index b0cb0fc9a..e41f6b535 100644 --- a/webrtc/modules/video_render/mac/video_render_mac_carbon_impl.h +++ b/webrtc/modules/video_render/mac/video_render_mac_carbon_impl.h @@ -142,7 +142,7 @@ private: }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_MAC_CARBON_IMPL_H_ #endif // CARBON_RENDERING diff --git a/webrtc/modules/video_render/mac/video_render_mac_cocoa_impl.h b/webrtc/modules/video_render/mac/video_render_mac_cocoa_impl.h index 5507f0647..edfa2866a 100644 --- a/webrtc/modules/video_render/mac/video_render_mac_cocoa_impl.h +++ b/webrtc/modules/video_render/mac/video_render_mac_cocoa_impl.h @@ -137,7 +137,7 @@ private: }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_MAC_COCOA_IMPL_H_ #endif // COCOA_RENDERING diff --git a/webrtc/modules/video_render/mac/video_render_mac_cocoa_impl.mm b/webrtc/modules/video_render/mac/video_render_mac_cocoa_impl.mm index c518c1f03..41c7049ae 100644 --- a/webrtc/modules/video_render/mac/video_render_mac_cocoa_impl.mm +++ b/webrtc/modules/video_render/mac/video_render_mac_cocoa_impl.mm @@ -264,6 +264,6 @@ int32_t VideoRenderMacCocoaImpl::FullScreenRender(void* window, const bool enabl return -1; } -} //namespace webrtc +} // namespace webrtc #endif // COCOA_RENDERING diff --git a/webrtc/modules/video_render/mac/video_render_nsopengl.h b/webrtc/modules/video_render/mac/video_render_nsopengl.h index 3e5af3a4a..30d5e25e3 100644 --- a/webrtc/modules/video_render/mac/video_render_nsopengl.h +++ b/webrtc/modules/video_render/mac/video_render_nsopengl.h @@ -184,7 +184,7 @@ private: // variables NSRect _windowRefSuperViewFrame; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_MAC_VIDEO_RENDER_NSOPENGL_H_ #endif // COCOA_RENDERING diff --git a/webrtc/modules/video_render/mac/video_render_nsopengl.mm b/webrtc/modules/video_render/mac/video_render_nsopengl.mm index 5b80bdddf..c83ba23b5 100644 --- a/webrtc/modules/video_render/mac/video_render_nsopengl.mm +++ b/webrtc/modules/video_render/mac/video_render_nsopengl.mm @@ -1260,6 +1260,6 @@ void VideoRenderNSOpenGL::UnlockAGLCntx() */ -} //namespace webrtc +} // namespace webrtc #endif // COCOA_RENDERING diff --git a/webrtc/modules/video_render/video_render_impl.cc b/webrtc/modules/video_render/video_render_impl.cc index a6cff878e..d0ad7c328 100644 --- a/webrtc/modules/video_render/video_render_impl.cc +++ b/webrtc/modules/video_render/video_render_impl.cc @@ -998,4 +998,4 @@ int32_t ModuleVideoRenderImpl::MirrorRenderStream(const int renderId, return incomingStream->EnableMirroring(enable, mirrorXAxis, mirrorYAxis); } -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_render/video_render_impl.h b/webrtc/modules/video_render/video_render_impl.h index 49bd77b85..2f6208367 100644 --- a/webrtc/modules/video_render/video_render_impl.h +++ b/webrtc/modules/video_render/video_render_impl.h @@ -222,6 +222,6 @@ private: MapWrapper& _streamRenderMap; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_VIDEO_RENDER_IMPL_H_ diff --git a/webrtc/modules/video_render/windows/i_video_render_win.h b/webrtc/modules/video_render/windows/i_video_render_win.h index f9680ba2a..6d5e91f32 100644 --- a/webrtc/modules/video_render/windows/i_video_render_win.h +++ b/webrtc/modules/video_render/windows/i_video_render_win.h @@ -106,5 +106,5 @@ public: }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_I_VIDEO_RENDER_WIN_H_ diff --git a/webrtc/modules/video_render/windows/video_render_direct3d9.cc b/webrtc/modules/video_render/windows/video_render_direct3d9.cc index 87a23c350..5e9d12243 100644 --- a/webrtc/modules/video_render/windows/video_render_direct3d9.cc +++ b/webrtc/modules/video_render/windows/video_render_direct3d9.cc @@ -1174,5 +1174,5 @@ int32_t VideoRenderDirect3D9::ConfigureRenderer(const uint32_t channel, return 0; } -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_render/windows/video_render_direct3d9.h b/webrtc/modules/video_render/windows/video_render_direct3d9.h index 9688f77ef..4d4fe9a97 100644 --- a/webrtc/modules/video_render/windows/video_render_direct3d9.h +++ b/webrtc/modules/video_render/windows/video_render_direct3d9.h @@ -250,6 +250,6 @@ private: DWORD _availableMemory; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_VIDEO_RENDER_DIRECT3D9_H_ diff --git a/webrtc/modules/video_render/windows/video_render_windows_impl.cc b/webrtc/modules/video_render/windows/video_render_windows_impl.cc index 686f778cc..093b1f38a 100644 --- a/webrtc/modules/video_render/windows/video_render_windows_impl.cc +++ b/webrtc/modules/video_render/windows/video_render_windows_impl.cc @@ -342,5 +342,5 @@ int32_t VideoRenderWindowsImpl::SetBitmap(const void* bitMap, return error; } -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/modules/video_render/windows/video_render_windows_impl.h b/webrtc/modules/video_render/windows/video_render_windows_impl.h index ec730fead..64f59c03d 100644 --- a/webrtc/modules/video_render/windows/video_render_windows_impl.h +++ b/webrtc/modules/video_render/windows/video_render_windows_impl.h @@ -135,6 +135,6 @@ private: IVideoRenderWin* _ptrRendererWin; }; -} //namespace webrtc +} // namespace webrtc #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_VIDEO_RENDER_WINDOWS_IMPL_H_ diff --git a/webrtc/system_wrappers/interface/condition_variable_wrapper.h b/webrtc/system_wrappers/interface/condition_variable_wrapper.h index 29d2dfe14..151f00ece 100644 --- a/webrtc/system_wrappers/interface/condition_variable_wrapper.h +++ b/webrtc/system_wrappers/interface/condition_variable_wrapper.h @@ -37,6 +37,6 @@ class ConditionVariableWrapper { virtual void WakeAll() = 0; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CONDITION_VARIABLE_WRAPPER_H_ diff --git a/webrtc/system_wrappers/interface/cpu_features_wrapper.h b/webrtc/system_wrappers/interface/cpu_features_wrapper.h index eacfe409f..85152ba1f 100644 --- a/webrtc/system_wrappers/interface/cpu_features_wrapper.h +++ b/webrtc/system_wrappers/interface/cpu_features_wrapper.h @@ -45,7 +45,7 @@ extern WebRtc_CPUInfo WebRtc_GetCPUInfoNoASM; extern uint64_t WebRtc_GetCPUFeaturesARM(void); #if defined(__cplusplus) || defined(c_plusplus) -} // extern "C" +} // extern "C" #endif #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CPU_FEATURES_WRAPPER_H_ diff --git a/webrtc/system_wrappers/interface/cpu_info.h b/webrtc/system_wrappers/interface/cpu_info.h index 708642725..fa8c38810 100644 --- a/webrtc/system_wrappers/interface/cpu_info.h +++ b/webrtc/system_wrappers/interface/cpu_info.h @@ -24,6 +24,6 @@ class CpuInfo { static uint32_t number_of_cores_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CPU_INFO_H_ diff --git a/webrtc/system_wrappers/interface/critical_section_wrapper.h b/webrtc/system_wrappers/interface/critical_section_wrapper.h index 167951d91..0253a282d 100644 --- a/webrtc/system_wrappers/interface/critical_section_wrapper.h +++ b/webrtc/system_wrappers/interface/critical_section_wrapper.h @@ -56,6 +56,6 @@ class CriticalSectionScoped { CriticalSectionWrapper* ptr_crit_sec_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CRITICAL_SECTION_WRAPPER_H_ diff --git a/webrtc/system_wrappers/interface/event_wrapper.h b/webrtc/system_wrappers/interface/event_wrapper.h index 4ee18a6f7..7a18232f0 100644 --- a/webrtc/system_wrappers/interface/event_wrapper.h +++ b/webrtc/system_wrappers/interface/event_wrapper.h @@ -55,6 +55,6 @@ class EventWrapper { virtual bool StopTimer() = 0; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_EVENT_WRAPPER_H_ diff --git a/webrtc/system_wrappers/interface/file_wrapper.h b/webrtc/system_wrappers/interface/file_wrapper.h index 2ab6875b9..5de6774ad 100644 --- a/webrtc/system_wrappers/interface/file_wrapper.h +++ b/webrtc/system_wrappers/interface/file_wrapper.h @@ -73,6 +73,6 @@ class FileWrapper : public InStream, public OutStream { virtual int Rewind() = 0; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_FILE_WRAPPER_H_ diff --git a/webrtc/system_wrappers/interface/map_wrapper.h b/webrtc/system_wrappers/interface/map_wrapper.h index c0c332ec9..86643e597 100644 --- a/webrtc/system_wrappers/interface/map_wrapper.h +++ b/webrtc/system_wrappers/interface/map_wrapper.h @@ -70,6 +70,6 @@ class MapWrapper { std::map map_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_MAP_WRAPPER_H_ diff --git a/webrtc/system_wrappers/interface/rw_lock_wrapper.h b/webrtc/system_wrappers/interface/rw_lock_wrapper.h index 91305c152..80eb5da8a 100644 --- a/webrtc/system_wrappers/interface/rw_lock_wrapper.h +++ b/webrtc/system_wrappers/interface/rw_lock_wrapper.h @@ -63,6 +63,6 @@ class WriteLockScoped { RWLockWrapper& rw_lock_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_RW_LOCK_WRAPPER_H_ diff --git a/webrtc/system_wrappers/interface/scoped_ptr.h b/webrtc/system_wrappers/interface/scoped_ptr.h index 74b6ad365..84113d832 100644 --- a/webrtc/system_wrappers/interface/scoped_ptr.h +++ b/webrtc/system_wrappers/interface/scoped_ptr.h @@ -253,6 +253,6 @@ void swap(scoped_ptr_malloc& a, scoped_ptr_malloc& b) { a.swap(b); } -} // namespace webrtc +} // namespace webrtc #endif // #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_SCOPED_PTR_H_ diff --git a/webrtc/system_wrappers/interface/thread_wrapper.h b/webrtc/system_wrappers/interface/thread_wrapper.h index e83236369..d9e7d8a3c 100644 --- a/webrtc/system_wrappers/interface/thread_wrapper.h +++ b/webrtc/system_wrappers/interface/thread_wrapper.h @@ -89,6 +89,6 @@ class ThreadWrapper { virtual bool Stop() = 0; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_THREAD_WRAPPER_H_ diff --git a/webrtc/system_wrappers/source/atomic32_posix.cc b/webrtc/system_wrappers/source/atomic32_posix.cc index 38f36e099..614f3333e 100644 --- a/webrtc/system_wrappers/source/atomic32_posix.cc +++ b/webrtc/system_wrappers/source/atomic32_posix.cc @@ -54,4 +54,4 @@ int32_t Atomic32::Value() const { return value_; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/condition_variable.cc b/webrtc/system_wrappers/source/condition_variable.cc index f36f7e240..577949d32 100644 --- a/webrtc/system_wrappers/source/condition_variable.cc +++ b/webrtc/system_wrappers/source/condition_variable.cc @@ -38,4 +38,4 @@ ConditionVariableWrapper* ConditionVariableWrapper::CreateConditionVariable() { #endif } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/condition_variable_posix.cc b/webrtc/system_wrappers/source/condition_variable_posix.cc index 41e80234c..846cd63be 100644 --- a/webrtc/system_wrappers/source/condition_variable_posix.cc +++ b/webrtc/system_wrappers/source/condition_variable_posix.cc @@ -129,4 +129,4 @@ void ConditionVariablePosix::WakeAll() { pthread_cond_broadcast(&cond_); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/condition_variable_posix.h b/webrtc/system_wrappers/source/condition_variable_posix.h index 53adcdbf0..6e69746e7 100644 --- a/webrtc/system_wrappers/source/condition_variable_posix.h +++ b/webrtc/system_wrappers/source/condition_variable_posix.h @@ -35,6 +35,6 @@ class ConditionVariablePosix : public ConditionVariableWrapper { pthread_cond_t cond_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_CONDITION_VARIABLE_POSIX_H_ diff --git a/webrtc/system_wrappers/source/cpu_info.cc b/webrtc/system_wrappers/source/cpu_info.cc index 9e2628abc..c482d879c 100644 --- a/webrtc/system_wrappers/source/cpu_info.cc +++ b/webrtc/system_wrappers/source/cpu_info.cc @@ -61,4 +61,4 @@ uint32_t CpuInfo::DetectNumberOfCores() { return number_of_cores_; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/critical_section.cc b/webrtc/system_wrappers/source/critical_section.cc index 1b4511d85..c5865887c 100644 --- a/webrtc/system_wrappers/source/critical_section.cc +++ b/webrtc/system_wrappers/source/critical_section.cc @@ -25,4 +25,4 @@ CriticalSectionWrapper* CriticalSectionWrapper::CreateCriticalSection() { #endif } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/critical_section_posix.cc b/webrtc/system_wrappers/source/critical_section_posix.cc index ac659400a..36b9f1373 100644 --- a/webrtc/system_wrappers/source/critical_section_posix.cc +++ b/webrtc/system_wrappers/source/critical_section_posix.cc @@ -39,4 +39,4 @@ CriticalSectionPosix::Leave() { (void) pthread_mutex_unlock(&mutex_); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/critical_section_posix.h b/webrtc/system_wrappers/source/critical_section_posix.h index f09aba078..6a0426c04 100644 --- a/webrtc/system_wrappers/source/critical_section_posix.h +++ b/webrtc/system_wrappers/source/critical_section_posix.h @@ -31,6 +31,6 @@ class CriticalSectionPosix : public CriticalSectionWrapper { friend class ConditionVariablePosix; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_CRITICAL_SECTION_POSIX_H_ diff --git a/webrtc/system_wrappers/source/critical_section_win.cc b/webrtc/system_wrappers/source/critical_section_win.cc index 7acb00760..b5149d1eb 100644 --- a/webrtc/system_wrappers/source/critical_section_win.cc +++ b/webrtc/system_wrappers/source/critical_section_win.cc @@ -30,4 +30,4 @@ CriticalSectionWindows::Leave() { LeaveCriticalSection(&crit); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/critical_section_win.h b/webrtc/system_wrappers/source/critical_section_win.h index be4dd7428..be237acca 100644 --- a/webrtc/system_wrappers/source/critical_section_win.h +++ b/webrtc/system_wrappers/source/critical_section_win.h @@ -33,6 +33,6 @@ class CriticalSectionWindows : public CriticalSectionWrapper { friend class ConditionVariableNativeWin; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_CRITICAL_SECTION_WIN_H_ diff --git a/webrtc/system_wrappers/source/event.cc b/webrtc/system_wrappers/source/event.cc index 18ac4f04e..75571b55f 100644 --- a/webrtc/system_wrappers/source/event.cc +++ b/webrtc/system_wrappers/source/event.cc @@ -30,4 +30,4 @@ EventWrapper* EventWrapper::Create() { return EventPosix::Create(); #endif } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/event_posix.cc b/webrtc/system_wrappers/source/event_posix.cc index c32918924..1188bc8c9 100644 --- a/webrtc/system_wrappers/source/event_posix.cc +++ b/webrtc/system_wrappers/source/event_posix.cc @@ -280,4 +280,4 @@ bool EventPosix::StopTimer() { return true; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/file_impl.cc b/webrtc/system_wrappers/source/file_impl.cc index c9bd8258f..190f39955 100644 --- a/webrtc/system_wrappers/source/file_impl.cc +++ b/webrtc/system_wrappers/source/file_impl.cc @@ -248,4 +248,4 @@ int FileWrapperImpl::FlushImpl() { return -1; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/file_impl.h b/webrtc/system_wrappers/source/file_impl.h index c810b048f..5dbbcfb00 100644 --- a/webrtc/system_wrappers/source/file_impl.h +++ b/webrtc/system_wrappers/source/file_impl.h @@ -59,6 +59,6 @@ class FileWrapperImpl : public FileWrapper { char file_name_utf8_[kMaxFileNameSize]; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_ diff --git a/webrtc/system_wrappers/source/list_no_stl.cc b/webrtc/system_wrappers/source/list_no_stl.cc index b5f613712..5c9f5af01 100644 --- a/webrtc/system_wrappers/source/list_no_stl.cc +++ b/webrtc/system_wrappers/source/list_no_stl.cc @@ -238,4 +238,4 @@ void ListWrapper::PushFrontImpl(ListItem* item) { size_++; } -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/list_stl.cc b/webrtc/system_wrappers/source/list_stl.cc index 1dac0c9b7..81b6f0cc8 100644 --- a/webrtc/system_wrappers/source/list_stl.cc +++ b/webrtc/system_wrappers/source/list_stl.cc @@ -204,4 +204,4 @@ int ListWrapper::Erase(ListItem* item) { return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/map.cc b/webrtc/system_wrappers/source/map.cc index aad6f5c22..63ec54fb9 100644 --- a/webrtc/system_wrappers/source/map.cc +++ b/webrtc/system_wrappers/source/map.cc @@ -138,4 +138,4 @@ int MapWrapper::Erase(const int id) { return -1; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/map_no_stl.cc b/webrtc/system_wrappers/source/map_no_stl.cc index 572925bb5..171483e15 100644 --- a/webrtc/system_wrappers/source/map_no_stl.cc +++ b/webrtc/system_wrappers/source/map_no_stl.cc @@ -177,4 +177,4 @@ int MapNoStl::Remove(MapNoStlItem* item) { return 0; } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/map_no_stl.h b/webrtc/system_wrappers/source/map_no_stl.h index 9d8f5d887..23c559d54 100644 --- a/webrtc/system_wrappers/source/map_no_stl.h +++ b/webrtc/system_wrappers/source/map_no_stl.h @@ -65,6 +65,6 @@ class MapNoStl { DISALLOW_COPY_AND_ASSIGN(MapNoStl); }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_MAP_NO_STL_H_ diff --git a/webrtc/system_wrappers/source/set_thread_name_win.h b/webrtc/system_wrappers/source/set_thread_name_win.h index 76d18bf77..cca126f11 100644 --- a/webrtc/system_wrappers/source/set_thread_name_win.h +++ b/webrtc/system_wrappers/source/set_thread_name_win.h @@ -104,5 +104,5 @@ void SetThreadName(DWORD dwThreadID, LPCSTR szThreadName) { } } -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_THREAD_WINDOWS_SET_NAME_H_ diff --git a/webrtc/system_wrappers/source/sort.cc b/webrtc/system_wrappers/source/sort.cc index 8c774bb2a..c3b61e016 100644 --- a/webrtc/system_wrappers/source/sort.cc +++ b/webrtc/system_wrappers/source/sort.cc @@ -483,4 +483,4 @@ int32_t KeySort(void* data, void* key, uint32_t num_of_elements, #endif } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/thread.cc b/webrtc/system_wrappers/source/thread.cc index 2fe6a6101..6f023f869 100644 --- a/webrtc/system_wrappers/source/thread.cc +++ b/webrtc/system_wrappers/source/thread.cc @@ -28,4 +28,4 @@ ThreadWrapper* ThreadWrapper::CreateThread(ThreadRunFunction func, #endif } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/thread_posix.cc b/webrtc/system_wrappers/source/thread_posix.cc index b1b445f63..8a24ae582 100644 --- a/webrtc/system_wrappers/source/thread_posix.cc +++ b/webrtc/system_wrappers/source/thread_posix.cc @@ -355,4 +355,4 @@ void ThreadPosix::Run() { } } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/thread_posix.h b/webrtc/system_wrappers/source/thread_posix.h index 67db496af..bacf908a6 100644 --- a/webrtc/system_wrappers/source/thread_posix.h +++ b/webrtc/system_wrappers/source/thread_posix.h @@ -68,6 +68,6 @@ class ThreadPosix : public ThreadWrapper { pthread_t thread_; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_THREAD_POSIX_H_ diff --git a/webrtc/system_wrappers/source/thread_win.cc b/webrtc/system_wrappers/source/thread_win.cc index 2e029e7e4..c68ee1ad7 100644 --- a/webrtc/system_wrappers/source/thread_win.cc +++ b/webrtc/system_wrappers/source/thread_win.cc @@ -195,4 +195,4 @@ void ThreadWindows::Run() { critsect_stop_->Leave(); }; -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/system_wrappers/source/thread_win.h b/webrtc/system_wrappers/source/thread_win.h index 2705f7785..112267665 100644 --- a/webrtc/system_wrappers/source/thread_win.h +++ b/webrtc/system_wrappers/source/thread_win.h @@ -60,6 +60,6 @@ class ThreadWindows : public ThreadWrapper { }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_THREAD_WIN_H_ diff --git a/webrtc/test/channel_transport/udp_socket2_win.cc b/webrtc/test/channel_transport/udp_socket2_win.cc index b244f7224..97cd5e10a 100644 --- a/webrtc/test/channel_transport/udp_socket2_win.cc +++ b/webrtc/test/channel_transport/udp_socket2_win.cc @@ -508,7 +508,7 @@ void UdpSocket2Windows::IOCompleted(PerIoContext* pIOContext, OutstandingCallCompleted(); return; } - } // if (pIOContext == NULL || error == ERROR_OPERATION_ABORTED) + } // if (pIOContext == NULL || error == ERROR_OPERATION_ABORTED) if(pIOContext->ioOperation == OP_WRITE) { diff --git a/webrtc/video_engine/test/auto_test/automated/vie_api_integration_test.cc b/webrtc/video_engine/test/auto_test/automated/vie_api_integration_test.cc index a39ef0f47..5ba17f268 100644 --- a/webrtc/video_engine/test/auto_test/automated/vie_api_integration_test.cc +++ b/webrtc/video_engine/test/auto_test/automated/vie_api_integration_test.cc @@ -52,4 +52,4 @@ TEST_F(DISABLED_ON_MAC(ViEApiIntegrationTest), RunsRtpRtcpTestWithoutErrors) { tests_->ViERtpRtcpAPITest(); } -} // namespace +} // namespace diff --git a/webrtc/video_engine/test/auto_test/automated/vie_standard_integration_test.cc b/webrtc/video_engine/test/auto_test/automated/vie_standard_integration_test.cc index f517bcc2c..0990fa2c8 100644 --- a/webrtc/video_engine/test/auto_test/automated/vie_standard_integration_test.cc +++ b/webrtc/video_engine/test/auto_test/automated/vie_standard_integration_test.cc @@ -65,4 +65,4 @@ TEST_F(ViEStandardIntegrationTest, MAYBE_RunsRtpRtcpTestWithoutErrors) { tests_->ViERtpRtcpStandardTest(); } -} // namespace +} // namespace diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc index 6bfb259a7..dbcccf1a6 100644 --- a/webrtc/voice_engine/channel.cc +++ b/webrtc/voice_engine/channel.cc @@ -5324,5 +5324,5 @@ int Channel::SetRedPayloadType(int red_payload_type) { return 0; } -} // namespace voe -} // namespace webrtc +} // namespace voe +} // namespace webrtc diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h index d05cd21ad..a1e16feba 100644 --- a/webrtc/voice_engine/channel.h +++ b/webrtc/voice_engine/channel.h @@ -551,8 +551,8 @@ private: bool _rxNsIsEnabled; }; -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H diff --git a/webrtc/voice_engine/channel_manager.cc b/webrtc/voice_engine/channel_manager.cc index 5adfcbef1..4b2031766 100644 --- a/webrtc/voice_engine/channel_manager.cc +++ b/webrtc/voice_engine/channel_manager.cc @@ -156,6 +156,6 @@ Channel* ScopedChannel::GetNextChannel(void*& iterator) const return static_cast (it->GetItem()); } -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/channel_manager.h b/webrtc/voice_engine/channel_manager.h index 49e7bf769..723ff0437 100644 --- a/webrtc/voice_engine/channel_manager.h +++ b/webrtc/voice_engine/channel_manager.h @@ -82,8 +82,8 @@ private: MapWrapper _channels; }; -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_CHANNEL_MANAGER_H diff --git a/webrtc/voice_engine/channel_manager_base.cc b/webrtc/voice_engine/channel_manager_base.cc index 25d405869..440a0ea98 100644 --- a/webrtc/voice_engine/channel_manager_base.cc +++ b/webrtc/voice_engine/channel_manager_base.cc @@ -222,6 +222,6 @@ void ChannelManagerBase::GetChannels(MapWrapper& channels) const } } -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/channel_manager_base.h b/webrtc/voice_engine/channel_manager_base.h index a61bf5a76..1db190337 100644 --- a/webrtc/voice_engine/channel_manager_base.h +++ b/webrtc/voice_engine/channel_manager_base.h @@ -80,8 +80,8 @@ private: RWLockWrapper* _itemsRWLockPtr; }; -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_CHANNEL_MANAGER_BASE_H diff --git a/webrtc/voice_engine/dtmf_inband.h b/webrtc/voice_engine/dtmf_inband.h index c867143c7..eb045c925 100644 --- a/webrtc/voice_engine/dtmf_inband.h +++ b/webrtc/voice_engine/dtmf_inband.h @@ -82,6 +82,6 @@ private: uint32_t _delaySinceLastToneMS; // time since last generated tone [ms] }; -} // namespace webrtc +} // namespace webrtc #endif // #ifndef WEBRTC_VOICE_ENGINE_DTMF_INBAND_H_ diff --git a/webrtc/voice_engine/dtmf_inband_queue.h b/webrtc/voice_engine/dtmf_inband_queue.h index fa4967aba..5ca3f9c5f 100644 --- a/webrtc/voice_engine/dtmf_inband_queue.h +++ b/webrtc/voice_engine/dtmf_inband_queue.h @@ -45,6 +45,6 @@ private: uint8_t _DtmfLevel[kDtmfInbandMax]; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_DTMF_INBAND_QUEUE_H diff --git a/webrtc/voice_engine/include/voe_audio_processing.h b/webrtc/voice_engine/include/voe_audio_processing.h index 51ca95200..3ba7b1a2a 100644 --- a/webrtc/voice_engine/include/voe_audio_processing.h +++ b/webrtc/voice_engine/include/voe_audio_processing.h @@ -232,6 +232,6 @@ protected: virtual ~VoEAudioProcessing() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_H diff --git a/webrtc/voice_engine/include/voe_base.h b/webrtc/voice_engine/include/voe_base.h index 2958108c4..1a06c2ee2 100644 --- a/webrtc/voice_engine/include/voe_base.h +++ b/webrtc/voice_engine/include/voe_base.h @@ -186,6 +186,6 @@ protected: virtual ~VoEBase() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_BASE_H diff --git a/webrtc/voice_engine/include/voe_codec.h b/webrtc/voice_engine/include/voe_codec.h index 4126965d5..e69737d68 100644 --- a/webrtc/voice_engine/include/voe_codec.h +++ b/webrtc/voice_engine/include/voe_codec.h @@ -147,6 +147,6 @@ protected: virtual ~VoECodec() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_CODEC_H diff --git a/webrtc/voice_engine/include/voe_hardware.h b/webrtc/voice_engine/include/voe_hardware.h index 8236f65f2..5c247d743 100644 --- a/webrtc/voice_engine/include/voe_hardware.h +++ b/webrtc/voice_engine/include/voe_hardware.h @@ -136,6 +136,6 @@ protected: virtual ~VoEHardware() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_HARDWARE_H diff --git a/webrtc/voice_engine/include/voe_neteq_stats.h b/webrtc/voice_engine/include/voe_neteq_stats.h index 7b7c47fe8..f4e8f7b58 100644 --- a/webrtc/voice_engine/include/voe_neteq_stats.h +++ b/webrtc/voice_engine/include/voe_neteq_stats.h @@ -40,6 +40,6 @@ protected: virtual ~VoENetEqStats() {} }; -} // namespace webrtc +} // namespace webrtc #endif // #ifndef WEBRTC_VOICE_ENGINE_VOE_NETEQ_STATS_H diff --git a/webrtc/voice_engine/include/voe_network.h b/webrtc/voice_engine/include/voe_network.h index 15a770bd4..7bcf90336 100644 --- a/webrtc/voice_engine/include/voe_network.h +++ b/webrtc/voice_engine/include/voe_network.h @@ -119,6 +119,6 @@ protected: virtual ~VoENetwork() {} }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_NETWORK_H diff --git a/webrtc/voice_engine/include/voe_video_sync.h b/webrtc/voice_engine/include/voe_video_sync.h index a3770eabb..ef811a96f 100644 --- a/webrtc/voice_engine/include/voe_video_sync.h +++ b/webrtc/voice_engine/include/voe_video_sync.h @@ -99,6 +99,6 @@ protected: virtual ~VoEVideoSync() { } }; -} // namespace webrtc +} // namespace webrtc #endif // #ifndef WEBRTC_VOICE_ENGINE_VOE_VIDEO_SYNC_H diff --git a/webrtc/voice_engine/level_indicator.cc b/webrtc/voice_engine/level_indicator.cc index 12ca906e4..61dfbcda8 100644 --- a/webrtc/voice_engine/level_indicator.cc +++ b/webrtc/voice_engine/level_indicator.cc @@ -100,4 +100,4 @@ int16_t AudioLevel::LevelFullRange() const } // namespace voe -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/monitor_module.cc b/webrtc/voice_engine/monitor_module.cc index ef863f90b..2389a51ce 100644 --- a/webrtc/voice_engine/monitor_module.cc +++ b/webrtc/voice_engine/monitor_module.cc @@ -87,6 +87,6 @@ MonitorModule::Process() return 0; } -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/monitor_module.h b/webrtc/voice_engine/monitor_module.h index d55baec62..ebe4acaa9 100644 --- a/webrtc/voice_engine/monitor_module.h +++ b/webrtc/voice_engine/monitor_module.h @@ -56,8 +56,8 @@ private: int32_t _lastProcessTime; }; -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc #endif // VOICE_ENGINE_MONITOR_MODULE diff --git a/webrtc/voice_engine/output_mixer.cc b/webrtc/voice_engine/output_mixer.cc index b928455b1..dba96fe7c 100644 --- a/webrtc/voice_engine/output_mixer.cc +++ b/webrtc/voice_engine/output_mixer.cc @@ -655,6 +655,6 @@ OutputMixer::InsertInbandDtmfTone() return 0; } -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/output_mixer.h b/webrtc/voice_engine/output_mixer.h index 5a423c2ac..fc9afd8c5 100644 --- a/webrtc/voice_engine/output_mixer.h +++ b/webrtc/voice_engine/output_mixer.h @@ -147,8 +147,8 @@ private: bool _outputFileRecording; }; -} // namespace voe +} // namespace voe -} // namespace werbtc +} // namespace werbtc #endif // VOICE_ENGINE_OUTPUT_MIXER_H_ diff --git a/webrtc/voice_engine/shared_data.cc b/webrtc/voice_engine/shared_data.cc index 88f66fd32..e993778be 100644 --- a/webrtc/voice_engine/shared_data.cc +++ b/webrtc/voice_engine/shared_data.cc @@ -118,6 +118,6 @@ void SharedData::SetLastError(int32_t error, TraceLevel level, _engineStatistics.SetLastError(error, level, msg); } -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/shared_data.h b/webrtc/voice_engine/shared_data.h index b20225f08..a841547a2 100644 --- a/webrtc/voice_engine/shared_data.h +++ b/webrtc/voice_engine/shared_data.h @@ -83,7 +83,7 @@ protected: virtual ~SharedData(); }; -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_SHARED_DATA_H diff --git a/webrtc/voice_engine/statistics.cc b/webrtc/voice_engine/statistics.cc index 0c2b46821..a1faae747 100644 --- a/webrtc/voice_engine/statistics.cc +++ b/webrtc/voice_engine/statistics.cc @@ -94,6 +94,6 @@ int32_t Statistics::LastError() const return _lastError; } -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/statistics.h b/webrtc/voice_engine/statistics.h index 7d9582eee..3dab91625 100644 --- a/webrtc/voice_engine/statistics.h +++ b/webrtc/voice_engine/statistics.h @@ -48,6 +48,6 @@ class Statistics } // namespace voe -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_STATISTICS_H diff --git a/webrtc/voice_engine/test/auto_test/voe_cpu_test.cc b/webrtc/voice_engine/test/auto_test/voe_cpu_test.cc index 1367ddcda..dddbb2cde 100644 --- a/webrtc/voice_engine/test/auto_test/voe_cpu_test.cc +++ b/webrtc/voice_engine/test/auto_test/voe_cpu_test.cc @@ -98,4 +98,4 @@ int VoECpuTest::DoTest() { return 0; } -} // namespace voetest +} // namespace voetest diff --git a/webrtc/voice_engine/test/auto_test/voe_cpu_test.h b/webrtc/voice_engine/test/auto_test/voe_cpu_test.h index 92d30c857..74ba3e927 100644 --- a/webrtc/voice_engine/test/auto_test/voe_cpu_test.h +++ b/webrtc/voice_engine/test/auto_test/voe_cpu_test.h @@ -26,6 +26,6 @@ class VoECpuTest { VoETestManager& _mgr; }; -} // namespace voetest +} // namespace voetest #endif // WEBRTC_VOICE_ENGINE_VOE_CPU_TEST_H diff --git a/webrtc/voice_engine/test/auto_test/voe_extended_test.cc b/webrtc/voice_engine/test/auto_test/voe_extended_test.cc index 38b3cdc0f..9568e89ca 100644 --- a/webrtc/voice_engine/test/auto_test/voe_extended_test.cc +++ b/webrtc/voice_engine/test/auto_test/voe_extended_test.cc @@ -1600,7 +1600,7 @@ int VoEExtendedTest::TestCodec() { } } ANL(); - } // for (int index = 0; index < nCodecs; index++) + } // for (int index = 0; index < nCodecs; index++) // restore PCMU const CodecInst tmp = { 0, "PCMU", 8000, 160, 1, 64000 }; @@ -5304,4 +5304,4 @@ int VoEExtendedTest::TestVolumeControl() return 0; } -} // namespace voetest +} // namespace voetest diff --git a/webrtc/voice_engine/test/auto_test/voe_extended_test.h b/webrtc/voice_engine/test/auto_test/voe_extended_test.h index f0a62b5ad..0c5d4e188 100644 --- a/webrtc/voice_engine/test/auto_test/voe_extended_test.h +++ b/webrtc/voice_engine/test/auto_test/voe_extended_test.h @@ -469,5 +469,5 @@ class VoEExtendedTest : public VoiceEngineObserver, bool _sending[32]; }; -} // namespace voetest +} // namespace voetest #endif // WEBRTC_VOICE_ENGINE_VOE_EXTENDED_TEST_H diff --git a/webrtc/voice_engine/test/auto_test/voe_standard_test.cc b/webrtc/voice_engine/test/auto_test/voe_standard_test.cc index 751cd8e17..fed756d9e 100644 --- a/webrtc/voice_engine/test/auto_test/voe_standard_test.cc +++ b/webrtc/voice_engine/test/auto_test/voe_standard_test.cc @@ -496,7 +496,7 @@ int run_auto_test(TestType test_type, ExtendedSelection ext_selection) { xtend.TestPassed("VolumeControl"); } api_manager.GetExtendedMenuSelection(ext_selection); - } // while (extendedSel != XSEL_None) + } // while (extendedSel != XSEL_None) } else if (test_type == Stress) { VoEStressTest stressTest(test_manager); result = stressTest.DoTest(); @@ -524,7 +524,7 @@ int run_auto_test(TestType test_type, ExtendedSelection ext_selection) { return 0; } -} // namespace voetest +} // namespace voetest int RunInManualMode() { using namespace voetest; diff --git a/webrtc/voice_engine/test/auto_test/voe_standard_test.h b/webrtc/voice_engine/test/auto_test/voe_standard_test.h index 417004735..0710ce650 100644 --- a/webrtc/voice_engine/test/auto_test/voe_standard_test.h +++ b/webrtc/voice_engine/test/auto_test/voe_standard_test.h @@ -229,6 +229,6 @@ class VoETestManager { ResourceManager resource_manager_; }; -} // namespace voetest +} // namespace voetest #endif // WEBRTC_VOICE_ENGINE_VOE_STANDARD_TEST_H diff --git a/webrtc/voice_engine/test/auto_test/voe_stress_test.cc b/webrtc/voice_engine/test/auto_test/voe_stress_test.cc index b79c19351..bd1540437 100644 --- a/webrtc/voice_engine/test/auto_test/voe_stress_test.cc +++ b/webrtc/voice_engine/test/auto_test/voe_stress_test.cc @@ -79,8 +79,8 @@ int VoEStressTest::DoTest() { // Should not be possible printf("Invalid selection! (Test code error)\n"); assert(false); - } // switch - } // while + } // switch + } // while return 0; } @@ -409,4 +409,4 @@ bool VoEStressTest::ProcessExtraApi() { return true; } -} // namespace voetest +} // namespace voetest diff --git a/webrtc/voice_engine/test/auto_test/voe_stress_test.h b/webrtc/voice_engine/test/auto_test/voe_stress_test.h index ae3da2fbc..15653bc55 100644 --- a/webrtc/voice_engine/test/auto_test/voe_stress_test.h +++ b/webrtc/voice_engine/test/auto_test/voe_stress_test.h @@ -44,6 +44,6 @@ class VoEStressTest { ThreadWrapper* _ptrExtraApiThread; }; -} // namespace voetest +} // namespace voetest #endif // WEBRTC_VOICE_ENGINE_VOE_STRESS_TEST_H diff --git a/webrtc/voice_engine/test/auto_test/voe_test_interface.h b/webrtc/voice_engine/test/auto_test/voe_test_interface.h index dd109dcb0..d5693d974 100644 --- a/webrtc/voice_engine/test/auto_test/voe_test_interface.h +++ b/webrtc/voice_engine/test/auto_test/voe_test_interface.h @@ -49,5 +49,5 @@ enum ExtendedSelection { // Main test function int runAutoTest(TestType testType, ExtendedSelection extendedSel); -} // namespace voetest +} // namespace voetest #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H diff --git a/webrtc/voice_engine/test/auto_test/voe_unit_test.cc b/webrtc/voice_engine/test/auto_test/voe_unit_test.cc index b092ae32b..c67de57af 100644 --- a/webrtc/voice_engine/test/auto_test/voe_unit_test.cc +++ b/webrtc/voice_engine/test/auto_test/voe_unit_test.cc @@ -210,8 +210,8 @@ int VoEUnitTest::DoTest() { // Should not be possible printf("Invalid selection! (Test code error)\n"); assert(false); - } // switch - } // while + } // switch + } // while return ret; } @@ -1083,4 +1083,4 @@ int VoEUnitTest::MixerTest() { return 0; } -} // namespace voetest +} // namespace voetest diff --git a/webrtc/voice_engine/test/auto_test/voe_unit_test.h b/webrtc/voice_engine/test/auto_test/voe_unit_test.h index 69af78cba..fb80b3dde 100644 --- a/webrtc/voice_engine/test/auto_test/voe_unit_test.h +++ b/webrtc/voice_engine/test/auto_test/voe_unit_test.h @@ -67,5 +67,5 @@ class VoEUnitTest : public Encryption { int _extChannel; }; -} // namespace voetest +} // namespace voetest #endif // WEBRTC_VOICE_ENGINE_VOE_UNIT_TEST_H diff --git a/webrtc/voice_engine/transmit_mixer.cc b/webrtc/voice_engine/transmit_mixer.cc index f594ef0e5..9c7e03ea5 100644 --- a/webrtc/voice_engine/transmit_mixer.cc +++ b/webrtc/voice_engine/transmit_mixer.cc @@ -1420,6 +1420,6 @@ bool TransmitMixer::IsStereoChannelSwappingEnabled() { return swap_stereo_channels_; } -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/transmit_mixer.h b/webrtc/voice_engine/transmit_mixer.h index 450f1254b..1b575af41 100644 --- a/webrtc/voice_engine/transmit_mixer.h +++ b/webrtc/voice_engine/transmit_mixer.h @@ -236,6 +236,6 @@ private: #endif // WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H -} // namespace voe +} // namespace voe } // namespace webrtc diff --git a/webrtc/voice_engine/utility.cc b/webrtc/voice_engine/utility.cc index 5bd87f83a..5b7ee8149 100644 --- a/webrtc/voice_engine/utility.cc +++ b/webrtc/voice_engine/utility.cc @@ -120,6 +120,6 @@ void Utility::ScaleWithSat(int16_t vector[], float scale, } } -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/utility.h b/webrtc/voice_engine/utility.h index b51dc035b..fcb4462e5 100644 --- a/webrtc/voice_engine/utility.h +++ b/webrtc/voice_engine/utility.h @@ -51,8 +51,8 @@ public: uint16_t len); }; -} // namespace voe +} // namespace voe -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_UTILITY_H diff --git a/webrtc/voice_engine/voe_audio_processing_impl.cc b/webrtc/voice_engine/voe_audio_processing_impl.cc index a1743ea55..430f86dc6 100644 --- a/webrtc/voice_engine/voe_audio_processing_impl.cc +++ b/webrtc/voice_engine/voe_audio_processing_impl.cc @@ -1086,4 +1086,4 @@ bool VoEAudioProcessingImpl::IsStereoChannelSwappingEnabled() { #endif // #ifdef WEBRTC_VOICE_ENGINE_AUDIO_PROCESSING_API -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/voe_audio_processing_impl.h b/webrtc/voice_engine/voe_audio_processing_impl.h index 562e8ba73..309d997b5 100644 --- a/webrtc/voice_engine/voe_audio_processing_impl.h +++ b/webrtc/voice_engine/voe_audio_processing_impl.h @@ -107,6 +107,6 @@ class VoEAudioProcessingImpl : public VoEAudioProcessing { voe::SharedData* _shared; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H diff --git a/webrtc/voice_engine/voe_base_impl.cc b/webrtc/voice_engine/voe_base_impl.cc index 09f22d44b..f9934573d 100644 --- a/webrtc/voice_engine/voe_base_impl.cc +++ b/webrtc/voice_engine/voe_base_impl.cc @@ -1241,4 +1241,4 @@ int32_t VoEBaseImpl::TerminateInternal() return _shared->statistics().SetUnInitialized(); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/voe_base_impl.h b/webrtc/voice_engine/voe_base_impl.h index fbd9092c3..4665e8080 100644 --- a/webrtc/voice_engine/voe_base_impl.h +++ b/webrtc/voice_engine/voe_base_impl.h @@ -124,6 +124,6 @@ private: }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_BASE_IMPL_H diff --git a/webrtc/voice_engine/voe_call_report_impl.cc b/webrtc/voice_engine/voe_call_report_impl.cc index 9f3177d86..cf76850d4 100644 --- a/webrtc/voice_engine/voe_call_report_impl.cc +++ b/webrtc/voice_engine/voe_call_report_impl.cc @@ -408,4 +408,4 @@ int VoECallReportImpl::WriteReportToFile(const char* fileNameUTF8) #endif // WEBRTC_VOICE_ENGINE_CALL_REPORT_API -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/voe_call_report_impl.h b/webrtc/voice_engine/voe_call_report_impl.h index e8b81f224..b9927f565 100644 --- a/webrtc/voice_engine/voe_call_report_impl.h +++ b/webrtc/voice_engine/voe_call_report_impl.h @@ -52,6 +52,6 @@ private: voe::SharedData* _shared; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_CALL_REPORT_IMPL_H diff --git a/webrtc/voice_engine/voe_codec_impl.cc b/webrtc/voice_engine/voe_codec_impl.cc index 0cc4e025e..6cc791af4 100644 --- a/webrtc/voice_engine/voe_codec_impl.cc +++ b/webrtc/voice_engine/voe_codec_impl.cc @@ -764,4 +764,4 @@ int VoECodecImpl::RemoveSecondarySendCodec(int channel) { #endif // WEBRTC_VOICE_ENGINE_CODEC_API -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/voe_codec_impl.h b/webrtc/voice_engine/voe_codec_impl.h index ab120f820..ec6cbd7c5 100644 --- a/webrtc/voice_engine/voe_codec_impl.h +++ b/webrtc/voice_engine/voe_codec_impl.h @@ -92,6 +92,6 @@ private: voe::SharedData* _shared; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_CODEC_IMPL_H diff --git a/webrtc/voice_engine/voe_dtmf_impl.h b/webrtc/voice_engine/voe_dtmf_impl.h index e779b69b2..e879f8de4 100644 --- a/webrtc/voice_engine/voe_dtmf_impl.h +++ b/webrtc/voice_engine/voe_dtmf_impl.h @@ -61,6 +61,6 @@ private: voe::SharedData* _shared; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_DTMF_IMPL_H diff --git a/webrtc/voice_engine/voe_encryption_impl.h b/webrtc/voice_engine/voe_encryption_impl.h index 47e38e009..6d482fff7 100644 --- a/webrtc/voice_engine/voe_encryption_impl.h +++ b/webrtc/voice_engine/voe_encryption_impl.h @@ -35,6 +35,6 @@ private: voe::SharedData* _shared; }; -} // namespace webrtc +} // namespace webrtc #endif // #ifndef WEBRTC_VOICE_ENGINE_VOE_ENCRYPTION_IMPL_H diff --git a/webrtc/voice_engine/voe_hardware_impl.cc b/webrtc/voice_engine/voe_hardware_impl.cc index b2690da70..5a293fc1d 100644 --- a/webrtc/voice_engine/voe_hardware_impl.cc +++ b/webrtc/voice_engine/voe_hardware_impl.cc @@ -807,4 +807,4 @@ int VoEHardwareImpl::PlayoutSampleRate(unsigned int* samples_per_sec) const { #endif // WEBRTC_VOICE_ENGINE_HARDWARE_API -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/voe_hardware_impl.h b/webrtc/voice_engine/voe_hardware_impl.h index eddaf377e..4e06f978d 100644 --- a/webrtc/voice_engine/voe_hardware_impl.h +++ b/webrtc/voice_engine/voe_hardware_impl.h @@ -75,6 +75,6 @@ private: voe::SharedData* _shared; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_HARDWARE_IMPL_H diff --git a/webrtc/voice_engine/voe_neteq_stats_impl.cc b/webrtc/voice_engine/voe_neteq_stats_impl.cc index aa53ceb5e..661c8c658 100644 --- a/webrtc/voice_engine/voe_neteq_stats_impl.cc +++ b/webrtc/voice_engine/voe_neteq_stats_impl.cc @@ -75,4 +75,4 @@ int VoENetEqStatsImpl::GetNetworkStatistics(int channel, #endif // #ifdef WEBRTC_VOICE_ENGINE_NETEQ_STATS_API -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/voe_network_impl.cc b/webrtc/voice_engine/voe_network_impl.cc index 6b4b97734..625217069 100644 --- a/webrtc/voice_engine/voe_network_impl.cc +++ b/webrtc/voice_engine/voe_network_impl.cc @@ -319,4 +319,4 @@ int VoENetworkImpl::GetPeriodicDeadOrAliveStatus(int channel, sampleTimeSeconds); } -} // namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/voe_network_impl.h b/webrtc/voice_engine/voe_network_impl.h index cfa3ffc35..194899b45 100644 --- a/webrtc/voice_engine/voe_network_impl.h +++ b/webrtc/voice_engine/voe_network_impl.h @@ -62,6 +62,6 @@ private: voe::SharedData* _shared; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_NETWORK_IMPL_H diff --git a/webrtc/voice_engine/voe_video_sync_impl.h b/webrtc/voice_engine/voe_video_sync_impl.h index 932c8cd62..e0ec3f2fe 100644 --- a/webrtc/voice_engine/voe_video_sync_impl.h +++ b/webrtc/voice_engine/voe_video_sync_impl.h @@ -48,6 +48,6 @@ private: voe::SharedData* _shared; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_VIDEO_SYNC_IMPL_H diff --git a/webrtc/voice_engine/voe_volume_control_impl.h b/webrtc/voice_engine/voe_volume_control_impl.h index f19d9a343..cdbc4280e 100644 --- a/webrtc/voice_engine/voe_volume_control_impl.h +++ b/webrtc/voice_engine/voe_volume_control_impl.h @@ -66,6 +66,6 @@ private: voe::SharedData* _shared; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOE_VOLUME_CONTROL_IMPL_H diff --git a/webrtc/voice_engine/voice_engine_defines.h b/webrtc/voice_engine/voice_engine_defines.h index e1e9cdfa1..2d69979e2 100644 --- a/webrtc/voice_engine/voice_engine_defines.h +++ b/webrtc/voice_engine/voice_engine_defines.h @@ -123,7 +123,7 @@ enum { kVoiceEngineMinRtpExtensionId = 1 }; // Max 4-bit ID for RTP extension enum { kVoiceEngineMaxRtpExtensionId = 14 }; -} // namespace webrtc +} // namespace webrtc // TODO(ajm): we shouldn't be using the precompiler for this. // Use enums or bools as appropriate. @@ -218,7 +218,7 @@ inline int VoEChannelId(int moduleId) return (int) (moduleId & 0xffff); } -} // namespace webrtc +} // namespace webrtc // ---------------------------------------------------------------------------- // Platform settings diff --git a/webrtc/voice_engine/voice_engine_impl.cc b/webrtc/voice_engine/voice_engine_impl.cc index eca098ef9..781a66ae6 100644 --- a/webrtc/voice_engine/voice_engine_impl.cc +++ b/webrtc/voice_engine/voice_engine_impl.cc @@ -38,7 +38,7 @@ VoiceEngine* GetVoiceEngine() } return self; } -} // extern "C" +} // extern "C" int VoiceEngineImpl::AddRef() { return ++_ref_count; @@ -155,4 +155,4 @@ int VoiceEngine::SetAndroidObjects(void* javaVM, void* env, void* context) #endif } -} //namespace webrtc +} // namespace webrtc diff --git a/webrtc/voice_engine/voice_engine_impl.h b/webrtc/voice_engine/voice_engine_impl.h index 011907440..55c420954 100644 --- a/webrtc/voice_engine/voice_engine_impl.h +++ b/webrtc/voice_engine/voice_engine_impl.h @@ -154,6 +154,6 @@ private: Atomic32 _ref_count; }; -} // namespace webrtc +} // namespace webrtc #endif // WEBRTC_VOICE_ENGINE_VOICE_ENGINE_IMPL_H