Searched refs:dim_z (Results 1 – 10 of 10) sorted by relevance
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenccli_image_load_store.cpp | 1085 unsigned int dim_z = astc::max(hdr.pixel_depth, 1u); in load_ktx_uncompressed_image() local 1107 uint32_t computed_bytes_of_surface = dim_z * ystride; in load_ktx_uncompressed_image() 1140 astcenc_image *astc_img = alloc_image(bitness, dim_x, dim_y, dim_z); in load_ktx_uncompressed_image() 1142 for (unsigned int z = 0; z < dim_z; z++) in load_ktx_uncompressed_image() 1276 img.dim_z = hdr.pixel_depth == 0 ? 1 : hdr.pixel_depth; in load_ktx_compressed_image() 1313 hdr.pixel_depth = (img.dim_z == 1) ? 0 : img.dim_z; in store_ktx_compressed_image() 1357 unsigned int dim_z = img->dim_z; in store_ktx_uncompressed_image() local 1392 hdr.pixel_depth = (dim_z == 1) ? 0 : dim_z; in store_ktx_uncompressed_image() 1403 row_pointers8 = new uint8_t **[dim_z]; in store_ktx_uncompressed_image() 1404 row_pointers8[0] = new uint8_t *[dim_y * dim_z]; in store_ktx_uncompressed_image() [all …]
|
D | astcenccli_image.cpp | 32 unsigned int dim_z in alloc_image() argument 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 101 for (unsigned int z = 0; z < dim_z; z++) in determine_image_components() 122 for (unsigned int z = 0; z < dim_z; z++) in determine_image_components() [all …]
|
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()
|
D | astcenccli_toplevel.cpp | 283 unsigned int dim_z, in load_uncomp_file() argument 291 if (dim_z == 1) in load_uncomp_file() 303 for (unsigned int image_index = 0; image_index < dim_z; image_index++) in load_uncomp_file() 323 if (slice->dim_z != 1) in load_uncomp_file() 340 (slices[0]->dim_z != slice->dim_z)) in load_uncomp_file() 354 if (slices.size() == dim_z) in load_uncomp_file() 361 image = alloc_image(bitness, dim_x, dim_y, dim_z); in load_uncomp_file() 364 for (unsigned int z = 0; z < dim_z; z++) in load_uncomp_file() 1260 assert(z < img.dim_z); in image_get_pixel() 1319 assert(z < img.dim_z); in image_set_pixel() [all …]
|
D | astcenccli_internal.h | 54 unsigned int dim_z; member 175 unsigned int dim_z);
|
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()
|
D | astcenc.h | 584 unsigned int dim_z; member
|
D | astcenc_entry.cpp | 866 int dim_z = image.dim_z; in compress_image() local 870 int zblocks = (dim_z + block_z - 1) / block_z; in compress_image() 1104 unsigned int zblocks = (image.dim_z + block_z - 1) / block_z; in astcenc_compress_image() 1125 size_t texel_count = image.dim_x * image.dim_y * image.dim_z; in astcenc_compress_image() 1211 unsigned int zblocks = (image_out.dim_z + block_z - 1) / block_z; in astcenc_decompress_image()
|
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()
|
/hardware/google/gfxstream/host/compressedTextureFormats/ |
D | AstcCpuDecompressorImpl.cpp | 239 .dim_z = 1, in decompress()
|