Searched refs:y_src (Results 1 – 3 of 3) sorted by relevance
169 int y_src = (y - 1) + offset_y - kernel_radius_xy; in compute_pixel_region_variance() local170 y_src = astc::clamp(y_src, 0, static_cast<int>(img->dim_y - 1)); in compute_pixel_region_variance()177 data[0] = data8[(4 * img->dim_x * y_src) + (4 * x_src )]; in compute_pixel_region_variance()178 data[1] = data8[(4 * img->dim_x * y_src) + (4 * x_src + 1)]; in compute_pixel_region_variance()179 data[2] = data8[(4 * img->dim_x * y_src) + (4 * x_src + 2)]; in compute_pixel_region_variance()180 data[3] = data8[(4 * img->dim_x * y_src) + (4 * x_src + 3)]; in compute_pixel_region_variance()213 int y_src = (y - 1) + offset_y - kernel_radius_xy; in compute_pixel_region_variance() local214 y_src = astc::clamp(y_src, 0, static_cast<int>(img->dim_y - 1)); in compute_pixel_region_variance()221 data[0] = data16[(4 * img->dim_x * y_src) + (4 * x_src )]; in compute_pixel_region_variance()222 data[1] = data16[(4 * img->dim_x * y_src) + (4 * x_src + 1)]; in compute_pixel_region_variance()[all …]
182 unsigned int y_src = y_flip ? (dim_y - y - 1) : y; in astc_img_from_floatx4_array() local183 const float* src = data + 4 * dim_x * y_src; in astc_img_from_floatx4_array()216 unsigned int y_src = y_flip ? (dim_y - y - 1) : y; in astc_img_from_unorm8x4_array() local217 const uint8_t* src = data + 4 * dim_x * y_src; in astc_img_from_unorm8x4_array()
128 unsigned char *y_src,205 unsigned char *y_src,