WebRtcSpl AffineTransform: make input const

Bug: webrtc:10548
Change-Id: I4241dfe7ba282270422f8f8e90a8e5a439d3031c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/132787
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27613}
This commit is contained in:
Alessio Bazzica 2019-04-15 09:38:24 +02:00 committed by Commit Bot
parent 0046697841
commit 1bc995a1cb
2 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@ void WebRtcSpl_AddVectorsAndShift(int16_t *out, const int16_t *in1,
}
}
void WebRtcSpl_AddAffineVectorToVector(int16_t *out, int16_t *in,
void WebRtcSpl_AddAffineVectorToVector(int16_t *out, const int16_t *in,
int16_t gain, int32_t add_constant,
int16_t right_shifts,
size_t vector_length)
@ -77,7 +77,7 @@ void WebRtcSpl_AddAffineVectorToVector(int16_t *out, int16_t *in,
}
}
void WebRtcSpl_AffineTransformVector(int16_t *out, int16_t *in,
void WebRtcSpl_AffineTransformVector(int16_t *out, const int16_t *in,
int16_t gain, int32_t add_constant,
int16_t right_shifts, size_t vector_length)
{

View file

@ -384,13 +384,13 @@ void WebRtcSpl_AddVectorsAndShift(int16_t* out_vector,
size_t vector_length,
int16_t right_shifts);
void WebRtcSpl_AddAffineVectorToVector(int16_t* out_vector,
int16_t* in_vector,
const int16_t* in_vector,
int16_t gain,
int32_t add_constant,
int16_t right_shifts,
size_t vector_length);
void WebRtcSpl_AffineTransformVector(int16_t* out_vector,
int16_t* in_vector,
const int16_t* in_vector,
int16_t gain,
int32_t add_constant,
int16_t right_shifts,