Lines Matching refs:dim_x
154 int ydt = img->dim_x; in compute_pixel_region_variance()
155 int zdt = img->dim_x * img->dim_y; in compute_pixel_region_variance()
183 x_src = astc::clamp(x_src, 0, static_cast<int>(img->dim_x - 1)); in compute_pixel_region_variance()
227 x_src = astc::clamp(x_src, 0, static_cast<int>(img->dim_x - 1)); in compute_pixel_region_variance()
229 data[0] = data16[(4 * img->dim_x * y_src) + (4 * x_src )]; in compute_pixel_region_variance()
230 data[1] = data16[(4 * img->dim_x * y_src) + (4 * x_src + 1)]; in compute_pixel_region_variance()
231 data[2] = data16[(4 * img->dim_x * y_src) + (4 * x_src + 2)]; in compute_pixel_region_variance()
232 data[3] = data16[(4 * img->dim_x * y_src) + (4 * x_src + 3)]; in compute_pixel_region_variance()
266 x_src = astc::clamp(x_src, 0, static_cast<int>(img->dim_x - 1)); in compute_pixel_region_variance()
268 data[0] = data32[(4 * img->dim_x * y_src) + (4 * x_src )]; in compute_pixel_region_variance()
269 data[1] = data32[(4 * img->dim_x * y_src) + (4 * x_src + 1)]; in compute_pixel_region_variance()
270 data[2] = data32[(4 * img->dim_x * y_src) + (4 * x_src + 2)]; in compute_pixel_region_variance()
271 data[3] = data32[(4 * img->dim_x * y_src) + (4 * x_src + 3)]; in compute_pixel_region_variance()
488 unsigned int size_x = img.dim_x; in init_compute_averages()