Home
last modified time | relevance | path

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

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_image.cpp148 float* data32 = static_cast<float*>(img->data[z]); in determine_image_components() local
154 float r = data32[(4 * dim_x * y) + (4 * x )]; in determine_image_components()
155 float g = data32[(4 * dim_x * y) + (4 * x + 1)]; in determine_image_components()
156 float b = data32[(4 * dim_x * y) + (4 * x + 2)]; in determine_image_components()
157 float a = data32[(4 * dim_x * y) + (4 * x + 3)]; in determine_image_components()
284 float* data32 = static_cast<float*>(img->data[0]); in floatx4_array_from_astc_img() local
292 dst[4 * x ] = data32[(4 * dim_x * ymod) + (4 * x )]; in floatx4_array_from_astc_img()
293 dst[4 * x + 1] = data32[(4 * dim_x * ymod) + (4 * x + 1)]; in floatx4_array_from_astc_img()
294 dst[4 * x + 2] = data32[(4 * dim_x * ymod) + (4 * x + 2)]; in floatx4_array_from_astc_img()
295 dst[4 * x + 3] = data32[(4 * dim_x * ymod) + (4 * x + 3)]; in floatx4_array_from_astc_img()
[all …]
Dastcenccli_error_metrics.cpp185 float* data32 = static_cast<float*>(img1->data[z]); in compute_error_metrics() local
188 data32[(4 * xsize1 * y) + (4 * x )], in compute_error_metrics()
189 data32[(4 * xsize1 * y) + (4 * x + 1)], in compute_error_metrics()
190 data32[(4 * xsize1 * y) + (4 * x + 2)], in compute_error_metrics()
191 data32[(4 * xsize1 * y) + (4 * x + 3)]); in compute_error_metrics()
224 float* data32 = static_cast<float*>(img2->data[z]); in compute_error_metrics() local
227 data32[(4 * xsize2 * y) + (4 * x )], in compute_error_metrics()
228 data32[(4 * xsize2 * y) + (4 * x + 1)], in compute_error_metrics()
229 data32[(4 * xsize2 * y) + (4 * x + 2)], in compute_error_metrics()
230 data32[(4 * xsize2 * y) + (4 * x + 3)]); in compute_error_metrics()
Dastcenc_compute_variance.cpp248 float* data32 = static_cast<float*>(img->data[z_src]); in compute_pixel_region_variance() local
260 data[0] = data32[(4 * img->dim_x * y_src) + (4 * x_src )]; in compute_pixel_region_variance()
261 data[1] = data32[(4 * img->dim_x * y_src) + (4 * x_src + 1)]; in compute_pixel_region_variance()
262 data[2] = data32[(4 * img->dim_x * y_src) + (4 * x_src + 2)]; in compute_pixel_region_variance()
263 data[3] = data32[(4 * img->dim_x * y_src) + (4 * x_src + 3)]; in compute_pixel_region_variance()
Dastcenc_image.cpp84 const float* data32 = static_cast<const float*>(data); in load_texel_f32() local
85 return vfloat4(data32 + base_offset); in load_texel_f32()
513 float* data32 = static_cast<float*>(img.data[z]); in store_image_block() local
517 float* data32_row = data32 + (4 * x_size * y) + (4 * x_start); in store_image_block()
Dastcenccli_toplevel.cpp383 float* data32 = static_cast<float*>(image->data[z]); in load_uncomp_file() local
386 memcpy(data32, data32src, copy_size); in load_uncomp_file()