Home
last modified time | relevance | path

Searched refs:stbi_div4 (Results 1 – 1 of 1) sorted by relevance

/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/graphics/image/
H A Dstb_image.cpp1382 #define stbi_div4(x) ((uint8) ((x) >> 2)) macro
1399 out[i] = stbi_div4(3*in_near[i] + in_far[i] + 2); in resample_row_v_2()
1416 out[1] = stbi_div4(input[0]*3 + input[1] + 2); in resample_row_h_2()
1419 out[i*2+0] = stbi_div4(n+input[i-1]); in resample_row_h_2()
1420 out[i*2+1] = stbi_div4(n+input[i+1]); in resample_row_h_2()
1422 out[i*2+0] = stbi_div4(input[w-2]*3 + input[w-1] + 2); in resample_row_h_2()
1438 out[0] = out[1] = stbi_div4(3*in_near[0] + in_far[0] + 2); in resample_row_hv_2()
1443 out[0] = stbi_div4(t1+2); in resample_row_hv_2()
1450 out[w*2-1] = stbi_div4(t1+2); in resample_row_hv_2()