summaryrefslogtreecommitdiff
path: root/libavcodec/diracdsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-15 22:12:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-15 22:12:02 +0100
commit1bc85fb32dddf01792ae0850aa9a52d4a5737adb (patch)
tree4f32841327de76ffbc7c7e503962afff9b0f1424 /libavcodec/diracdsp.c
parentae76c1af16e52e1c69172c471094bf35b4dca5e0 (diff)
dirac: mark some variables const.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/diracdsp.c')
-rw-r--r--libavcodec/diracdsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/diracdsp.c b/libavcodec/diracdsp.c
index 6cf75d8ff6..429241dd86 100644
--- a/libavcodec/diracdsp.c
+++ b/libavcodec/diracdsp.c
@@ -28,7 +28,7 @@
+3*((src)[-2*stride] + (src)[3*stride]) \
-1*((src)[-3*stride] + (src)[4*stride]) + 16) >> 5)
-static void dirac_hpel_filter(uint8_t *dsth, uint8_t *dstv, uint8_t *dstc, uint8_t *src,
+static void dirac_hpel_filter(uint8_t *dsth, uint8_t *dstv, uint8_t *dstc, const uint8_t *src,
int stride, int width, int height)
{
int x, y;
@@ -98,7 +98,7 @@ PIXOP_BILINEAR(avg, OP_AVG, 32)
block += stride; \
} \
} \
- static void biweight_dirac_pixels ## W ## _c(uint8_t *dst, uint8_t *src, int stride, int log2_denom, \
+ static void biweight_dirac_pixels ## W ## _c(uint8_t *dst, const uint8_t *src, int stride, int log2_denom, \
int weightd, int weights, int h) { \
int x; \
while (h--) { \