Lines Matching defs:bsd
155 const block_size_descriptor& bsd,
177 vfloat4 data_mean_scale(1.0f / static_cast<float>(bsd.texel_count));
211 for (unsigned int z = 0; z < bsd.zdim; z++)
216 for (unsigned int y = 0; y < bsd.ydim; y++)
220 for (unsigned int x = 0; x < bsd.xdim; x++)
272 const block_size_descriptor& bsd,
295 for (unsigned int y = ypos; y < ypos + bsd.ydim; y++)
299 for (unsigned int x = xpos; x < xpos + bsd.xdim; x++)
329 blk.data_mean = data_mean / static_cast<float>(bsd.texel_count);
338 const block_size_descriptor& bsd,
346 unsigned int x_end = astc::min(x_size, xpos + bsd.xdim);
348 unsigned int x_nudge = bsd.xdim - x_count;
352 unsigned int y_end = astc::min(y_size, ypos + bsd.ydim);
354 unsigned int y_nudge = (bsd.ydim - y_count) * bsd.xdim;
358 unsigned int z_end = astc::min(z_size, zpos + bsd.zdim);