Home
last modified time | relevance | path

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

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_image.cpp247 unsigned int ymod = y_flip ? dim_y - y - 1 : y; in floatx4_array_from_astc_img() local
252 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() local
270 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 …]
Dastcenccli_image_load_store.cpp1146 unsigned int ymod = y_flip ? dim_y - y - 1 : y; in load_ktx_uncompressed_image() local
1147 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() local
1922 unsigned int ydst = ymod; in load_dds_uncompressed_image()