Lines Matching refs:src
115 static av_always_inline void lift(DWTELEM *dst, DWTELEM *src, DWTELEM *ref,
125 #define LIFT(src, ref, inv) ((src) + ((inv) ? -(ref) : +(ref)))
127 dst[0] = LIFT(src[0], ((mul * 2 * ref[0] + add) >> shift), inverse);
129 src += src_step;
133 dst[i * dst_step] = LIFT(src[i * src_step],
140 dst[w * dst_step] = LIFT(src[w * src_step],
145 static av_always_inline void liftS(DWTELEM *dst, DWTELEM *src, DWTELEM *ref,
156 #define LIFTS(src, ref, inv) \
157 ((inv) ? (src) + (((ref) + 4 * (src)) >> shift) \
158 : -((-16 * (src) + (ref) + add / \
161 dst[0] = LIFTS(src[0], mul * 2 * ref[0] + add, inverse);
163 src += src_step;
167 dst[i * dst_step] = LIFTS(src[i * src_step],
173 dst[w * dst_step] = LIFTS(src[w * src_step],