common_audio/signal_processing: Remove unused macros WEBRTC_SPL_GET_BYTE and WEBRTC_SPL_SET_BYTE
These two macros are not used anywhere in webrtc. Previously used in old neteq (I think). BUG=3348,3353 TESTED=manually on linux and trybots R=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18149004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6916 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -30,17 +30,12 @@ TEST_F(SplTest, MacroTest) {
|
||||
int B = 21;
|
||||
int a = -3;
|
||||
int b = WEBRTC_SPL_WORD32_MAX;
|
||||
int nr = 2;
|
||||
int d_ptr2 = 0;
|
||||
|
||||
EXPECT_EQ(10, WEBRTC_SPL_MIN(A, B));
|
||||
EXPECT_EQ(21, WEBRTC_SPL_MAX(A, B));
|
||||
|
||||
EXPECT_EQ(3, WEBRTC_SPL_ABS_W16(a));
|
||||
EXPECT_EQ(3, WEBRTC_SPL_ABS_W32(a));
|
||||
EXPECT_EQ(0, WEBRTC_SPL_GET_BYTE(&B, nr));
|
||||
WEBRTC_SPL_SET_BYTE(&d_ptr2, 1, nr);
|
||||
EXPECT_EQ(65536, d_ptr2);
|
||||
|
||||
EXPECT_EQ(-63, WEBRTC_SPL_MUL(a, B));
|
||||
EXPECT_EQ(-2147483645, WEBRTC_SPL_MUL(a, b));
|
||||
|
||||
Reference in New Issue
Block a user