/third_party/astc-encoder/Source/ |
D | astcenc_color_quantize.cpp | 54 quant_method quant_level, in quant_color_clamp() argument 58 return color_quant_tables[quant_level - QUANT_6][value]; in quant_color_clamp() 72 quant_method quant_level, in quant_color() argument 75 return color_quant_tables[quant_level - QUANT_6][value]; in quant_color() 88 quant_method quant_level, in unquant_color() argument 91 return color_unquant_tables[quant_level - QUANT_6][value]; in unquant_color() 110 quant_method quant_level in quantize_rgb() argument 128 ri0 = quant_color_clamp(quant_level, astc::flt2int_rd(r0 + rgb0_addon)); in quantize_rgb() 129 gi0 = quant_color_clamp(quant_level, astc::flt2int_rd(g0 + rgb0_addon)); in quantize_rgb() 130 bi0 = quant_color_clamp(quant_level, astc::flt2int_rd(b0 + rgb0_addon)); in quantize_rgb() [all …]
|
D | astcenc_color_unquantize.cpp | 38 quant_method quant_level, in unquant_color() argument 41 const uint8_t* unq = color_unquant_tables[quant_level - QUANT_6]; in unquant_color() 57 quant_method quant_level, in unquant_color() argument 60 return color_unquant_tables[quant_level - QUANT_6][value]; in unquant_color() 92 quant_method quant_level, in rgba_delta_unpack() argument 97 vint4 input0 = unquant_color(quant_level, input0q); in rgba_delta_unpack() 98 vint4 input1 = unquant_color(quant_level, input1q); in rgba_delta_unpack() 138 quant_method quant_level, in rgb_delta_unpack() argument 142 rgba_delta_unpack(input0q, input1q, quant_level, output0, output1); in rgb_delta_unpack() 159 quant_method quant_level, in rgba_unpack() argument [all …]
|
D | astcenc_integer_sequence.cpp | 428 quant_method quant_level in get_ise_sequence_bitcount() argument 431 if (static_cast<size_t>(quant_level) >= ise_sizes.size()) in get_ise_sequence_bitcount() 437 auto& entry = ise_sizes[quant_level]; in get_ise_sequence_bitcount() 500 quant_method quant_level, in encode_ise() argument 508 unsigned int bits = btq_counts[quant_level].bits; in encode_ise() 509 unsigned int trits = btq_counts[quant_level].trits; in encode_ise() 510 unsigned int quints = btq_counts[quant_level].quints; in encode_ise() 659 quant_method quant_level, in decode_ise() argument 673 unsigned int bits = btq_counts[quant_level].bits; in decode_ise() 674 unsigned int trits = btq_counts[quant_level].trits; in decode_ise() [all …]
|
D | astcenc_pick_best_endpoint_format.cpp | 706 int quant_level = quant_mode_table[integer_count][bits_available]; in one_partition_find_best_combination_for_bitcount() local 709 if (quant_level < QUANT_6) in one_partition_find_best_combination_for_bitcount() 714 float integer_count_error = best_combined_error[quant_level][integer_count - 1]; in one_partition_find_best_combination_for_bitcount() 816 int quant_level = quant_mode_table[integer_count][bits_available]; in two_partitions_find_best_combination_for_bitcount() local 819 if (quant_level < QUANT_6) in two_partitions_find_best_combination_for_bitcount() 824 float integer_count_error = best_combined_error[quant_level][integer_count - 2]; in two_partitions_find_best_combination_for_bitcount() 941 int quant_level = quant_mode_table[integer_count][bits_available]; in three_partitions_find_best_combination_for_bitcount() local 944 if (quant_level < QUANT_6) in three_partitions_find_best_combination_for_bitcount() 949 float integer_count_error = best_combined_error[quant_level][integer_count - 3]; in three_partitions_find_best_combination_for_bitcount() 1077 int quant_level = quant_mode_table[integer_count][bits_available]; in four_partitions_find_best_combination_for_bitcount() local [all …]
|
D | astcenc_internal.h | 1556 quant_method quant_level, 1575 quant_method quant_level, 1594 quant_method quant_level); 1927 quant_method quant_level); 2105 quant_method quant_level); 2123 quant_method quant_level, 2146 quant_method quant_level, 2185 quant_method quant_level[TUNE_MAX_TRIAL_CANDIDATES],
|
D | astcenc_decompress_symbolic.cpp | 130 quant_method quant_level, in unpack_weights() argument 139 const quantization_and_transfer_table *qat = &(quant_and_xfer_tables[quant_level]); in unpack_weights()
|
D | astcenc_ideal_endpoints_and_weights.cpp | 935 quant_method quant_level in compute_quantized_weights_for_decimation() argument 939 const quantization_and_transfer_table *qat = &(quant_and_xfer_tables[quant_level]); in compute_quantized_weights_for_decimation() 946 float quant_level_m1 = quant_levels_m1[quant_level]; in compute_quantized_weights_for_decimation()
|
/third_party/ffmpeg/libavcodec/ |
D | dca_lbr.c | 635 static void parse_ch(DCALbrDecoder *s, int ch, int sb, int quant_level, int flag) in parse_ch() argument 645 switch (quant_level) { in parse_ch() 712 int sb, sb_g3, sb_reorder, quant_level; in parse_ts() local 749 quant_level = s->quant_levels[ch1 / 2][sb]; in parse_ts() 750 if (!quant_level) in parse_ts() 756 parse_ch(s, ch1, sb_reorder, quant_level, 0); in parse_ts() 758 parse_ch(s, ch2, sb_reorder, quant_level, 1); in parse_ts() 760 parse_ch(s, ch1, sb_reorder, quant_level, 0); in parse_ts() 762 parse_ch(s, ch2, sb_reorder, quant_level, 0); in parse_ts()
|