Searched refs:ymod (Results 1 – 2 of 2) sorted by relevance
247 unsigned int ymod = y_flip ? dim_y - y - 1 : y; in floatx4_array_from_astc_img() local252 dst[4 * x ] = data8[(4 * dim_x * ymod) + (4 * x )] * (1.0f / 255.0f); in floatx4_array_from_astc_img()253 dst[4 * x + 1] = data8[(4 * dim_x * ymod) + (4 * x + 1)] * (1.0f / 255.0f); in floatx4_array_from_astc_img()254 dst[4 * x + 2] = data8[(4 * dim_x * ymod) + (4 * x + 2)] * (1.0f / 255.0f); in floatx4_array_from_astc_img()255 dst[4 * x + 3] = data8[(4 * dim_x * ymod) + (4 * x + 3)] * (1.0f / 255.0f); in floatx4_array_from_astc_img()264 unsigned int ymod = y_flip ? dim_y - y - 1 : y; in floatx4_array_from_astc_img() local270 data16[(4 * dim_x * ymod) + (4 * x )], in floatx4_array_from_astc_img()271 data16[(4 * dim_x * ymod) + (4 * x + 1)], in floatx4_array_from_astc_img()272 data16[(4 * dim_x * ymod) + (4 * x + 2)], in floatx4_array_from_astc_img()273 data16[(4 * dim_x * ymod) + (4 * x + 3)] in floatx4_array_from_astc_img()[all …]
1146 unsigned int ymod = y_flip ? dim_y - y - 1 : y; in load_ktx_uncompressed_image() local1147 unsigned int ydst = ymod; in load_ktx_uncompressed_image()1921 unsigned int ymod = y_flip ? dim_y - y - 1 : y; in load_dds_uncompressed_image() local1922 unsigned int ydst = ymod; in load_dds_uncompressed_image()