Home
last modified time | relevance | path

Searched refs:leading_zeros (Results 1 – 15 of 15) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dnalutils.c478 guint leading_zeros; in nal_writer_put_ue() local
483 count_exp_golomb_bits (value, &leading_zeros, &rest); in nal_writer_put_ue()
486 if (leading_zeros) { in nal_writer_put_ue()
487 if (!nal_writer_put_bits_uint32 (nw, 0, leading_zeros)) in nal_writer_put_ue()
499 count_exp_golomb_bits (guint32 value, guint * leading_zeros, guint * rest) in count_exp_golomb_bits() argument
512 if (leading_zeros) { in count_exp_golomb_bits()
514 *leading_zeros = count - 1; in count_exp_golomb_bits()
516 *leading_zeros = 0; in count_exp_golomb_bits()
Dnalutils.h227 gboolean count_exp_golomb_bits (guint32 value, guint * leading_zeros, guint * rest);
Dgsth264parser.c2981 guint leading_zeros, rest; in gst_h264_create_sei_memory_internal() local
2985 &leading_zeros, &rest); in gst_h264_create_sei_memory_internal()
2986 payload_size_in_bits = leading_zeros + rest; in gst_h264_create_sei_memory_internal()
3019 &leading_zeros, &rest); in gst_h264_create_sei_memory_internal()
3020 payload_size_in_bits += (leading_zeros + rest); in gst_h264_create_sei_memory_internal()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtputils.c135 guint8 b, leading_zeros = -1; in gst_rtp_read_golomb() local
138 for (b = 0; !b; leading_zeros++) { in gst_rtp_read_golomb()
145 if (leading_zeros > 0) { in gst_rtp_read_golomb()
147 if (!gst_bit_reader_get_bits_uint32 (br, &tmp, leading_zeros)) in gst_rtp_read_golomb()
/third_party/rust/crates/num-traits/src/
Dint.rs94 (!self).leading_zeros() in leading_ones()
109 fn leading_zeros(self) -> u32; in leading_zeros() method
414 fn leading_zeros(self) -> u32 {
415 <$T>::leading_zeros(self)
/third_party/ffmpeg/libavformat/
Dav1.c125 int leading_zeros = 0; in uvlc() local
130 leading_zeros++; in uvlc()
133 if (leading_zeros >= 32) in uvlc()
136 skip_bits_long(gb, leading_zeros); in uvlc()
/third_party/rust/crates/minimal-lexical/src/
Dbigint.rs246 let ls = r0.leading_zeros(); in u64_to_hi64_1()
253 let ls = r0.leading_zeros(); in u64_to_hi64_2()
687 pub fn leading_zeros(x: &[Limb]) -> u32 { in leading_zeros() function
691 value.leading_zeros() in leading_zeros()
700 let nlz = leading_zeros(x); in bit_length()
Dlemire.rs65 let lz = w.leading_zeros() as i32; in compute_float()
154 let lz = w.leading_zeros() as i32; in compute_error()
Dbellerophon.rs295 let shift = fp.mant.leading_zeros() as i32; in normalize()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch32/
Djchuff-neon.c304 unsigned int leading_zeros = BUILTIN_CLZ(bitmap_33_63); in jsimd_huff_encode_one_block_neon() local
305 r += leading_zeros; in jsimd_huff_encode_one_block_neon()
306 i += leading_zeros; in jsimd_huff_encode_one_block_neon()
307 bitmap_33_63 <<= leading_zeros; in jsimd_huff_encode_one_block_neon()
/third_party/libjpeg-turbo/simd/arm/aarch32/
Djchuff-neon.c304 unsigned int leading_zeros = BUILTIN_CLZ(bitmap_33_63); in jsimd_huff_encode_one_block_neon() local
305 r += leading_zeros; in jsimd_huff_encode_one_block_neon()
306 i += leading_zeros; in jsimd_huff_encode_one_block_neon()
307 bitmap_33_63 <<= leading_zeros; in jsimd_huff_encode_one_block_neon()
/third_party/mbedtls/tests/suites/
Dtest_suite_mpi.function1246 size_t leading_zeros = 0;
1248 leading_zeros = 1;
1249 TEST_ASSERT( mbedtls_mpi_size( &X ) + leading_zeros ==
/third_party/rust/crates/memchr/src/memchr/x86/
Dsse2.rs759 VECTOR_SIZE - (mask as u16).leading_zeros() as usize - 1 in reverse_pos()
Davx.rs723 VECTOR_SIZE - (mask as u32).leading_zeros() as usize - 1 in reverse_pos()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs44932 (usize::BITS - x.leading_zeros() - 1) as usize