Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_scale/generic/
Dbicubic_scaler.c286 float phase_offset; in bicubic_coefficient_setup() local
414 phase_offset = (float)((i * d_w) % g_nw) / (float)g_nw; in bicubic_coefficient_setup()
415 g_c_w[i * 4] = (C3(phase_offset) * 4096.0); in bicubic_coefficient_setup()
416 g_c_w[i * 4 + 1] = (C2(phase_offset) * 4096.0); in bicubic_coefficient_setup()
417 g_c_w[i * 4 + 2] = (C1(phase_offset) * 4096.0); in bicubic_coefficient_setup()
418 g_c_w[i * 4 + 3] = (C0(phase_offset) * 4096.0); in bicubic_coefficient_setup()
422 phase_offset = (float)((i * d_h) % g_nh) / (float)g_nh; in bicubic_coefficient_setup()
423 g_c_h[i * 4] = (C0(phase_offset) * 4096.0); in bicubic_coefficient_setup()
424 g_c_h[i * 4 + 1] = (C1(phase_offset) * 4096.0); in bicubic_coefficient_setup()
425 g_c_h[i * 4 + 2] = (C2(phase_offset) * 4096.0); in bicubic_coefficient_setup()
[all …]