Lines Matching refs:input_shift
272 int input_shift) { in highbd_img_upshift() argument
274 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in highbd_img_upshift()
279 input_shift < 0) { in highbd_img_upshift()
302 for (x = 0; x < w; x++) *p_dst++ = (*p_src++ << input_shift) + offset; in highbd_img_upshift()
308 int input_shift) { in lowbd_img_upshift() argument
310 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in lowbd_img_upshift()
315 dst->fmt != src->fmt + VPX_IMG_FMT_HIGHBITDEPTH || input_shift < 0) { in lowbd_img_upshift()
338 *p_dst++ = (*p_src++ << input_shift) + offset; in lowbd_img_upshift()
344 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift) { in vpx_img_upshift() argument
346 highbd_img_upshift(dst, src, input_shift); in vpx_img_upshift()
348 lowbd_img_upshift(dst, src, input_shift); in vpx_img_upshift()