diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-07-24 16:19:45 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-07-25 02:52:54 -0700 |
commit | 7fb993d338d88f2f62e0a358b6c9f3eb9a3a08ac (patch) | |
tree | 637a6395cb082b1097a6c4eeef45a7dc03024394 /libavcodec/qpeldsp.c | |
parent | 060e4a9e0627adcda9101dd68ec7f22b4ce22b5b (diff) | |
download | ffmpeg-7fb993d338d88f2f62e0a358b6c9f3eb9a3a08ac.tar.gz |
qpeldsp: Mark source pointer in qpel_mc_func function pointer const
Diffstat (limited to 'libavcodec/qpeldsp.c')
-rw-r--r-- | libavcodec/qpeldsp.c | 102 |
1 files changed, 52 insertions, 50 deletions
diff --git a/libavcodec/qpeldsp.c b/libavcodec/qpeldsp.c index d5afac783c..1d0422a382 100644 --- a/libavcodec/qpeldsp.c +++ b/libavcodec/qpeldsp.c @@ -37,7 +37,7 @@ #include "qpel_template.c" #define QPEL_MC(r, OPNAME, RND, OP) \ -static void OPNAME ## mpeg4_qpel8_h_lowpass(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## mpeg4_qpel8_h_lowpass(uint8_t *dst, const uint8_t *src, \ int dstStride, int srcStride, \ int h) \ { \ @@ -58,7 +58,7 @@ static void OPNAME ## mpeg4_qpel8_h_lowpass(uint8_t *dst, uint8_t *src, \ } \ } \ \ -static void OPNAME ## mpeg4_qpel8_v_lowpass(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## mpeg4_qpel8_v_lowpass(uint8_t *dst, const uint8_t *src, \ int dstStride, int srcStride) \ { \ const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP; \ @@ -88,7 +88,8 @@ static void OPNAME ## mpeg4_qpel8_v_lowpass(uint8_t *dst, uint8_t *src, \ } \ } \ \ -static void OPNAME ## mpeg4_qpel16_h_lowpass(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## mpeg4_qpel16_h_lowpass(uint8_t *dst, \ + const uint8_t *src, \ int dstStride, int srcStride, \ int h) \ { \ @@ -117,7 +118,8 @@ static void OPNAME ## mpeg4_qpel16_h_lowpass(uint8_t *dst, uint8_t *src, \ } \ } \ \ -static void OPNAME ## mpeg4_qpel16_v_lowpass(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## mpeg4_qpel16_v_lowpass(uint8_t *dst, \ + const uint8_t *src, \ int dstStride, int srcStride) \ { \ const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP; \ @@ -163,7 +165,7 @@ static void OPNAME ## mpeg4_qpel16_v_lowpass(uint8_t *dst, uint8_t *src, \ } \ } \ \ -static void OPNAME ## qpel8_mc10_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc10_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t half[64]; \ @@ -172,13 +174,13 @@ static void OPNAME ## qpel8_mc10_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, src, half, stride, stride, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc20_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc20_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ OPNAME ## mpeg4_qpel8_h_lowpass(dst, src, stride, stride, 8); \ } \ \ -static void OPNAME ## qpel8_mc30_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc30_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t half[64]; \ @@ -187,7 +189,7 @@ static void OPNAME ## qpel8_mc30_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, src + 1, half, stride, stride, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc01_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc01_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -198,7 +200,7 @@ static void OPNAME ## qpel8_mc01_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, full, half, stride, 16, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc02_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc02_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -207,7 +209,7 @@ static void OPNAME ## qpel8_mc02_c(uint8_t *dst, uint8_t *src, \ OPNAME ## mpeg4_qpel8_v_lowpass(dst, full, stride, 16); \ } \ \ -static void OPNAME ## qpel8_mc03_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc03_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -218,7 +220,7 @@ static void OPNAME ## qpel8_mc03_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, full + 16, half, stride, 16, 8, 8); \ } \ \ -void ff_ ## OPNAME ## qpel8_mc11_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel8_mc11_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -234,7 +236,7 @@ void ff_ ## OPNAME ## qpel8_mc11_old_c(uint8_t *dst, uint8_t *src, \ stride, 16, 8, 8, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc11_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc11_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -248,7 +250,7 @@ static void OPNAME ## qpel8_mc11_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, halfH, halfHV, stride, 8, 8, 8); \ } \ \ -void ff_ ## OPNAME ## qpel8_mc31_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel8_mc31_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -264,7 +266,7 @@ void ff_ ## OPNAME ## qpel8_mc31_old_c(uint8_t *dst, uint8_t *src, \ stride, 16, 8, 8, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc31_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc31_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -278,7 +280,7 @@ static void OPNAME ## qpel8_mc31_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, halfH, halfHV, stride, 8, 8, 8); \ } \ \ -void ff_ ## OPNAME ## qpel8_mc13_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel8_mc13_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -294,7 +296,7 @@ void ff_ ## OPNAME ## qpel8_mc13_old_c(uint8_t *dst, uint8_t *src, \ stride, 16, 8, 8, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc13_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc13_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -308,7 +310,7 @@ static void OPNAME ## qpel8_mc13_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, halfH + 8, halfHV, stride, 8, 8, 8); \ } \ \ -void ff_ ## OPNAME ## qpel8_mc33_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel8_mc33_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -324,7 +326,7 @@ void ff_ ## OPNAME ## qpel8_mc33_old_c(uint8_t *dst, uint8_t *src, \ stride, 16, 8, 8, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc33_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc33_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -338,7 +340,7 @@ static void OPNAME ## qpel8_mc33_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, halfH + 8, halfHV, stride, 8, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc21_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc21_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t halfH[72]; \ @@ -349,7 +351,7 @@ static void OPNAME ## qpel8_mc21_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, halfH, halfHV, stride, 8, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc23_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc23_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t halfH[72]; \ @@ -360,7 +362,7 @@ static void OPNAME ## qpel8_mc23_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, halfH + 8, halfHV, stride, 8, 8, 8); \ } \ \ -void ff_ ## OPNAME ## qpel8_mc12_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel8_mc12_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -375,7 +377,7 @@ void ff_ ## OPNAME ## qpel8_mc12_old_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, halfV, halfHV, stride, 8, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc12_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc12_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -387,7 +389,7 @@ static void OPNAME ## qpel8_mc12_c(uint8_t *dst, uint8_t *src, \ OPNAME ## mpeg4_qpel8_v_lowpass(dst, halfH, stride, 8); \ } \ \ -void ff_ ## OPNAME ## qpel8_mc32_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel8_mc32_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -402,7 +404,7 @@ void ff_ ## OPNAME ## qpel8_mc32_old_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels8_l2_8(dst, halfV, halfHV, stride, 8, 8, 8); \ } \ \ -static void OPNAME ## qpel8_mc32_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc32_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[16 * 9]; \ @@ -414,7 +416,7 @@ static void OPNAME ## qpel8_mc32_c(uint8_t *dst, uint8_t *src, \ OPNAME ## mpeg4_qpel8_v_lowpass(dst, halfH, stride, 8); \ } \ \ -static void OPNAME ## qpel8_mc22_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel8_mc22_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t halfH[72]; \ @@ -423,7 +425,7 @@ static void OPNAME ## qpel8_mc22_c(uint8_t *dst, uint8_t *src, \ OPNAME ## mpeg4_qpel8_v_lowpass(dst, halfH, stride, 8); \ } \ \ -static void OPNAME ## qpel16_mc10_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc10_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t half[256]; \ @@ -432,13 +434,13 @@ static void OPNAME ## qpel16_mc10_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, src, half, stride, stride, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc20_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc20_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ OPNAME ## mpeg4_qpel16_h_lowpass(dst, src, stride, stride, 16); \ } \ \ -static void OPNAME ## qpel16_mc30_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc30_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t half[256]; \ @@ -447,7 +449,7 @@ static void OPNAME ## qpel16_mc30_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, src + 1, half, stride, stride, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc01_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc01_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -458,7 +460,7 @@ static void OPNAME ## qpel16_mc01_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, full, half, stride, 24, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc02_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc02_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -467,7 +469,7 @@ static void OPNAME ## qpel16_mc02_c(uint8_t *dst, uint8_t *src, \ OPNAME ## mpeg4_qpel16_v_lowpass(dst, full, stride, 24); \ } \ \ -static void OPNAME ## qpel16_mc03_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc03_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -478,7 +480,7 @@ static void OPNAME ## qpel16_mc03_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, full + 24, half, stride, 24, 16, 16); \ } \ \ -void ff_ ## OPNAME ## qpel16_mc11_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel16_mc11_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -494,7 +496,7 @@ void ff_ ## OPNAME ## qpel16_mc11_old_c(uint8_t *dst, uint8_t *src, \ stride, 24, 16, 16, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc11_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc11_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -508,7 +510,7 @@ static void OPNAME ## qpel16_mc11_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, halfH, halfHV, stride, 16, 16, 16); \ } \ \ -void ff_ ## OPNAME ## qpel16_mc31_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel16_mc31_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -524,7 +526,7 @@ void ff_ ## OPNAME ## qpel16_mc31_old_c(uint8_t *dst, uint8_t *src, \ stride, 24, 16, 16, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc31_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc31_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -538,7 +540,7 @@ static void OPNAME ## qpel16_mc31_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, halfH, halfHV, stride, 16, 16, 16); \ } \ \ -void ff_ ## OPNAME ## qpel16_mc13_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel16_mc13_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -554,7 +556,7 @@ void ff_ ## OPNAME ## qpel16_mc13_old_c(uint8_t *dst, uint8_t *src, \ stride, 24, 16, 16, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc13_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc13_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -568,7 +570,7 @@ static void OPNAME ## qpel16_mc13_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, halfH + 16, halfHV, stride, 16, 16, 16); \ } \ \ -void ff_ ## OPNAME ## qpel16_mc33_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel16_mc33_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -584,7 +586,7 @@ void ff_ ## OPNAME ## qpel16_mc33_old_c(uint8_t *dst, uint8_t *src, \ stride, 24, 16, 16, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc33_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc33_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -598,7 +600,7 @@ static void OPNAME ## qpel16_mc33_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, halfH + 16, halfHV, stride, 16, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc21_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc21_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t halfH[272]; \ @@ -609,7 +611,7 @@ static void OPNAME ## qpel16_mc21_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, halfH, halfHV, stride, 16, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc23_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc23_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t halfH[272]; \ @@ -620,7 +622,7 @@ static void OPNAME ## qpel16_mc23_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, halfH + 16, halfHV, stride, 16, 16, 16); \ } \ \ -void ff_ ## OPNAME ## qpel16_mc12_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel16_mc12_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -635,7 +637,7 @@ void ff_ ## OPNAME ## qpel16_mc12_old_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, halfV, halfHV, stride, 16, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc12_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc12_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -647,7 +649,7 @@ static void OPNAME ## qpel16_mc12_c(uint8_t *dst, uint8_t *src, \ OPNAME ## mpeg4_qpel16_v_lowpass(dst, halfH, stride, 16); \ } \ \ -void ff_ ## OPNAME ## qpel16_mc32_old_c(uint8_t *dst, uint8_t *src, \ +void ff_ ## OPNAME ## qpel16_mc32_old_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -662,7 +664,7 @@ void ff_ ## OPNAME ## qpel16_mc32_old_c(uint8_t *dst, uint8_t *src, \ OPNAME ## pixels16_l2_8(dst, halfV, halfHV, stride, 16, 16, 16); \ } \ \ -static void OPNAME ## qpel16_mc32_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc32_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t full[24 * 17]; \ @@ -674,7 +676,7 @@ static void OPNAME ## qpel16_mc32_c(uint8_t *dst, uint8_t *src, \ OPNAME ## mpeg4_qpel16_v_lowpass(dst, halfH, stride, 16); \ } \ \ -static void OPNAME ## qpel16_mc22_c(uint8_t *dst, uint8_t *src, \ +static void OPNAME ## qpel16_mc22_c(uint8_t *dst, const uint8_t *src, \ ptrdiff_t stride) \ { \ uint8_t halfH[272]; \ @@ -695,22 +697,22 @@ QPEL_MC(0, avg_, _, op_avg) #undef op_put #undef op_put_no_rnd -void ff_put_pixels8x8_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride) +void ff_put_pixels8x8_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride) { put_pixels8_8_c(dst, src, stride, 8); } -void ff_avg_pixels8x8_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride) +void ff_avg_pixels8x8_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride) { avg_pixels8_8_c(dst, src, stride, 8); } -void ff_put_pixels16x16_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride) +void ff_put_pixels16x16_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride) { put_pixels16_8_c(dst, src, stride, 16); } -void ff_avg_pixels16x16_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride) +void ff_avg_pixels16x16_c(uint8_t *dst, const uint8_t *src, ptrdiff_t stride) { avg_pixels16_8_c(dst, src, stride, 16); } |