Home
last modified time | relevance | path

Searched refs:bsd (Results 1 – 14 of 14) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_partition_tables.cpp258 block_size_descriptor& bsd, in generate_one_partition_info_entry() argument
264 int texels_per_block = bsd.texel_count; in generate_one_partition_info_entry()
272 for (unsigned int z = 0; z < bsd.zdim; z++) in generate_one_partition_info_entry()
274 for (unsigned int y = 0; y < bsd.ydim; y++) in generate_one_partition_info_entry()
276 for (unsigned int x = 0; x < bsd.xdim; x++) in generate_one_partition_info_entry()
325 bitmaps = bsd.coverage_bitmaps_2[partition_remap_index]; in generate_one_partition_info_entry()
329 bitmaps = bsd.coverage_bitmaps_3[partition_remap_index]; in generate_one_partition_info_entry()
333 bitmaps = bsd.coverage_bitmaps_4[partition_remap_index]; in generate_one_partition_info_entry()
352 unsigned int texels_to_process = astc::min(bsd.texel_count, BLOCK_MAX_KMEANS_TEXELS); in generate_one_partition_info_entry()
355 unsigned int idx = bsd.kmeans_texels[i]; in generate_one_partition_info_entry()
[all …]
Dastcenc_block_sizes.cpp715 block_size_descriptor& bsd in assign_kmeans_texels() argument
718 if (bsd.texel_count <= BLOCK_MAX_KMEANS_TEXELS) in assign_kmeans_texels()
720 for (uint8_t i = 0; i < bsd.texel_count; i++) in assign_kmeans_texels()
722 bsd.kmeans_texels[i] = i; in assign_kmeans_texels()
734 for (uint8_t i = 0; i < bsd.texel_count; i++) in assign_kmeans_texels()
744 texel = texel % bsd.texel_count; in assign_kmeans_texels()
747 bsd.kmeans_texels[arr_elements_set++] = texel; in assign_kmeans_texels()
769 block_size_descriptor& bsd, in construct_dt_entry_2d() argument
778 decimation_info& di = bsd.decimation_tables[index]; in construct_dt_entry_2d()
803 bsd.decimation_modes[index].maxprec_1plane = static_cast<int8_t>(maxprec_1plane); in construct_dt_entry_2d()
[all …]
Dastcenc_compress_symbolic.cpp71 const block_size_descriptor& bsd, in realign_weights_undecimated() argument
77 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in realign_weights_undecimated()
80 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in realign_weights_undecimated()
126 promise(bsd.texel_count > 0); in realign_weights_undecimated()
127 for (unsigned int texel = 0; texel < bsd.texel_count; texel++) in realign_weights_undecimated()
191 const block_size_descriptor& bsd, in realign_weights_decimated() argument
197 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in realign_weights_decimated()
200 const block_mode& bm = bsd.get_block_mode(scb.block_mode); in realign_weights_decimated()
205 const decimation_info& di = bsd.get_decimation_info(bm.decimation_mode); in realign_weights_decimated()
207 assert(weight_count != bsd.texel_count); in realign_weights_decimated()
[all …]
Dastcenc_decompress_symbolic.cpp96 const block_size_descriptor& bsd, in unpack_weights() argument
115 for (unsigned int i = 0; i < bsd.texel_count; i += ASTCENC_SIMD_WIDTH) in unpack_weights()
148 for (unsigned int i = 0; i < bsd.texel_count; i += ASTCENC_SIMD_WIDTH) in unpack_weights()
189 const block_size_descriptor& bsd, in decompress_symbolic_block() argument
208 for (unsigned int i = 0; i < bsd.texel_count; i++) in decompress_symbolic_block()
260 for (unsigned int i = 0; i < bsd.texel_count; i++) in decompress_symbolic_block()
275 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in decompress_symbolic_block()
278 const auto& bm = bsd.get_block_mode(scb.block_mode); in decompress_symbolic_block()
279 const auto& di = bsd.get_decimation_info(bm.decimation_mode); in decompress_symbolic_block()
286 unpack_weights(bsd, scb, di, is_dual_plane, plane1_weights, plane2_weights); in decompress_symbolic_block()
[all …]
Dastcenc_find_best_partitioning.cpp359 const block_size_descriptor& bsd, in count_partition_mismatch_bits() argument
364 unsigned int active_count = bsd.partitioning_count_selected[partition_count - 1]; in count_partition_mismatch_bits()
370 mismatch_counts[i] = partition_mismatch2(bitmaps, bsd.coverage_bitmaps_2[i]); in count_partition_mismatch_bits()
377 mismatch_counts[i] = partition_mismatch3(bitmaps, bsd.coverage_bitmaps_3[i]); in count_partition_mismatch_bits()
384 mismatch_counts[i] = partition_mismatch4(bitmaps, bsd.coverage_bitmaps_4[i]); in count_partition_mismatch_bits()
445 const block_size_descriptor& bsd, in compute_kmeans_partition_ordering() argument
458 kmeans_init(blk, bsd.texel_count, partition_count, cluster_centers); in compute_kmeans_partition_ordering()
462 kmeans_update(blk, bsd.texel_count, partition_count, cluster_centers, texel_partitions); in compute_kmeans_partition_ordering()
465 kmeans_assign(blk, bsd.texel_count, partition_count, cluster_centers, texel_partitions); in compute_kmeans_partition_ordering()
470 unsigned int texels_to_process = astc::min(bsd.texel_count, BLOCK_MAX_KMEANS_TEXELS); in compute_kmeans_partition_ordering()
[all …]
Dastcenc_weight_align.cpp339 const block_size_descriptor& bsd, in compute_angular_endpoints_1plane() argument
350 unsigned int max_decimation_modes = only_always ? bsd.decimation_mode_count_always in compute_angular_endpoints_1plane()
351 : bsd.decimation_mode_count_selected; in compute_angular_endpoints_1plane()
355 const decimation_mode& dm = bsd.decimation_modes[i]; in compute_angular_endpoints_1plane()
361 unsigned int weight_count = bsd.get_decimation_info(i).weight_count; in compute_angular_endpoints_1plane()
380 unsigned int max_block_modes = only_always ? bsd.block_mode_count_1plane_always in compute_angular_endpoints_1plane()
381 : bsd.block_mode_count_1plane_selected; in compute_angular_endpoints_1plane()
385 const block_mode& bm = bsd.block_modes[i]; in compute_angular_endpoints_1plane()
406 const block_size_descriptor& bsd, in compute_angular_endpoints_2planes() argument
421 promise(bsd.decimation_mode_count_selected > 0); in compute_angular_endpoints_2planes()
[all …]
Dastcenc_image.cpp155 const block_size_descriptor& bsd, in load_image_block() argument
177 vfloat4 data_mean_scale(1.0f / static_cast<float>(bsd.texel_count)); in load_image_block()
211 for (unsigned int z = 0; z < bsd.zdim; z++) in load_image_block()
216 for (unsigned int y = 0; y < bsd.ydim; y++) in load_image_block()
220 for (unsigned int x = 0; x < bsd.xdim; x++) in load_image_block()
272 const block_size_descriptor& bsd, in load_image_block_fast_ldr() argument
295 for (unsigned int y = ypos; y < ypos + bsd.ydim; y++) in load_image_block_fast_ldr()
299 for (unsigned int x = xpos; x < xpos + bsd.xdim; x++) in load_image_block_fast_ldr()
329 blk.data_mean = data_mean / static_cast<float>(bsd.texel_count); in load_image_block_fast_ldr()
338 const block_size_descriptor& bsd, in store_image_block() argument
[all …]
Dastcenc_internal.h1210 block_size_descriptor* bsd; member
1265 block_size_descriptor& bsd);
1278 block_size_descriptor& bsd,
1541 const block_size_descriptor& bsd,
1601 const block_size_descriptor& bsd,
1626 const block_size_descriptor& bsd,
1646 const block_size_descriptor& bsd,
1686 const block_size_descriptor& bsd,
1837 const block_size_descriptor& bsd,
1923 const block_size_descriptor& bsd,
[all …]
Dastcenc_entry.cpp762 ctx->bsd = aligned_malloc<block_size_descriptor>(sizeof(block_size_descriptor), ASTCENC_VECALIGN); in astcenc_context_alloc()
768 *ctx->bsd); in astcenc_context_alloc()
790 aligned_free<block_size_descriptor>(ctx->bsd); in astcenc_context_alloc()
827 aligned_free<block_size_descriptor>(ctx->bsd); in astcenc_context_free()
854 const block_size_descriptor& bsd = *ctx.bsd; in compress_image() local
859 int block_x = bsd.xdim; in compress_image()
860 int block_y = bsd.ydim; in compress_image()
861 int block_z = bsd.zdim; in compress_image()
962 load_func(decode_mode, image, blk, bsd, x * block_x, y * block_y, z * block_z, swizzle); in compress_image()
1259 physical_to_symbolic(*ctx->bsd, pcb, scb); in astcenc_decompress_image()
[all …]
Dastcenc_symbolic_physical.cpp100 const block_size_descriptor& bsd, in symbolic_to_physical() argument
150 const auto& bm = bsd.get_block_mode(scb.block_mode); in symbolic_to_physical()
151 const auto& di = bsd.get_decimation_info(bm.decimation_mode); in symbolic_to_physical()
285 const block_size_descriptor& bsd, in physical_to_symbolic() argument
316 if (bsd.zdim == 1) in physical_to_symbolic()
361 unsigned int packed_index = bsd.block_mode_packed_index[block_mode]; in physical_to_symbolic()
368 const auto& bm = bsd.get_block_mode(block_mode); in physical_to_symbolic()
369 const auto& di = bsd.get_decimation_info(bm.decimation_mode); in physical_to_symbolic()
Dastcenc_ideal_endpoints_and_weights.cpp631 const block_size_descriptor& bsd, in compute_ideal_colors_and_weights_2planes() argument
637 const auto& pi = bsd.get_partition_info(1, 0); in compute_ideal_colors_and_weights_2planes()
1380 const block_size_descriptor& bsd, in recompute_ideal_colors_2planes() argument
1451 unsigned int texel_count = bsd.texel_count; in recompute_ideal_colors_2planes()
/hardware/google/gfxstream/
D.gitignore26 /*-bsd-user
/hardware/interfaces/tv/tuner/assets/
Dtuner_frontend_input.ts670 …�� ����A�@��E�-WU�����q �\B����.!q �\B� �aܴ)����n#�x����`8\p `��Нzi��,�m����bsd�/͇�
Dtuner_frontend_input.es925 …�� ����A�@��E�-WU�����q �\B����.!q �\B� �aܴ)����n#�x����`8\p `��Нzi��,�m����bsd�/͇�