|
Reformat existing code. There should be no functional effects.
This includes changes like:
* Attempt to break lines at better positions
* Use "override" in more places, don't use "virtual" with it
* Use {} where the body is more than one line
* Make declaration and definition arg names match
* Eliminate unused code
* EXPECT_EQ(expected, actual) (but use (actual, expected) for e.g. _GT)
* Correct #include order
* Use anonymous namespaces in preference to "static" for file-scoping
* Eliminate unnecessary casts
* Update reference code in comments of ARM assembly sources to match actual current C code
* Fix indenting to be more style-guide compliant
* Use arraysize() in more places
* Use bool instead of int for "boolean" values (0/1)
* Shorten and simplify code
* Spaces around operators
* 80 column limit
* Use const more consistently
* Space goes after '*' in type name, not before
* Remove unnecessary return values
* Use "(var == const)", not "(const == var)"
* Spelling
* Prefer true, typed constants to "enum hack" constants
* Avoid "virtual" on non-overridden functions
* ASSERT(x == y) -> ASSERT_EQ(y, x)
BUG=none
R=andrew@webrtc.org, asapersson@webrtc.org, henrika@webrtc.org, juberti@webrtc.org, kjellander@webrtc.org, kwiberg@webrtc.org
Committed: https://chromium.googlesource.com/external/webrtc/+/728d9037c016c01295177fa700fc7927f0bb80bb
Total comments: 18
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+419 lines, -493 lines) |
Patch |
|
M |
talk/app/webrtc/test/fakeaudiocapturemodule.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc
|
View
|
1
2
|
2 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/audio_ring_buffer_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/blocker.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/common_audio/fft4g.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/common_audio/fft4g.c
|
View
|
1
2
|
5 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/lapped_transform_unittest.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/real_fourier_unittest.cc
|
View
|
|
1 chunk |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/resampler/resampler.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/resampler/sinc_resampler.cc
|
View
|
1
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/signal_processing/energy.c
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/common_audio/signal_processing/filter_ar_fast_q12_armv7.S
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/signal_processing/include/signal_processing_library.h
|
View
|
1
2
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/signal_processing/resample_fractional.c
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/signal_processing/signal_processing_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/common_audio/vad/vad_unittest.cc
|
View
|
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/g711/g711_interface.c
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/g711/include/g711_interface.h
|
View
|
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/g711/test/testG711.cc
|
View
|
1
|
3 chunks |
+10 lines, -15 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/g722/g722_interface.c
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/g722/include/g722_interface.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/g722/test/testG722.cc
|
View
|
1
|
4 chunks |
+14 lines, -18 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/abs_quant_loop.c
|
View
|
|
3 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.cc
|
View
|
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy.c
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_augmentation.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_augmentation.c
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.c
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/cb_search.c
|
View
|
1
2
|
3 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/decode.c
|
View
|
1
2
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/my_corr.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/my_corr.c
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/test/iLBC_test.c
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/test/iLBC_testLib.c
|
View
|
1
2
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/ilbc/xcorr_coef.c
|
View
|
1
2
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/fix/interface/isacfix.h
|
View
|
1
2
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/fix/source/decode_plc.c
|
View
|
1
2
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c
|
View
|
1
2
|
4 chunks |
+8 lines, -14 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.c
|
View
|
1
2
|
6 chunks |
+16 lines, -18 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/fix/source/lattice.c
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_armv7.S
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c
|
View
|
1
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/fix/test/isac_speed_test.cc
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/fix/test/test_iSACfixfloat.c
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.c
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/isac/main/source/lpc_analysis.c
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/main/acm2/acm_receive_test.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/main/acm2/acm_receive_test.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/main/test/opus_test.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/decision_logic_normal.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/expand.h
|
View
|
1
2
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/expand.cc
|
View
|
1
2
|
5 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/merge.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
View
|
1
2
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/packet_buffer.cc
|
View
|
|
1 chunk |
+4 lines, -8 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/preemptive_expand.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/statistics_calculator.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/test/RTPencode.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/tools/constant_pcm_packet_source.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/tools/neteq_performance_test.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_device/android/audio_common.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_device/audio_device_buffer.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_device/test/audio_device_test_api.cc
|
View
|
|
3 chunks |
+37 lines, -39 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_device/test/func_test_manager.h
|
View
|
|
1 chunk |
+41 lines, -42 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_device/test/func_test_manager.cc
|
View
|
|
4 chunks |
+10 lines, -16 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_processing/aec/aec_resampler.c
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_processing/aec/echo_cancellation.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_processing/agc/agc_audio_proc.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_processing/audio_buffer.cc
|
View
|
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_processing/audio_processing_impl.h
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_processing/ns/ns_core.c
|
View
|
1
2
|
5 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_processing/ns/nsx_core.c
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/audio_processing/splitting_filter_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/interface/module_common_types.h
|
View
|
1
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/utility/source/file_recorder_impl.h
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/utility/source/file_recorder_impl.cc
|
View
|
|
2 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/main/test/release_test.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/system_wrappers/interface/aligned_array.h
|
View
|
|
1 chunk |
+0 lines, -8 lines |
3 comments
|
Download
|
|
M |
webrtc/test/fake_audio_device.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/tools/agc/activity_metric.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/voice_engine/test/auto_test/standard/external_media_test.cc
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
Total messages: 22 (4 generated)
|