bjornv@webrtc.org
600587d5ac
Refactor audio_coding/neteq: Removed usage of macro WEBRTC_SPL_16_16_RSFT
...
The macro is defined as
#define WEBRTC_SPL_MUL_16_16_RSFT(a, b, c) \
(WEBRTC_SPL_MUL_16_16(a, b) >> (c))
where the latter macro is in C defined as
#define WEBRTC_SPL_MUL_16_16(a, b) \
((int32_t) (((int16_t)(a)) * ((int16_t)(b))))
(For definitions on ARMv7 and MIPS, see common_audio/signal_processing/include/spl_inl_{armv7,mips}.h)
The replacement consists of
- avoiding casts to int16_t if inputs already are int16_t
- adding explicit cast to <type> if result is assigned to <type> (other than int or int32_t)
- minor cleanups like remove of unnecessary parentheses and style changes
In addition an implicit cast from int32_t to int16_t was removed, which was a bug.
BUG=3348, 3353
TESTED=Locally on Mac and trybots
R=henrik.lundin@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/41179004
Cr-Commit-Position: refs/heads/master@{#8653}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8653 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-03-09 13:30:45 +00:00
..
2015-02-18 10:02:20 +00:00
2015-02-25 10:03:19 +00:00
2015-03-04 13:04:54 +00:00
2015-03-04 13:04:54 +00:00
2014-06-09 08:10:28 +00:00
2015-03-04 13:04:54 +00:00
2015-02-26 14:43:50 +00:00
2014-06-09 08:10:28 +00:00
2015-02-26 14:43:50 +00:00
2015-02-25 10:03:19 +00:00
2015-03-04 13:04:54 +00:00
2015-02-26 15:38:46 +00:00
2014-11-13 08:35:05 +00:00
2014-09-04 10:58:43 +00:00
2014-09-04 10:58:43 +00:00
2014-09-04 10:58:43 +00:00
2014-09-04 10:58:43 +00:00
2015-02-26 14:43:50 +00:00
2015-02-26 14:43:50 +00:00
2014-09-04 09:55:40 +00:00
2015-03-09 13:30:45 +00:00
2015-02-26 14:43:50 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-12-09 10:12:53 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2015-03-04 13:04:54 +00:00
2014-11-04 14:03:58 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-11-04 11:51:46 +00:00
2015-02-23 21:29:45 +00:00
2015-02-23 21:29:45 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-12-09 10:12:53 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-11-20 22:28:14 +00:00
2014-11-20 22:28:14 +00:00
2014-09-04 09:55:40 +00:00
2014-09-04 07:39:21 +00:00
2014-09-04 07:39:21 +00:00
2014-09-04 09:55:40 +00:00
2015-01-12 05:50:52 +00:00
2015-02-26 14:43:50 +00:00
2014-09-04 09:55:40 +00:00
2015-02-26 14:43:50 +00:00
2014-06-09 08:10:28 +00:00
2015-03-04 13:04:54 +00:00
2015-02-25 10:03:19 +00:00
2015-02-25 10:03:19 +00:00
2015-03-04 13:04:54 +00:00
2015-02-26 14:43:50 +00:00
2015-02-26 14:43:50 +00:00
2015-03-03 09:28:53 +00:00
2015-02-26 14:43:50 +00:00
2014-08-07 12:27:37 +00:00
2015-03-03 09:28:53 +00:00
2015-02-26 14:43:50 +00:00
2015-03-09 13:30:45 +00:00
2014-06-09 08:10:28 +00:00
2014-06-10 05:42:53 +00:00
2014-11-04 14:03:58 +00:00
2014-12-09 10:12:53 +00:00
2014-11-04 14:03:58 +00:00
2014-11-20 22:28:14 +00:00
2015-02-26 14:43:50 +00:00
2015-02-13 14:02:17 +00:00
2014-11-20 22:28:14 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-12-09 10:12:53 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2015-02-18 10:02:20 +00:00
2015-02-18 10:02:20 +00:00
2014-09-04 09:55:40 +00:00
2014-06-09 08:10:28 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2015-02-26 14:43:50 +00:00
2014-06-09 08:10:28 +00:00
2014-09-04 09:55:40 +00:00
2015-01-28 18:38:13 +00:00
2014-06-09 08:10:28 +00:00