aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-06-27 15:11:38 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-06-27 15:11:38 +0000
commitb3858964d6ddc61c89588be64ef6b2290debd136 (patch)
treee64d19c6da795d2561927a739b91eb8ad95239c1 /libavcodec/dsputil.h
parent1444438ab09878d8ab6e5953db4882b90f018995 (diff)
downloadffmpeg-b3858964d6ddc61c89588be64ef6b2290debd136.tar.gz
Add const to some pointer parameters.
Patch by Eli Friedman, eli D friedman A gmail Originally committed as revision 23826 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index d943b84929..d67483679c 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -544,14 +544,14 @@ typedef struct DSPContext {
* @param len length of vectors, should be multiple of 16
* @param shift number of bits to discard from product
*/
- int32_t (*scalarproduct_int16)(int16_t *v1, int16_t *v2/*align 16*/, int len, int shift);
+ int32_t (*scalarproduct_int16)(const int16_t *v1, const int16_t *v2/*align 16*/, int len, int shift);
/* ape functions */
/**
* Calculate scalar product of v1 and v2,
* and v1[i] += v3[i] * mul
* @param len length of vectors, should be multiple of 16
*/
- int32_t (*scalarproduct_and_madd_int16)(int16_t *v1/*align 16*/, int16_t *v2, int16_t *v3, int len, int mul);
+ int32_t (*scalarproduct_and_madd_int16)(int16_t *v1/*align 16*/, const int16_t *v2, const int16_t *v3, int len, int mul);
/* rv30 functions */
qpel_mc_func put_rv30_tpel_pixels_tab[4][16];