Lines Matching refs:ref_buf
777 const int16_t *ref_buf, \
785 for (i = 0; i < size; i++, buf += dpitch, ref_buf += pitch) { \
787 OP(buf[j], ref_buf[j]); \
792 for (i = 0; i < size; i++, buf += dpitch, ref_buf += pitch) \
794 OP(buf[j], (ref_buf[j] + ref_buf[j+1]) >> 1); \
797 wptr = ref_buf + pitch; \
798 for (i = 0; i < size; i++, buf += dpitch, wptr += pitch, ref_buf += pitch) \
800 OP(buf[j], (ref_buf[j] + wptr[j]) >> 1); \
803 wptr = ref_buf + pitch; \
804 for (i = 0; i < size; i++, buf += dpitch, wptr += pitch, ref_buf += pitch) \
806 OP(buf[j], (ref_buf[j] + ref_buf[j+1] + wptr[j] + wptr[j+1]) >> 2); \
811 void ff_ivi_mc_ ## size ##x## size ## suffix(int16_t *buf, const int16_t *ref_buf, \
814 ivi_mc_ ## size ##x## size ## suffix(buf, pitch, ref_buf, pitch, mc_type); \
819 const int16_t *ref_buf, \
827 ivi_mc_ ## size ##x## size ## _no_delta(tmp, size, ref_buf, pitch, mc_type); \