Mercurial > libavcodec.hg
comparison dsputil.c @ 5151:8c273ff9ca03 libavcodec
kill some "defined but not used" warnings
author | mru |
---|---|
date | Sat, 16 Jun 2007 11:44:57 +0000 |
parents | 447fb0fdf6e1 |
children | 470601203f44 |
comparison
equal
deleted
inserted
replaced
5150:447fb0fdf6e1 | 5151:8c273ff9ca03 |
---|---|
2018 #undef op_put | 2018 #undef op_put |
2019 #undef op_put_no_rnd | 2019 #undef op_put_no_rnd |
2020 | 2020 |
2021 #if 1 | 2021 #if 1 |
2022 #define H264_LOWPASS(OPNAME, OP, OP2) \ | 2022 #define H264_LOWPASS(OPNAME, OP, OP2) \ |
2023 static void OPNAME ## h264_qpel2_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\ | 2023 static av_unused void OPNAME ## h264_qpel2_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\ |
2024 const int h=2;\ | 2024 const int h=2;\ |
2025 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ | 2025 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ |
2026 int i;\ | 2026 int i;\ |
2027 for(i=0; i<h; i++)\ | 2027 for(i=0; i<h; i++)\ |
2028 {\ | 2028 {\ |
2031 dst+=dstStride;\ | 2031 dst+=dstStride;\ |
2032 src+=srcStride;\ | 2032 src+=srcStride;\ |
2033 }\ | 2033 }\ |
2034 }\ | 2034 }\ |
2035 \ | 2035 \ |
2036 static void OPNAME ## h264_qpel2_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\ | 2036 static av_unused void OPNAME ## h264_qpel2_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride){\ |
2037 const int w=2;\ | 2037 const int w=2;\ |
2038 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ | 2038 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ |
2039 int i;\ | 2039 int i;\ |
2040 for(i=0; i<w; i++)\ | 2040 for(i=0; i<w; i++)\ |
2041 {\ | 2041 {\ |
2051 dst++;\ | 2051 dst++;\ |
2052 src++;\ | 2052 src++;\ |
2053 }\ | 2053 }\ |
2054 }\ | 2054 }\ |
2055 \ | 2055 \ |
2056 static void OPNAME ## h264_qpel2_hv_lowpass(uint8_t *dst, int16_t *tmp, uint8_t *src, int dstStride, int tmpStride, int srcStride){\ | 2056 static av_unused void OPNAME ## h264_qpel2_hv_lowpass(uint8_t *dst, int16_t *tmp, uint8_t *src, int dstStride, int tmpStride, int srcStride){\ |
2057 const int h=2;\ | 2057 const int h=2;\ |
2058 const int w=2;\ | 2058 const int w=2;\ |
2059 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ | 2059 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ |
2060 int i;\ | 2060 int i;\ |
2061 src -= 2*srcStride;\ | 2061 src -= 2*srcStride;\ |