/dports/emulators/mess/mame-mame0226/3rdparty/bimg/3rdparty/astc/ |
H A D | astc_find_best_partitioning.cpp | 175 error_weightings[i] = float4(1e-12f, 1e-12f, 1e-12f, 1e-12f); in compute_partition_error_color_weightings() 179 error_weightings[part] = error_weightings[part] + ewb->error_weights[i]; in compute_partition_error_color_weightings() 183 error_weightings[i] = error_weightings[i] * (1.0f / pi->texels_per_partition[i]); in compute_partition_error_color_weightings() 187 color_scalefactors[i].x = sqrt(error_weightings[i].x); in compute_partition_error_color_weightings() 188 color_scalefactors[i].y = sqrt(error_weightings[i].y); in compute_partition_error_color_weightings() 189 color_scalefactors[i].z = sqrt(error_weightings[i].z); in compute_partition_error_color_weightings() 190 color_scalefactors[i].w = sqrt(error_weightings[i].w); in compute_partition_error_color_weightings() 314 float4 error_weightings[4]; in find_best_partitionings() local 488 float4 error_weights = error_weightings[j] * (tpp * weight_imprecision_estim_squared); in find_best_partitionings() 589 float4 error_weightings[4]; in find_best_partitionings() local [all …]
|
H A D | astc_pick_best_endpoint_format.cpp | 36 const endpoints * ep, float4 error_weightings[4], in compute_color_error_for_every_integer_count_and_quantization_level() 80 float4 error_weight = error_weightings[partition_index]; in compute_color_error_for_every_integer_count_and_quantization_level() 759 float4 error_weightings[4]; in determine_optimal_set_of_endpoint_formats_to_use() local 761 …compute_partition_error_color_weightings(xdim, ydim, zdim, ewb, pt, error_weightings, dummied_colo… in determine_optimal_set_of_endpoint_formats_to_use() 767 …ation_level(encode_hdr_rgb, encode_hdr_alpha, i, pt, &(eci[i]), ep, error_weightings, best_error[i… in determine_optimal_set_of_endpoint_formats_to_use()
|
H A D | astc_encoding_choice_error.cpp | 133 float4 error_weightings[4]; in compute_encoding_choice_errors() local 137 …compute_partition_error_color_weightings(xdim, ydim, zdim, ewb, pi, error_weightings, color_scalef… in compute_encoding_choice_errors()
|
H A D | astc_ideal_endpoints_and_weights.cpp | 179 float4 error_weightings[4]; in compute_endpoints_and_ideal_weights_2_components() local 199 …compute_partition_error_color_weightings(xdim, ydim, zdim, ewb, pt, error_weightings, color_scalef… in compute_endpoints_and_ideal_weights_2_components() 424 float4 error_weightings[4]; in compute_endpoints_and_ideal_weights_3_components() local 446 …compute_partition_error_color_weightings(xdim, ydim, zdim, ewb, pt, error_weightings, color_scalef… in compute_endpoints_and_ideal_weights_3_components() 727 float4 error_weightings[4]; in compute_endpoints_and_ideal_weights_rgba() local 733 …compute_partition_error_color_weightings(xdim, ydim, zdim, ewb, pt, error_weightings, color_scalef… in compute_endpoints_and_ideal_weights_rgba()
|
H A D | astc_codec_internals.h | 509 …, const error_weight_block * ewb, const partition_info * pi, float4 error_weightings[4], float4 co…
|
/dports/emulators/mame/mame-mame0226/3rdparty/bimg/3rdparty/astc/ |
H A D | astc_find_best_partitioning.cpp | 175 error_weightings[i] = float4(1e-12f, 1e-12f, 1e-12f, 1e-12f); in compute_partition_error_color_weightings() 179 error_weightings[part] = error_weightings[part] + ewb->error_weights[i]; in compute_partition_error_color_weightings() 183 error_weightings[i] = error_weightings[i] * (1.0f / pi->texels_per_partition[i]); in compute_partition_error_color_weightings() 187 color_scalefactors[i].x = sqrt(error_weightings[i].x); in compute_partition_error_color_weightings() 188 color_scalefactors[i].y = sqrt(error_weightings[i].y); in compute_partition_error_color_weightings() 189 color_scalefactors[i].z = sqrt(error_weightings[i].z); in compute_partition_error_color_weightings() 190 color_scalefactors[i].w = sqrt(error_weightings[i].w); in compute_partition_error_color_weightings() 314 float4 error_weightings[4]; in find_best_partitionings() local 488 float4 error_weights = error_weightings[j] * (tpp * weight_imprecision_estim_squared); in find_best_partitionings() 589 float4 error_weightings[4]; in find_best_partitionings() local [all …]
|
H A D | astc_pick_best_endpoint_format.cpp | 36 const endpoints * ep, float4 error_weightings[4], in compute_color_error_for_every_integer_count_and_quantization_level() 80 float4 error_weight = error_weightings[partition_index]; in compute_color_error_for_every_integer_count_and_quantization_level() 759 float4 error_weightings[4]; in determine_optimal_set_of_endpoint_formats_to_use() local 761 …compute_partition_error_color_weightings(xdim, ydim, zdim, ewb, pt, error_weightings, dummied_colo… in determine_optimal_set_of_endpoint_formats_to_use() 767 …ation_level(encode_hdr_rgb, encode_hdr_alpha, i, pt, &(eci[i]), ep, error_weightings, best_error[i… in determine_optimal_set_of_endpoint_formats_to_use()
|
H A D | astc_encoding_choice_error.cpp | 133 float4 error_weightings[4]; in compute_encoding_choice_errors() local 137 …compute_partition_error_color_weightings(xdim, ydim, zdim, ewb, pi, error_weightings, color_scalef… in compute_encoding_choice_errors()
|
H A D | astc_ideal_endpoints_and_weights.cpp | 179 float4 error_weightings[4]; in compute_endpoints_and_ideal_weights_2_components() local 199 …compute_partition_error_color_weightings(xdim, ydim, zdim, ewb, pt, error_weightings, color_scalef… in compute_endpoints_and_ideal_weights_2_components() 424 float4 error_weightings[4]; in compute_endpoints_and_ideal_weights_3_components() local 446 …compute_partition_error_color_weightings(xdim, ydim, zdim, ewb, pt, error_weightings, color_scalef… in compute_endpoints_and_ideal_weights_3_components() 727 float4 error_weightings[4]; in compute_endpoints_and_ideal_weights_rgba() local 733 …compute_partition_error_color_weightings(xdim, ydim, zdim, ewb, pt, error_weightings, color_scalef… in compute_endpoints_and_ideal_weights_rgba()
|
H A D | astc_codec_internals.h | 509 …, const error_weight_block * ewb, const partition_info * pi, float4 error_weightings[4], float4 co…
|