Home
last modified time | relevance | path

Searched defs:num_bits (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_vlc.h227 vl_vlc_peekbits(struct vl_vlc *vlc, unsigned num_bits) in vl_vlc_peekbits()
237 vl_vlc_eatbits(struct vl_vlc *vlc, unsigned num_bits) in vl_vlc_eatbits()
249 vl_vlc_get_uimsbf(struct vl_vlc *vlc, unsigned num_bits) in vl_vlc_get_uimsbf()
265 vl_vlc_get_simsbf(struct vl_vlc *vlc, unsigned num_bits) in vl_vlc_get_simsbf()
281 vl_vlc_get_vlclbf(struct vl_vlc *vlc, const struct vl_vlc_entry *tbl, unsigned num_bits) in vl_vlc_get_vlclbf()
292 vl_vlc_search_byte(struct vl_vlc *vlc, unsigned num_bits, uint8_t value) in vl_vlc_search_byte()
349 vl_vlc_removebits(struct vl_vlc *vlc, unsigned pos, unsigned num_bits) in vl_vlc_removebits()
Dvl_rbsp.h51 static inline void vl_rbsp_init(struct vl_rbsp *rbsp, struct vl_vlc *nal, unsigned num_bits) in vl_rbsp_init()
/third_party/mesa3d/src/util/tests/fast_idiv_by_const/
Dfast_idiv_by_const_test.cpp34 utrunc(uint64_t x, unsigned num_bits) in utrunc()
43 strunc(int64_t x, unsigned num_bits) in strunc()
52 uint_is_in_range(uint64_t x, unsigned num_bits) in uint_is_in_range()
61 sint_is_in_range(int64_t x, unsigned num_bits) in sint_is_in_range()
71 uadd_sat(uint64_t a, uint64_t b, unsigned num_bits) in uadd_sat()
87 umul_add_high(uint64_t a, uint64_t b, uint64_t c, unsigned num_bits) in umul_add_high()
112 smul_high(int64_t a, int64_t b, unsigned num_bits) in smul_high()
142 fast_udiv_add_sat(uint64_t n, struct util_fast_udiv_info m, unsigned num_bits) in fast_udiv_add_sat()
156 fast_udiv_mul_add(uint64_t n, struct util_fast_udiv_info m, unsigned num_bits) in fast_udiv_mul_add()
171 fast_sdiv(int64_t n, int64_t d, struct util_fast_sdiv_info m, unsigned num_bits) in fast_sdiv()
/third_party/skia/third_party/externals/libwebp/src/utils/
Drandom_utils.h39 static WEBP_INLINE int VP8RandomBits2(VP8Random* const rg, int num_bits, in VP8RandomBits2()
55 static WEBP_INLINE int VP8RandomBits(VP8Random* const rg, int num_bits) { in VP8RandomBits()
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Drandom_utils.h39 static WEBP_INLINE int VP8RandomBits2(VP8Random* const rg, int num_bits, in VP8RandomBits2()
55 static WEBP_INLINE int VP8RandomBits(VP8Random* const rg, int num_bits) { in VP8RandomBits()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dbit_stream.h44 inline size_t NumBitsToNumWords(size_t num_bits) { in NumBitsToNumWords()
51 inline T GetLowerBits(T in, size_t num_bits) { in GetLowerBits()
314 void EmitSequence(uint64_t bits, size_t num_bits) const { in EmitSequence()
354 std::string ReadStream(size_t num_bits) { in ReadStream()
Dbit_stream.cpp288 const size_t num_bits = 1 + Log2U64(max_val); in WriteFixedWidth() local
296 void BitWriterWord64::WriteBits(uint64_t bits, size_t num_bits) { in WriteBits()
378 const size_t num_bits = 1 + Log2U64(max_val); in ReadFixedWidth() local
391 size_t BitReaderWord64::ReadBits(uint64_t* bits, size_t num_bits) { in ReadBits()
/third_party/mindspore/mindspore/core/ops/
Dfake_quant_with_min_max_vars_per_channel.cc22 void FakeQuantWithMinMaxVarsPerChannel::Init(const int64_t num_bits, const bool narrow_range) { in Init()
26 void FakeQuantWithMinMaxVarsPerChannel::set_num_bits(const int64_t num_bits) { in set_num_bits()
Dfake_quant_with_min_max_vars.cc60 void FakeQuantWithMinMaxVars::Init(const bool narrow_range, const int64_t num_bits) { in Init()
74 void FakeQuantWithMinMaxVars::set_num_bits(const int64_t num_bits) { in set_num_bits()
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/quant_helper/
Dconcat_quant_param_propogator.cc41 int num_bits = -1; in PropogateQuantParams() local
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_datarules.cpp67 const uint32_t num_bits = inst->words[inst->operands[1].offset]; in ValidateFloatSize() local
99 const uint32_t num_bits = inst->words[inst->operands[1].offset]; in ValidateIntSize() local
/third_party/mindspore/mindspore/lite/src/delegate/nnrt/checker/
Dprimitive_check.cc131 auto num_bits = src_tensor.quantParams()->Get(0)->numBits(); in NeedBitUppackCheck() local
/third_party/mindspore/mindspore/ops/_op_impl/_custom_op/
Dfake_quant_perlayer.py91 symmetric, narrow_range, num_bits, argument
Dfake_quant_perchannel.py130 symmetric, narrow_range, num_bits, channel_axis, argument
Dfake_quant_perlayer_grad.py117 num_bits, symmetric, narrow_range, argument
Dfake_quant_perchannel_grad.py154 symmetric, narrow_range, num_bits, channel_axis, argument
/third_party/mindspore/tests/st/ops/gpu/
Dtest_fake_quant_perlayer_grad.py27 def __init__(self, num_bits=8, narrow_range=False): argument
Dtest_fake_quant_perchannel_grad.py27 def __init__(self, num_bits=8, narrow_range=False): argument
Dtest_fake_quant_perlayer.py29 num_bits=8, argument
/third_party/mindspore/mindspore/compression/common/
Dconstant.py105 def num_bits(self): member in QuantDtype
/third_party/mindspore/mindspore/lite/src/common/
Dquant_utils.cc46 int quant_max, int quant_min, int num_bits) { in CalQuantizationParams()
/third_party/ffmpeg/libavformat/
Drtmpdh.c100 #define bn_random(bn, num_bits) \ argument
136 #define bn_random(bn, num_bits) gcry_mpi_randomize(bn, num_bits, GCRY_WEAK_RANDOM) argument
154 #define bn_random(bn, num_bits) BN_rand(bn, num_bits, 0, 0) argument
200 #define bn_random(bn, num_bits) \ argument
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c132 unsigned num_bits = num_components * bit_size; in lower_load_deref() local
223 unsigned num_bits = num_components * bit_size; in build_load_ubo_dxil() local
274 unsigned num_bits = num_components * bit_size; in lower_load_ssbo() local
334 unsigned num_bits = num_components * bit_size; in lower_store_ssbo() local
418 unsigned num_bits = num_components * bit_size; in lower_32b_offset_load() local
487 nir_ssa_def *vec32, unsigned num_bits, nir_intrinsic_op op) in lower_masked_store_vec32()
525 unsigned num_bits = num_components * bit_size; in lower_32b_offset_store() local
/third_party/mesa3d/src/util/
Dfast_idiv_by_const.c47 util_compute_fast_udiv_info(uint64_t D, unsigned num_bits, unsigned UINT_BITS) in util_compute_fast_udiv_info()
/third_party/mindspore/mindspore/compression/quant/
Dquant_utils.py73 def get_quant_min_max(data_type, num_bits=8, narrow_range=False): argument

1234