Home
last modified time | relevance | path

Searched refs:quant_mode (Results 1 - 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state_viewport.c120 unsigned quant_mode = sctx->viewports.as_scissor[0].quant_mode; in si_emit_cull_state() local
124 if (quant_mode == SI_QUANT_MODE_12_12_FIXED_POINT_1_4096TH) in si_emit_cull_state()
126 else if (quant_mode == SI_QUANT_MODE_14_10_FIXED_POINT_1_1024TH) in si_emit_cull_state()
223 out->quant_mode = MIN2(out->quant_mode, in->quant_mode); in si_scissor_make_union()
286 vp_as_scissor.quant_mode = SI_QUANT_MODE_16_8_FIXED_POINT_1_256TH; in si_emit_guardband()
306 assert(vp_as_scissor.maxx <= max_viewport_size[vp_as_scissor.quant_mode] && in si_emit_guardband()
307 vp_as_scissor.maxy <= max_viewport_size[vp_as_scissor.quant_mode]); in si_emit_guardband()
[all...]
H A Dsi_pipe.h797 enum si_quant_mode quant_mode; member
/third_party/astc-encoder/Source/
H A Dastcenc_weight_align.cpp488 unsigned int quant_mode = bm.quant_mode; in compute_angular_endpoints_1plane() local
491 if (quant_mode <= TUNE_MAX_ANGULAR_QUANT) in compute_angular_endpoints_1plane()
493 low_value[i] = low_values[decim_mode][quant_mode]; in compute_angular_endpoints_1plane()
494 high_value[i] = high_values[decim_mode][quant_mode]; in compute_angular_endpoints_1plane()
562 unsigned int quant_mode = bm.quant_mode; in compute_angular_endpoints_2planes() local
565 if (quant_mode <= TUNE_MAX_ANGULAR_QUANT) in compute_angular_endpoints_2planes()
567 low_value1[i] = low_values1[decim_mode][quant_mode]; in compute_angular_endpoints_2planes()
568 high_value1[i] = high_values1[decim_mode][quant_mode]; in compute_angular_endpoints_2planes()
[all...]
H A Dastcenc_block_sizes.cpp31 * @param[out] quant_mode The quantization level for the weights.
41 unsigned int& quant_mode, in decode_block_mode_2d()
130 quant_mode = (base_quant_mode - 2) + 6 * H; in decode_block_mode_2d()
133 weight_bits = get_ise_sequence_bitcount(weight_count, static_cast<quant_method>(quant_mode)); in decode_block_mode_2d()
147 * @param[out] quant_mode The quantization level for the weights.
158 unsigned int& quant_mode, in decode_block_mode_3d()
233 quant_mode = (base_quant_mode - 2) + 6 * H; in decode_block_mode_3d()
236 weight_bits = get_ise_sequence_bitcount(weight_count, static_cast<quant_method>(quant_mode)); in decode_block_mode_3d()
887 unsigned int quant_mode; in construct_block_size_descriptor_2d() local
889 bool valid = decode_block_mode_2d(i, x_weights, y_weights, is_dual_plane, quant_mode, weight_bit in construct_block_size_descriptor_2d()
36 decode_block_mode_2d( unsigned int block_mode, unsigned int& x_weights, unsigned int& y_weights, bool& is_dual_plane, unsigned int& quant_mode, unsigned int& weight_bits ) decode_block_mode_2d() argument
152 decode_block_mode_3d( unsigned int block_mode, unsigned int& x_weights, unsigned int& y_weights, unsigned int& z_weights, bool& is_dual_plane, unsigned int& quant_mode, unsigned int& weight_bits ) decode_block_mode_3d() argument
1140 unsigned int quant_mode; construct_block_size_descriptor_3d() local
[all...]
H A Dastcenc_symbolic_physical.cpp301 const uint8_t* pack_table = color_uquant_to_scrambled_pquant_tables[scb.quant_mode - QUANT_6]; in symbolic_to_physical()
410 quant_method weight_quant_method = static_cast<quant_method>(bm.quant_mode); in physical_to_symbolic()
546 scb.quant_mode = static_cast<quant_method>(color_quant_level); in physical_to_symbolic()
553 const uint8_t* unpack_table = color_scrambled_pquant_to_uquant_tables[scb.quant_mode - QUANT_6]; in physical_to_symbolic()
H A Dastcenc_compress_symbolic.cpp85 unsigned int weight_quant_level = bm.quant_mode; in realign_weights_undecimated()
292 unsigned int weight_quant_level = bm.quant_mode; in realign_weights_undecimated()
412 unsigned int weight_quant_level = bm.quant_mode; in realign_weights_decimated()
659 if (bm.quant_mode > max_weight_quant) in compress_symbolic_block_for_partition_1plane()
734 trace_add_data("weight_quant", qw_bm.quant_mode); in compress_symbolic_block_for_partition_1plane()
821 workscb.quant_mode = workscb.color_formats_matched ? color_quant_level_mod[i] : color_quant_level[i]; in compress_symbolic_block_for_partition_1plane()
1034 if (bm.quant_mode > max_weight_quant) in compress_symbolic_block_for_partition_2planes()
1124 trace_add_data("weight_quant", qw_bm.quant_mode); in compress_symbolic_block_for_partition_2planes()
1161 workscb.quant_mode = color_quant_level[i]; in compress_symbolic_block_for_partition_2planes()
1517 scb.quant_mode in compress_block()
[all...]
H A Dastcenc_internal.h436 uint8_t quant_mode; member
451 return static_cast<quant_method>(this->quant_mode); in get_weight_quant_mode()
1106 quant_method quant_mode; member
1137 return this->quant_mode; in get_color_quant_mode()
1359 * Indexed by [quant_mode - 4][data_value * 2 + residual].
1369 * Indexed by [quant_mode - 4][data_value].
1379 * Indexed by [quant_mode - 4][data_value].
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
H A Dastc_block_sizes2.cpp42 int* quant_mode in decode_block_mode_2d()
136 *quant_mode = qmode; in decode_block_mode_2d()
146 int* quant_mode in decode_block_mode_3d()
228 *quant_mode = qmode; in decode_block_mode_3d()

Completed in 15 milliseconds