qpeldsp: Mark source pointer in qpel_mc_func function pointer const

This commit is contained in:
Diego Biurrun
2014-07-24 16:19:45 -07:00
parent 060e4a9e06
commit 7fb993d338
15 changed files with 451 additions and 392 deletions

View File

@@ -26,8 +26,10 @@
#include "libavutil/arm/cpu.h"
#define DECL_QPEL3(type, w, pos) \
void ff_##type##_rv40_qpel##w##_mc##pos##_neon(uint8_t *dst, uint8_t *src,\
ptrdiff_t stride)
void ff_ ## type ## _rv40_qpel ## w ## _mc ## pos ## _neon(uint8_t *dst, \
const uint8_t *src, \
ptrdiff_t stride)
#define DECL_QPEL2(w, pos) \
DECL_QPEL3(put, w, pos); \
DECL_QPEL3(avg, w, pos)