/third_party/astc-encoder/Source/ |
D | astcenc_partition_tables.cpp | 128 int partition_count, in select_partition() argument 139 seed += (partition_count - 1) * 1024; in select_partition() 174 sh2 = (partition_count == 3 ? 6 : 5); in select_partition() 178 sh1 = (partition_count == 3 ? 6 : 5); in select_partition() 210 if (partition_count <= 3) in select_partition() 215 if (partition_count <= 2) in select_partition() 220 if (partition_count <= 1) in select_partition() 259 unsigned int partition_count, in generate_one_partition_info_entry() argument 278 uint8_t part = select_partition(partition_index, x, y, z, partition_count, small_block); in generate_one_partition_info_entry() 286 for (unsigned int i = 0; i < partition_count; i++) in generate_one_partition_info_entry() [all …]
|
D | astcenc_symbolic_physical.cpp | 166 unsigned int partition_count = scb.partition_count; in symbolic_to_physical() local 203 write_bits(partition_count - 1, 2, 11, pcb.data); in symbolic_to_physical() 208 if (partition_count > 1) in symbolic_to_physical() 222 for (unsigned int i = 0; i < partition_count; i++) in symbolic_to_physical() 236 for (unsigned int i = 0; i < partition_count; i++) in symbolic_to_physical() 243 for (unsigned int i = 0; i < partition_count; i++) in symbolic_to_physical() 252 int encoded_type_highpart_size = (3 * partition_count) - 4; in symbolic_to_physical() 273 for (unsigned int i = 0; i < scb.partition_count; i++) in symbolic_to_physical() 285 scb.partition_count == 1 ? 17 : 19 + PARTITION_INDEX_BITS); in symbolic_to_physical() 314 scb.partition_count = 0; in physical_to_symbolic() [all …]
|
D | astcenc_find_best_partitioning.cpp | 62 unsigned int partition_count, in kmeans_init() argument 66 promise(partition_count > 0); in kmeans_init() 95 unsigned int cutoff = (clusters_selected - 1) + 3 * (partition_count - 2); in kmeans_init() 117 if (clusters_selected >= partition_count) in kmeans_init() 148 unsigned int partition_count, in kmeans_assign() argument 153 promise(partition_count > 0); in kmeans_assign() 164 for (unsigned int j = 0; j < partition_count; j++) in kmeans_assign() 187 for (unsigned int i = 0; i < partition_count; i++) in kmeans_assign() 212 unsigned int partition_count, in kmeans_update() argument 217 promise(partition_count > 0); in kmeans_update() [all …]
|
D | astcenc_compress_symbolic.cpp | 43 unsigned int partition_count = ep_plane1.partition_count; in merge_endpoints() local 44 assert(partition_count == 1); in merge_endpoints() 48 result.partition_count = partition_count; in merge_endpoints() 76 unsigned int partition_count = scb.partition_count; in realign_weights_undecimated() local 77 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in realign_weights_undecimated() 96 promise(partition_count > 0); in realign_weights_undecimated() 98 for (unsigned int pa_idx = 0; pa_idx < partition_count; pa_idx++) in realign_weights_undecimated() 115 for (unsigned int pa_idx = 0; pa_idx < partition_count; pa_idx++) in realign_weights_undecimated() 198 unsigned int partition_count = scb.partition_count; in realign_weights_decimated() local 199 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in realign_weights_decimated() [all …]
|
D | astcenc_averages_and_directions.cpp | 52 unsigned int partition_count = pi.partition_count; in compute_partition_averages_rgb() local 57 if (partition_count == 1) in compute_partition_averages_rgb() 62 else if (partition_count == 2) in compute_partition_averages_rgb() 98 else if (partition_count == 3) in compute_partition_averages_rgb() 223 unsigned int partition_count = pi.partition_count; in compute_partition_averages_rgba() local 228 if (partition_count == 1) in compute_partition_averages_rgba() 233 else if (partition_count == 2) in compute_partition_averages_rgba() 273 else if (partition_count == 3) in compute_partition_averages_rgba() 395 int partition_count = pi.partition_count; in compute_avgs_and_dirs_4_comp() local 396 promise(partition_count > 0); in compute_avgs_and_dirs_4_comp() [all …]
|
D | astcenc_internal.h | 510 uint16_t partition_count; member 836 const partition_info* get_partition_table(unsigned int partition_count) const in get_partition_table() 838 if (partition_count == 1) in get_partition_table() 840 partition_count = 5; in get_partition_table() 842 unsigned int index = (partition_count - 2) * BLOCK_MAX_PARTITIONINGS; in get_partition_table() 854 const partition_info& get_partition_info(unsigned int partition_count, unsigned int index) const in get_partition_info() 857 if (partition_count >= 2) in get_partition_info() 859 packed_index = this->partitioning_packed_index[partition_count - 2][index]; in get_partition_info() 862 …dex != BLOCK_BAD_PARTITIONING && packed_index < this->partitioning_count_all[partition_count - 1]); in get_partition_info() 863 auto& result = get_partition_table(partition_count)[packed_index]; in get_partition_info() [all …]
|
D | astcenc_decompress_symbolic.cpp | 273 int partition_count = scb.partition_count; in decompress_symbolic_block() local 274 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in decompress_symbolic_block() 291 for (int i = 0; i < partition_count; i++) in decompress_symbolic_block() 340 assert(scb.partition_count == 1); in compute_symbolic_block_difference_2plane() 437 unsigned int partition_count = scb.partition_count; in compute_symbolic_block_difference_1plane() local 438 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in compute_symbolic_block_difference_1plane() 449 for (unsigned int i = 0; i < partition_count; i++) in compute_symbolic_block_difference_1plane() 530 assert(bsd.get_partition_info(scb.partition_count, scb.partition_index).partition_count == 1); in compute_symbolic_block_difference_1plane_1partition()
|
D | astcenc_ideal_endpoints_and_weights.cpp | 43 unsigned int partition_count = pi.partition_count; in compute_ideal_colors_and_weights_1_comp() local 44 ei.ep.partition_count = partition_count; in compute_ideal_colors_and_weights_1_comp() 45 promise(partition_count > 0); in compute_ideal_colors_and_weights_1_comp() 79 for (unsigned int i = 0; i < partition_count; i++) in compute_ideal_colors_and_weights_1_comp() 154 unsigned int partition_count = pi.partition_count; in compute_ideal_colors_and_weights_2_comp() local 155 ei.ep.partition_count = partition_count; in compute_ideal_colors_and_weights_2_comp() 156 promise(partition_count > 0); in compute_ideal_colors_and_weights_2_comp() 199 for (unsigned int i = 0; i < partition_count; i++) in compute_ideal_colors_and_weights_2_comp() 290 unsigned int partition_count = pi.partition_count; in compute_ideal_colors_and_weights_3_comp() local 291 ei.ep.partition_count = partition_count; in compute_ideal_colors_and_weights_3_comp() [all …]
|
D | astcenc_pick_best_endpoint_format.cpp | 228 int partition_count = pi.partition_count; in compute_encoding_choice_errors() local 229 promise(partition_count > 0); in compute_encoding_choice_errors() 235 for (int i = 0; i < partition_count; i++) in compute_encoding_choice_errors() 1136 int partition_count = pi.partition_count; in compute_ideal_endpoint_formats() local 1138 promise(partition_count > 0); in compute_ideal_endpoint_formats() 1150 for (int i = 0; i < partition_count; i++) in compute_ideal_endpoint_formats() 1187 if (partition_count == 1) in compute_ideal_endpoint_formats() 1214 else if (partition_count == 2) in compute_ideal_endpoint_formats() 1247 else if (partition_count == 3) in compute_ideal_endpoint_formats() 1282 assert(partition_count == 4); in compute_ideal_endpoint_formats() [all …]
|
D | astcenc_entry.cpp | 1235 int partition_count = scb.partition_count; in astcenc_get_block_info() 1236 const auto& pi = bsd.get_partition_info(partition_count, scb.partition_index); in astcenc_get_block_info() 1247 info->partition_count = scb.partition_count; in astcenc_get_block_info() 1255 for (unsigned int i = 0; i < scb.partition_count; i++) in astcenc_get_block_info()
|
D | astcenc.h | 627 unsigned int partition_count; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
D | astc_symbolic_physical.cpp | 72 res->partition_count = 0; in physical_to_symbolic() 127 int partition_count = read_bits(2, 11, pb.data) + 1; in physical_to_symbolic() local 130 res->partition_count = partition_count; in physical_to_symbolic() 155 if (is_dual_plane && partition_count == 4) in physical_to_symbolic() 163 if (partition_count == 1) in physical_to_symbolic() 170 encoded_type_highpart_size = (3 * partition_count) - 4; in physical_to_symbolic() 176 for (i = 0; i < partition_count; i++) in physical_to_symbolic() 188 for (i = 0; i < partition_count; i++) in physical_to_symbolic() 193 for (i = 0; i < partition_count; i++) in physical_to_symbolic() 202 for (i = 0; i < partition_count; i++) in physical_to_symbolic() [all …]
|
D | astc_codec_internals.h | 66 int partition_count; member 222 int partition_count; // 1 to 4; Zero marks a constant-color block. member 276 int partition_count in get_partition_table() argument 278 if (partition_count == 1) { in get_partition_table() 279 partition_count = 5; in get_partition_table() 281 int index = (partition_count - 2) * PARTITION_COUNT; in get_partition_table()
|
D | astc_partition_tables.cpp | 97 pi[i].partition_count = 0; in partition_table_zap_equal_elements() 227 int partition_count, in generate_one_partition_table() argument 241 uint8_t part = select_partition(partition_index, x, y, z, partition_count, small_block); in generate_one_partition_table() 256 pt->partition_count = 0; in generate_one_partition_table() 258 pt->partition_count = 1; in generate_one_partition_table() 260 pt->partition_count = 2; in generate_one_partition_table() 262 pt->partition_count = 3; in generate_one_partition_table() 264 pt->partition_count = 4; in generate_one_partition_table()
|
D | astc_decompress_symbolic.cpp | 202 int partition_count = scb->partition_count; in decompress_symbolic_block() local 203 const partition_info *pt = get_partition_table(bsd, partition_count); in decompress_symbolic_block() 222 for (i = 0; i < partition_count; i++) in decompress_symbolic_block()
|
/third_party/ffmpeg/libavcodec/ |
D | h264_cavlc.c | 700 int partition_count; in ff_h264_decode_mb_cavlc() local 740 partition_count = ff_h264_b_mb_type_info[mb_type].partition_count; in ff_h264_decode_mb_cavlc() 748 partition_count = ff_h264_p_mb_type_info[mb_type].partition_count; in ff_h264_decode_mb_cavlc() 763 partition_count=0; in ff_h264_decode_mb_cavlc() 843 }else if(partition_count==4){ in ff_h264_decode_mb_cavlc() 853 … sub_partition_count[i] = ff_h264_b_sub_mb_type_info[sl->sub_mb_type[i]].partition_count; in ff_h264_decode_mb_cavlc() 871 … sub_partition_count[i] = ff_h264_p_sub_mb_type_info[sl->sub_mb_type[i]].partition_count; in ff_h264_decode_mb_cavlc()
|
D | h264data.h | 43 uint8_t partition_count; member
|
D | vorbisdec.c | 1340 int partition_count, in setup_classifs() argument 1365 for (i = partition_count + c_p_c - 1; i >= partition_count; i--) { in setup_classifs() 1370 for (i = partition_count + c_p_c - 1; i >= partition_count; i--) { in setup_classifs() 1427 int voffset, partition_count, j_times_ptns_to_read; in vorbis_residue_decode_internal() local 1430 for (partition_count = 0; partition_count < ptns_to_read;) { // SPEC error in vorbis_residue_decode_internal() 1432 … int ret = setup_classifs(vc, vr, do_not_decode, ch_used, partition_count, ptns_to_read); in vorbis_residue_decode_internal() 1436 for (i = 0; (i < c_p_c) && (partition_count < ptns_to_read); ++i) { in vorbis_residue_decode_internal() 1441 unsigned vqclass = classifs[j_times_ptns_to_read + partition_count]; in vorbis_residue_decode_internal() 1544 ++partition_count; in vorbis_residue_decode_internal()
|
D | h264_cabac.c | 1915 int mb_type, partition_count, cbp = 0; in ff_h264_decode_mb_cabac() local 1992 partition_count = ff_h264_b_mb_type_info[mb_type].partition_count; in ff_h264_decode_mb_cabac() 2004 partition_count = ff_h264_p_mb_type_info[mb_type].partition_count; in ff_h264_decode_mb_cabac() 2016 partition_count = 0; in ff_h264_decode_mb_cabac() 2104 } else if( partition_count == 4 ) { in ff_h264_decode_mb_cabac() 2110 … sub_partition_count[i] = ff_h264_b_sub_mb_type_info[sl->sub_mb_type[i]].partition_count; in ff_h264_decode_mb_cabac() 2126 … sub_partition_count[i] = ff_h264_p_sub_mb_type_info[sl->sub_mb_type[i]].partition_count; in ff_h264_decode_mb_cabac()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 60786 u8 partition_count; member
|