/third_party/astc-encoder/Source/ |
H A D | astcenc_weight_align.cpp | 79 sin_table[j][i] = static_cast<float>(sinf((2.0f * astc::PI / (SINCOS_STEPS - 1.0f)) * angle_step * static_cast<float>(j))); in prepare_angular_tables() 80 cos_table[j][i] = static_cast<float>(cosf((2.0f * astc::PI / (SINCOS_STEPS - 1.0f)) * angle_step * static_cast<float>(j))); in prepare_angular_tables() 114 vfloat mult = vfloat(1.0f / (2.0f * astc::PI)); in compute_angular_offsets() 423 bsi = astc::max(0, bsi); in compute_angular_endpoints_for_quant_levels()
|
H A D | astcenc_vecmathlib.h | 230 vfloat z = change_sign(vfloat(astc::PI_OVER_TWO), x); in atan() 243 return change_sign(select_msb(z, vfloat(astc::PI) - z, xmask), y); in atan2() 450 // see https://github.com/ARM-software/astc-encoder/issues/259 560 namespace astc
|
H A D | astcenccli_image_load_store.cpp | 1177 unsigned int dim_y = astc::max(hdr.pixel_height, 1u); in load_ktx_uncompressed_image() 1178 unsigned int dim_z = astc::max(hdr.pixel_depth, 1u); in load_ktx_uncompressed_image() 2486 unsigned int block_x = astc::max(static_cast<unsigned int>(hdr.block_x), 1u); in load_cimage() 2487 unsigned int block_y = astc::max(static_cast<unsigned int>(hdr.block_y), 1u); in load_cimage() 2488 unsigned int block_z = astc::max(static_cast<unsigned int>(hdr.block_z), 1u); in load_cimage()
|
H A D | astcenc_partition_tables.cpp | 371 unsigned int texels_to_process = astc::min(bsd.texel_count, BLOCK_MAX_KMEANS_TEXELS); in generate_one_partition_info_entry()
|
H A D | astcenc_internal.h | 2225 size_t min_align = astc::max(alignof(T), sizeof(void*)); in aligned_malloc() 2226 size_t real_align = astc::max(min_align, align); in aligned_malloc() 2294 printf("astc dll FreeLibrary failed: %s\n", g_astcCustomizedSo); in ~AstcCustomizedSoManager() 2313 printf("astc customized dll(%s) is not found!\n", g_astcCustomizedSo); in LoadSutCustomizedSo() 2319 printf("astc libAstcCustomizedEnc LoadLibrary failed!\n"); in LoadSutCustomizedSo() 2327 printf("astc isCustomizedBlockModeFunc_ GetProcAddress failed!\n"); in LoadSutCustomizedSo() 2330 printf("astc isCustomizedBlockModeFunc_ FreeLibrary failed!\n"); in LoadSutCustomizedSo() 2339 printf("astc customizedMaxPartitionsFunc_ GetProcAddress failed!\n"); in LoadSutCustomizedSo() 2342 printf("astc customizedMaxPartitionsFunc_ FreeLibrary failed!\n"); in LoadSutCustomizedSo() 2351 printf("astc customizedBlockModeFunc in LoadSutCustomizedSo() [all...] |
H A D | astcenccli_toplevel.cpp | 314 * @brief Load a non-astc image file from memory. 322 * @return The astc image file, or nullptr on error. 1560 size_t end_row = astc::min(start_row + image.block_y, static_cast<size_t>(image.dim_y)); 1561 size_t end_col = astc::min(start_col + image.block_x, static_cast<size_t>(image.dim_x)); 1928 printf("astc psnr r%f g%f b%f a%f rgb%f\n", 1999 if (ends_with(input_filename, ".astc")) 2113 if (!(is_null || ends_with(output_filename, ".astc") || ends_with(output_filename, ".ktx"))) 2276 best_compression_time = astc::min(iter_time, best_compression_time); 2343 best_decompression_time = astc::min(iter_time, best_decompression_time); 2373 if (ends_with(output_filename, ".astc")) [all...] |
H A D | astcenc_symbolic_physical.cpp | 252 low_class = astc::min(class_of_format, low_class); in symbolic_to_physical()
|
H A D | astcenc_averages_and_directions.cpp | 835 line_lengths[partition] = astc::max(uncor_linelen, 1e-7f); in compute_error_squared_rgba() 941 pl.line_length = astc::max(uncor_linelen, 1e-7f);
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuAstcUtil.hpp | 33 namespace astc namespace 77 } // astc
|
H A D | tcuAstcUtil.cpp | 33 namespace astc namespace 3028 case tcu::astc::BLOCK_TEST_TYPE_VOID_EXTENT_HDR: return Vec4(0.5f/65504.0f); 3029 case tcu::astc::BLOCK_TEST_TYPE_ENDPOINT_VALUE_HDR_NO_15: return Vec4(1.0f/65504.0f, 1.0f/65504.0f, 1.0f/65504.0f, 1.0f); 3030 case tcu::astc::BLOCK_TEST_TYPE_ENDPOINT_VALUE_HDR_15: return Vec4(1.0f/65504.0f); 3039 case tcu::astc::BLOCK_TEST_TYPE_VOID_EXTENT_HDR: return Vec4(0.5f); 3044 } // astc
|
H A D | tcuCompressedTexture.cpp | 40 return astc::BLOCK_SIZE_BYTES; in getBlockSize() 2465 astc::decompress(dst, src, format, params.astcMode); in decompressBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
H A D | astc_mathlib.h | 58 namespace astc namespace
|
H A D | astc_image_load_store.cpp | 28 if (astc::isnan(p) || p <= 1.0f / 67108864.0f) in float_to_lns()
|
/third_party/astc-encoder/Source/UnitTest/ |
H A D | test_simd.cpp | 1033 EXPECT_NEAR(r.lane<0>(), 1.0f / astc::sqrt(30.0f), 0.0005f); in TEST() 1034 EXPECT_NEAR(r.lane<1>(), 2.0f / astc::sqrt(30.0f), 0.0005f); in TEST() 1035 EXPECT_NEAR(r.lane<2>(), 3.0f / astc::sqrt(30.0f), 0.0005f); in TEST() 1036 EXPECT_NEAR(r.lane<3>(), 4.0f / astc::sqrt(30.0f), 0.0005f); in TEST() 1046 EXPECT_NEAR(r1.lane<0>(), 1.0f / astc::sqrt(30.0f), 0.0005f); in TEST() 1047 EXPECT_NEAR(r1.lane<1>(), 2.0f / astc::sqrt(30.0f), 0.0005f); in TEST() 1048 EXPECT_NEAR(r1.lane<2>(), 3.0f / astc::sqrt(30.0f), 0.0005f); in TEST() 1049 EXPECT_NEAR(r1.lane<3>(), 4.0f / astc::sqrt(30.0f), 0.0005f); in TEST()
|
/third_party/rust/crates/regex/regex-syntax/src/ast/ |
H A D | parse.rs | 952 self.parse_with_comments().map(|astc| astc.ast) in parse() 2660 let astc = parser(pat).parse_with_comments().unwrap(); in parse_comments() 2662 astc.ast, in parse_comments() 2677 astc.comments, in parse_comments()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageAstcDecodeModeTests.cpp | 215 tcu::astc::generateRandomValidBlocks(generatedData.data(), in iterate() 453 // special case for e5b9g9r9 decode mode that was set on unorm astc formats in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageAstcDecodeModeTests.cpp | 215 tcu::astc::generateRandomValidBlocks(generatedData.data(), in iterate() 455 // special case for e5b9g9r9 decode mode that was set on unorm astc formats in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineImageUtil.cpp | 1011 tcu::astc::generateRandomValidBlocks(compressedData, compressedLevel->getDataSize()/tcu::astc::BLOCK_SIZE_BYTES, in populateCompressedLevels()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineImageUtil.cpp | 1001 tcu::astc::generateRandomValidBlocks(compressedData, compressedLevel->getDataSize()/tcu::astc::BLOCK_SIZE_BYTES, in populateCompressedLevels()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_device.c | 624 .textureCompressionASTC_LDR = PVR_HAS_FEATURE(&pdevice->dev_info, astc), in pvr_GetPhysicalDeviceFeatures2()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiCopiesAndBlittingTests.cpp | 3510 tcu::astc::generateRandomValidBlocks(compressedData, compressedDataSize / tcu::astc::BLOCK_SIZE_BYTES, in CompressedTextureForBlit() 14810 // astc formats have diferent block sizes and thus require diferent resolutions for images 14982 // most of tests are using regions caluculated for 64x64 size but astc formats require custom regions 14988 // and make source and destination the same size - this is needed for astc formats
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiCopiesAndBlittingTests.cpp | 3068 tcu::astc::generateRandomValidBlocks(compressedData, compressedDataSize / tcu::astc::BLOCK_SIZE_BYTES, in CompressedTextureForBlit() 12974 // astc formats have diferent block sizes and thus require diferent resolutions for images 13133 // most of tests are using regions caluculated for 64x64 size but astc formats require custom regions in addBlittingImageAllFormatsColorTests() 13139 // and make source and destination the same size - this is needed for astc formats in addBlittingImageAllFormatsColorTests()
|