aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/rv40dsp_init.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-24 16:19:45 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-25 02:52:54 -0700
commit7fb993d338d88f2f62e0a358b6c9f3eb9a3a08ac (patch)
tree637a6395cb082b1097a6c4eeef45a7dc03024394 /libavcodec/x86/rv40dsp_init.c
parent060e4a9e0627adcda9101dd68ec7f22b4ce22b5b (diff)
downloadffmpeg-7fb993d338d88f2f62e0a358b6c9f3eb9a3a08ac.tar.gz
qpeldsp: Mark source pointer in qpel_mc_func function pointer const
Diffstat (limited to 'libavcodec/x86/rv40dsp_init.c')
-rw-r--r--libavcodec/x86/rv40dsp_init.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/x86/rv40dsp_init.c b/libavcodec/x86/rv40dsp_init.c
index 8fd2729fd8..e006c76584 100644
--- a/libavcodec/x86/rv40dsp_init.c
+++ b/libavcodec/x86/rv40dsp_init.c
@@ -70,7 +70,7 @@ DECLARE_WEIGHT(ssse3)
*/
#define QPEL_FUNC_DECL(OP, SIZE, PH, PV, OPT) \
static void OP ## rv40_qpel ##SIZE ##_mc ##PH ##PV ##OPT(uint8_t *dst, \
- uint8_t *src, \
+ const uint8_t *src, \
ptrdiff_t stride) \
{ \
int i; \
@@ -189,22 +189,22 @@ QPEL_FUNCS_SET (OP, 3, 2, OPT)
#endif /* HAVE_YASM */
#if HAVE_MMX_INLINE
-static void put_rv40_qpel8_mc33_mmx(uint8_t *dst, uint8_t *src,
+static void put_rv40_qpel8_mc33_mmx(uint8_t *dst, const uint8_t *src,
ptrdiff_t stride)
{
ff_put_pixels8_xy2_mmx(dst, src, stride, 8);
}
-static void put_rv40_qpel16_mc33_mmx(uint8_t *dst, uint8_t *src,
+static void put_rv40_qpel16_mc33_mmx(uint8_t *dst, const uint8_t *src,
ptrdiff_t stride)
{
ff_put_pixels16_xy2_mmx(dst, src, stride, 16);
}
-static void avg_rv40_qpel8_mc33_mmx(uint8_t *dst, uint8_t *src,
+static void avg_rv40_qpel8_mc33_mmx(uint8_t *dst, const uint8_t *src,
ptrdiff_t stride)
{
ff_avg_pixels8_xy2_mmx(dst, src, stride, 8);
}
-static void avg_rv40_qpel16_mc33_mmx(uint8_t *dst, uint8_t *src,
+static void avg_rv40_qpel16_mc33_mmx(uint8_t *dst, const uint8_t *src,
ptrdiff_t stride)
{
ff_avg_pixels16_xy2_mmx(dst, src, stride, 16);