Lines Matching refs:input_shift
369 int input_shift) { in highbd_img_upshift() argument
371 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in highbd_img_upshift()
376 input_shift < 0) { in highbd_img_upshift()
399 for (x = 0; x < w; x++) *p_dst++ = (*p_src++ << input_shift) + offset; in highbd_img_upshift()
405 int input_shift) { in lowbd_img_upshift() argument
407 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in lowbd_img_upshift()
412 dst->fmt != src->fmt + VPX_IMG_FMT_HIGHBITDEPTH || input_shift < 0) { in lowbd_img_upshift()
435 *p_dst++ = (*p_src++ << input_shift) + offset; in lowbd_img_upshift()
441 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift) { in vpx_img_upshift() argument
443 highbd_img_upshift(dst, src, input_shift); in vpx_img_upshift()
445 lowbd_img_upshift(dst, src, input_shift); in vpx_img_upshift()