Lines Matching defs:in_near
1998 stbi_uc *(*resample_row_hv_2_kernel)(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs);
3454 static stbi_uc *resample_row_1(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
3460 return in_near;
3463 static stbi_uc* stbi__resample_row_v_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
3469 out[i] = stbi__div4(3*in_near[i] + in_far[i] + 2);
3473 static stbi_uc* stbi__resample_row_h_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
3477 stbi_uc *input = in_near;
3503 static stbi_uc *stbi__resample_row_hv_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
3508 out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2);
3512 t1 = 3*in_near[0] + in_far[0];
3516 t1 = 3*in_near[i]+in_far[i];
3528 static stbi_uc *stbi__resample_row_hv_2_simd(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
3534 out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2);
3538 t1 = 3*in_near[0] + in_far[0];
3548 __m128i nearb = _mm_loadl_epi64((__m128i *) (in_near + i));
3563 __m128i next = _mm_insert_epi16(nxt0, 3*in_near[i+8] + in_far[i+8], 7);
3590 uint8x8_t nearb = vld1_u8(in_near + i);
3603 int16x8_t next = vsetq_lane_s16(3*in_near[i+8] + in_far[i+8], nxt0, 7);
3623 t1 = 3*in_near[i+7] + in_far[i+7];
3627 t1 = 3*in_near[i] + in_far[i];
3632 t1 = 3*in_near[i]+in_far[i];
3644 static stbi_uc *stbi__resample_row_generic(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
3651 out[i*hs+j] = in_near[i];