/third_party/astc-encoder/Source/ |
H A D | astcenccli_image_load_store.cpp | 51 if (img->dim_z <= 1) in get_output_filename() 171 for (unsigned int i = 0; i < img->dim_z; i++) in store_exr_image_with_tinyexr() 205 for (unsigned int i = 0; i < img->dim_z; i++) in store_png_image_with_stb() 239 for (unsigned int i = 0; i < img->dim_z; i++) in store_tga_image_with_stb() 273 for (unsigned int i = 0; i < img->dim_z; i++) in store_bmp_image_with_stb() 305 for (unsigned int i = 0; i < img->dim_z; i++) in store_hdr_image_with_stb() 1178 unsigned int dim_z = astc::max(hdr.pixel_depth, 1u); in load_ktx_uncompressed_image() local 1200 uint32_t computed_bytes_of_surface = dim_z * ystride; in load_ktx_uncompressed_image() 1233 astcenc_image *astc_img = alloc_image(bitness, dim_x, dim_y, dim_z); in load_ktx_uncompressed_image() 1235 for (unsigned int z = 0; z < dim_z; in load_ktx_uncompressed_image() 1450 unsigned int dim_z = img->dim_z; store_ktx_uncompressed_image() local 1822 unsigned int dim_z = (hdr.flags & 0x800000) ? hdr.depth : 1; load_dds_uncompressed_image() local 2057 unsigned int dim_z = img->dim_z; store_dds_uncompressed_image() local 2441 uint8_t dim_z[3]; // block count is inferred global() member 2492 unsigned int dim_z = unpack_bytes(hdr.dim_z[0], hdr.dim_z[1], hdr.dim_z[2], 0); load_cimage() local [all...] |
H A D | astcenccli_image.cpp | 32 unsigned int dim_z in alloc_image() 37 img->dim_z = dim_z; in alloc_image() 39 void** data = new void*[dim_z]; in alloc_image() 45 for (unsigned int z = 0; z < dim_z; z++) in alloc_image() 53 for (unsigned int z = 0; z < dim_z; z++) in alloc_image() 62 for (unsigned int z = 0; z < dim_z; z++) in alloc_image() 79 for (unsigned int z = 0; z < img->dim_z; z++) in free_image() 93 unsigned int dim_z = img->dim_z; in determine_image_components() local [all...] |
H A D | astcenccli_error_metrics.cpp | 131 unsigned int dim_z = astc::min(img1->dim_z, img2->dim_z); in compute_error_metrics() local 135 img1->dim_z != img2->dim_z) in compute_error_metrics() 140 img1->dim_x, img1->dim_y, img1->dim_z, in compute_error_metrics() 141 img2->dim_x, img2->dim_y, img2->dim_z); in compute_error_metrics() 148 for (unsigned int z = 0; z < dim_z; z++) in compute_error_metrics() 285 mean_angular_errorsum += error_degrees / (dim_x * dim_y * dim_z); in compute_error_metrics() 292 double pixels = static_cast<double>(dim_x * dim_y * dim_z); in compute_error_metrics() [all...] |
H A D | astcenccli_toplevel.cpp | 317 * @param dim_z The number of slices to load. 326 unsigned int dim_z, in load_uncomp_file() 334 if (dim_z == 1) in load_uncomp_file() 346 for (unsigned int image_index = 0; image_index < dim_z; image_index++) in load_uncomp_file() 366 if (slice->dim_z != 1) in load_uncomp_file() 383 (slices[0]->dim_z != slice->dim_z)) in load_uncomp_file() 397 if (slices.size() == dim_z) in load_uncomp_file() 404 image = alloc_image(bitness, dim_x, dim_y, dim_z); in load_uncomp_file() 407 for (unsigned int z = 0; z < dim_z; in load_uncomp_file() 324 load_uncomp_file( const char* filename, unsigned int dim_z, bool y_flip, bool& is_hdr, unsigned int& component_count ) load_uncomp_file() argument [all...] |
H A D | astcenccli_internal.h | 54 unsigned int dim_z; member 187 * @param dim_z The depth of the image, in texels. 195 unsigned int dim_z);
|
H A D | astcenc_compute_variance.cpp | 164 z_src = astc::clamp(z_src, 0, static_cast<int>(img->dim_z - 1)); in compute_pixel_region_variance() 208 z_src = astc::clamp(z_src, 0, static_cast<int>(img->dim_z - 1)); in compute_pixel_region_variance() 247 z_src = astc::clamp(z_src, 0, static_cast<int>(img->dim_z - 1)); in compute_pixel_region_variance() 431 unsigned int size_z = img.dim_z; in init_compute_averages()
|
H A D | astcenc_entry.cpp | 852 int dim_z = image.dim_z; in compress_image() local 856 int zblocks = (dim_z + block_z - 1) / block_z; in compress_image() 1107 unsigned int zblocks = (image.dim_z + block_z - 1) / block_z; in astcenc_compress_image() 1128 size_t texel_count = image.dim_x * image.dim_y * image.dim_z; in astcenc_compress_image() 1216 unsigned int zblocks = (image_out.dim_z + block_z - 1) / block_z; in astcenc_decompress_image()
|
H A D | astcenc.h | 645 unsigned int dim_z; member 650 /** @brief The array of 2D slices, of length @c dim_z. */
|
H A D | astcenc_image.cpp | 163 unsigned int zsize = img.dim_z; in load_image_block() 356 unsigned int z_size = img.dim_z; in store_image_block()
|
/third_party/astc-encoder/Source/UnitTest/ |
H A D | test_decode.cpp | 61 image.dim_z = 1; in TEST()
|
/third_party/astc-encoder/Utils/Example/ |
H A D | astc_api_example.cpp | 112 image.dim_z = 1; in main()
|