Searched refs:power_of_2 (Results 1 – 6 of 6) sorted by relevance
74 Integer power_of_2 = 1; in log2_ceil() local76 while(power_of_2 < A){ in log2_ceil()77 power_of_2 <<= 1; in log2_ceil()86 Integer power_of_2 = 1; in upper_power_of_2() local88 while(power_of_2 < A){ in upper_power_of_2()89 power_of_2 <<= 1; in upper_power_of_2()91 return power_of_2; in upper_power_of_2()
77 Integer power_of_2 = 1; in log2_ceil() local79 while(power_of_2 < A){ in log2_ceil()80 power_of_2 <<= 1; in log2_ceil()89 Integer power_of_2 = 1; in upper_power_of_2() local91 while(power_of_2 < A){ in upper_power_of_2()92 power_of_2 <<= 1; in upper_power_of_2()94 return power_of_2; in upper_power_of_2()
565 gulong power_of_2; in old_mem_chunk_compute_size() local568 power_of_2 = 16; in old_mem_chunk_compute_size()569 while (power_of_2 < size) in old_mem_chunk_compute_size()570 power_of_2 <<= 1; in old_mem_chunk_compute_size()572 lower = power_of_2 >> 1; in old_mem_chunk_compute_size()573 upper = power_of_2; in old_mem_chunk_compute_size()
700 unsigned power_of_2 = 1; in opengl_get_texture_size() local701 while (power_of_2 < max) in opengl_get_texture_size()702 power_of_2 *= 2; in opengl_get_texture_size()703 *out_height = power_of_2; in opengl_get_texture_size()704 *out_width = power_of_2; in opengl_get_texture_size()
434 power_of_2(int input) in power_of_2() function516 texture_w = power_of_2(texture->w); in GLES_CreateTexture()517 texture_h = power_of_2(texture->h); in GLES_CreateTexture()
599 power_of_2(int input) in power_of_2() function732 texture_w = power_of_2(texture->w); in GL_CreateTexture()733 texture_h = power_of_2(texture->h); in GL_CreateTexture()