Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/
H A Dstb_image.h3229 #define stbi__div4(x) ((stbi_uc) ((x) >> 2)) macro
3246 out[i] = stbi__div4(3*in_near[i] + in_far[i] + 2); in stbi__resample_row_v_2()
3263 out[1] = stbi__div4(input[0]*3 + input[1] + 2); in stbi__resample_row_h_2()
3266 out[i*2+0] = stbi__div4(n+input[i-1]); in stbi__resample_row_h_2()
3267 out[i*2+1] = stbi__div4(n+input[i+1]); in stbi__resample_row_h_2()
3269 out[i*2+0] = stbi__div4(input[w-2]*3 + input[w-1] + 2); in stbi__resample_row_h_2()
3285 out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2); in stbi__resample_row_hv_2()
3290 out[0] = stbi__div4(t1+2); in stbi__resample_row_hv_2()
3297 out[w*2-1] = stbi__div4(t1+2); in stbi__resample_row_hv_2()
3311 out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2); in stbi__resample_row_hv_2_simd()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/
H A Dstb_image.h3229 #define stbi__div4(x) ((stbi_uc) ((x) >> 2)) macro
3246 out[i] = stbi__div4(3*in_near[i] + in_far[i] + 2); in stbi__resample_row_v_2()
3263 out[1] = stbi__div4(input[0]*3 + input[1] + 2); in stbi__resample_row_h_2()
3266 out[i*2+0] = stbi__div4(n+input[i-1]); in stbi__resample_row_h_2()
3267 out[i*2+1] = stbi__div4(n+input[i+1]); in stbi__resample_row_h_2()
3269 out[i*2+0] = stbi__div4(input[w-2]*3 + input[w-1] + 2); in stbi__resample_row_h_2()
3285 out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2); in stbi__resample_row_hv_2()
3290 out[0] = stbi__div4(t1+2); in stbi__resample_row_hv_2()
3297 out[w*2-1] = stbi__div4(t1+2); in stbi__resample_row_hv_2()
3311 out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2); in stbi__resample_row_hv_2_simd()
[all …]