Lines Matching refs:slice
284 * @brief Utility to generate a slice file name from a pattern.
286 * Convert "foo/bar.png" in to "foo/bar_<slice>.png"
289 * @param index The slice index.
292 * @return The slice file name.
342 astcenc_image* slice = nullptr;
356 slice = load_ncimage(slice_name.c_str(), y_flip,
358 if (!slice)
363 slices.push_back(slice);
366 if (slice->dim_z != 1)
381 if ((slices[0]->dim_x != slice->dim_x) ||
382 (slices[0]->dim_y != slice->dim_y) ||
383 (slices[0]->dim_z != slice->dim_z))