Lines Matching refs:outlength
139 static const interp_kernel *choose_interp_filter(int inlength, int outlength) { in choose_interp_filter() argument
140 int outlength16 = outlength * 16; in choose_interp_filter()
154 uint8_t *output, int outlength) { in interpolate() argument
156 (((uint64_t)inlength << 32) + outlength / 2) / outlength; in interpolate()
158 inlength > outlength in interpolate()
159 ? (((int64_t)(inlength - outlength) << 31) + outlength / 2) / in interpolate()
160 outlength in interpolate()
161 : -(((int64_t)(outlength - inlength) << 31) + outlength / 2) / in interpolate()
162 outlength; in interpolate()
168 choose_interp_filter(inlength, outlength); in interpolate()
177 x = outlength - 1; in interpolate()
186 for (x = 0, y = offset; x < outlength; ++x, y += delta) { in interpolate()
225 for (; x < outlength; ++x, y += delta) { in interpolate()
456 uint16_t *output, int outlength, int bd) { in highbd_interpolate() argument
458 (((uint64_t)inlength << 32) + outlength / 2) / outlength; in highbd_interpolate()
460 inlength > outlength in highbd_interpolate()
461 ? (((int64_t)(inlength - outlength) << 31) + outlength / 2) / in highbd_interpolate()
462 outlength in highbd_interpolate()
463 : -(((int64_t)(outlength - inlength) << 31) + outlength / 2) / in highbd_interpolate()
464 outlength; in highbd_interpolate()
470 choose_interp_filter(inlength, outlength); in highbd_interpolate()
479 x = outlength - 1; in highbd_interpolate()
488 for (x = 0, y = offset; x < outlength; ++x, y += delta) { in highbd_interpolate()
529 for (; x < outlength; ++x, y += delta) { in highbd_interpolate()