Searched refs:new_bit_size (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_load_store_vectorize.c | 643 new_bitsize_acceptable(struct vectorize_ctx *ctx, unsigned new_bit_size, in new_bitsize_acceptable() argument 646 if (size % new_bit_size != 0) in new_bitsize_acceptable() 649 unsigned new_num_components = size / new_bit_size; in new_bitsize_acceptable() 657 common_bit_size = MIN2(common_bit_size, new_bit_size); in new_bitsize_acceptable() 660 if (new_bit_size / common_bit_size > NIR_MAX_VEC_COMPONENTS) in new_bitsize_acceptable() 665 new_bit_size, new_num_components, in new_bitsize_acceptable() 674 if (low_size % new_bit_size != 0) in new_bitsize_acceptable() 676 if (high_size % new_bit_size != 0) in new_bitsize_acceptable() 680 if (!nir_component_mask_can_reinterpret(write_mask, get_bit_size(low), new_bit_size)) in new_bitsize_acceptable() 684 if (!nir_component_mask_can_reinterpret(write_mask, get_bit_size(high), new_bit_size)) in new_bitsize_acceptable() [all …]
|
D | nir_deref.c | 1244 const unsigned new_bit_size = glsl_get_bit_size(parent->type); in opt_load_vec_deref() local 1250 load->dest.ssa.bit_size = new_bit_size; in opt_load_vec_deref() 1256 if (old_bit_size != new_bit_size) in opt_load_vec_deref() 1286 const unsigned new_bit_size = glsl_get_bit_size(parent->type); in opt_store_vec_deref() local 1293 if (old_bit_size != new_bit_size) in opt_store_vec_deref() 1294 data = nir_bitcast_vector(b, data, new_bit_size); in opt_store_vec_deref() 1302 new_bit_size); in opt_store_vec_deref()
|
D | nir.c | 48 unsigned new_bit_size) in nir_component_mask_can_reinterpret() argument 51 assert(util_is_power_of_two_nonzero(new_bit_size)); in nir_component_mask_can_reinterpret() 53 if (old_bit_size == new_bit_size) in nir_component_mask_can_reinterpret() 56 if (old_bit_size == 1 || new_bit_size == 1) in nir_component_mask_can_reinterpret() 59 if (old_bit_size > new_bit_size) { in nir_component_mask_can_reinterpret() 60 unsigned ratio = old_bit_size / new_bit_size; in nir_component_mask_can_reinterpret() 70 if (start % new_bit_size != 0) in nir_component_mask_can_reinterpret() 72 if (count % new_bit_size != 0) in nir_component_mask_can_reinterpret() 84 unsigned new_bit_size) in nir_component_mask_reinterpret() argument 86 assert(nir_component_mask_can_reinterpret(mask, old_bit_size, new_bit_size)); in nir_component_mask_reinterpret() [all …]
|
D | nir.h | 83 unsigned new_bit_size); 87 unsigned new_bit_size);
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstbitwriter.h | 148 guint32 new_bit_size = bits + bitwriter->bit_size; in _gst_bit_writer_check_remaining() local 152 if (new_bit_size <= bitwriter->bit_capacity) in _gst_bit_writer_check_remaining() 159 new_bit_size = __GST_BITS_WRITER_ALIGNED (new_bit_size); in _gst_bit_writer_check_remaining() 160 g_assert (new_bit_size in _gst_bit_writer_check_remaining() 161 && ((new_bit_size & __GST_BITS_WRITER_ALIGNMENT_MASK) == 0)); in _gst_bit_writer_check_remaining() 163 bitwriter->data = (guint8 *) g_realloc (bitwriter->data, (new_bit_size >> 3)); in _gst_bit_writer_check_remaining() 164 memset (bitwriter->data + clear_pos, 0, (new_bit_size >> 3) - clear_pos); in _gst_bit_writer_check_remaining() 165 bitwriter->bit_capacity = new_bit_size; in _gst_bit_writer_check_remaining()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir.c | 1052 cast_phi(nir_builder *b, nir_phi_instr *phi, unsigned new_bit_size) in cast_phi() argument 1059 nir_type_uint | new_bit_size, in cast_phi() 1061 nir_op downcast_op = nir_type_conversion_op(nir_type_uint | new_bit_size, in cast_phi() 1076 num_components, new_bit_size, NULL); in cast_phi()
|
/third_party/gstreamer/gstreamer/ |
D | ChangeLog | 8661 bitwriter->data = g_realloc (bitwriter->data, (new_bit_size >> 3)); 11676 memset (bitwriter->data + clear_pos, 0, (new_bit_size >> 3) - clear_pos);
|