Home
last modified time | relevance | path

Searched refs:total_bits (Results 1 – 25 of 33) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dopus_rc.h45 uint32_t total_bits; member
63 return rc->total_bits - av_log2(rc->range) - 1; in opus_rc_tell()
68 uint32_t i, total_bits, rcbuffer, range; in opus_rc_tell_frac() local
70 total_bits = rc->total_bits << 3; in opus_rc_tell_frac()
82 return total_bits - rcbuffer; in opus_rc_tell_frac()
Dopus_rc.c52 rc->total_bits += OPUS_RC_SYM; in opus_rc_dec_normalize()
62 rc->total_bits += OPUS_RC_SYM; in opus_rc_enc_normalize()
153 rc->total_bits += count; in ff_opus_rc_get_raw()
165 rc->total_bits += count; in ff_opus_rc_put_raw()
346 rc->total_bits = 9; in ff_opus_rc_dec_init()
406 rc->total_bits = OPUS_RC_BITS + 1; in ff_opus_rc_enc_init()
Dflashsv2enc.c123 double total_bits; ///< total bits written to stream so far member
257 s->total_bits = 1; in flashsv2_encode_init()
717 s->total_bits += ((double) buf_pos) * 8.0; in write_bitstream()
778 if (ideal + use15_7_threshold < s->total_bits) { in optimum_use15_7()
794 int dist = pow((s->total_bits / ideal) * color15_7_factor, 3); in optimum_dist()
Dmjpegenc.c85 size_t total_bits = 0; in mjpeg_encode_picture_frame() local
95 total_bits += huff_size[table_id][code] + nbits; in mjpeg_encode_picture_frame()
98 bytes_needed = (total_bits + 7) / 8; in mjpeg_encode_picture_frame()
/third_party/abseil-cpp/absl/random/internal/
Dpool_urbg_test.cc129 size_t total_bits = 0; in TYPED_TEST() local
140 total_bits += 2 * 8 * sizeof(result_type); in TYPED_TEST()
147 EXPECT_NEAR(total_set, total_bits * 0.5, 4 * std::sqrt(total_bits)) in TYPED_TEST()
148 << "@" << total_set / static_cast<double>(total_bits); in TYPED_TEST()
Dpcg_engine_test.cc72 size_t total_bits = 0; in TYPED_TEST() local
83 total_bits += 2 * 8 * sizeof(result_type); in TYPED_TEST()
90 EXPECT_NEAR(total_set, total_bits * 0.5, 4 * std::sqrt(total_bits)) in TYPED_TEST()
91 << "@" << total_set / static_cast<double>(total_bits); in TYPED_TEST()
Dranden_engine_test.cc74 size_t total_bits = 0; in TYPED_TEST() local
85 total_bits += 2 * 8 * sizeof(result_type); in TYPED_TEST()
92 EXPECT_NEAR(total_set, total_bits * 0.5, 4 * std::sqrt(total_bits)) in TYPED_TEST()
93 << "@" << total_set / static_cast<double>(total_bits); in TYPED_TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dpool_urbg_test.cc129 size_t total_bits = 0; in TYPED_TEST() local
140 total_bits += 2 * 8 * sizeof(result_type); in TYPED_TEST()
147 EXPECT_NEAR(total_set, total_bits * 0.5, 4 * std::sqrt(total_bits)) in TYPED_TEST()
148 << "@" << total_set / static_cast<double>(total_bits); in TYPED_TEST()
Dpcg_engine_test.cc72 size_t total_bits = 0; in TYPED_TEST() local
83 total_bits += 2 * 8 * sizeof(result_type); in TYPED_TEST()
90 EXPECT_NEAR(total_set, total_bits * 0.5, 4 * std::sqrt(total_bits)) in TYPED_TEST()
91 << "@" << total_set / static_cast<double>(total_bits); in TYPED_TEST()
Dranden_engine_test.cc74 size_t total_bits = 0; in TYPED_TEST() local
85 total_bits += 2 * 8 * sizeof(result_type); in TYPED_TEST()
92 EXPECT_NEAR(total_set, total_bits * 0.5, 4 * std::sqrt(total_bits)) in TYPED_TEST()
93 << "@" << total_set / static_cast<double>(total_bits); in TYPED_TEST()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc439 int total_bits = 0; in CalculateHasBits() local
442 field_generators_[i]->SetRuntimeHasBit(total_bits); in CalculateHasBits()
443 ++total_bits; in CalculateHasBits()
449 field_generators_[i]->SetExtraRuntimeHasBitsBase(total_bits); in CalculateHasBits()
450 total_bits += extra_bits; in CalculateHasBits()
453 return total_bits; in CalculateHasBits()
/third_party/boost/boost/test/tools/detail/
Dbitwise_manip.hpp71 std::size_t total_bits = left_bit_size < right_bit_size ? left_bit_size : right_bit_size; in bitwise_compare() local
73 for( std::size_t counter = 0; counter < total_bits; ++counter ) { in bitwise_compare()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc503 int total_bits = 0; in GenerateDynamicMethodNewBuildMessageInfo() local
505 total_bits += in GenerateDynamicMethodNewBuildMessageInfo()
508 int total_ints = (total_bits + 31) / 32; in GenerateDynamicMethodNewBuildMessageInfo()
/third_party/boost/boost/beast/core/detail/
Dsha1.ipp266 std::uint64_t total_bits =
282 /* Append total_bits, split this uint64_t into two uint32_t */
283 block[BLOCK_INTS - 1] = total_bits & 0xffffffff;
284 block[BLOCK_INTS - 2] = (total_bits >> 32);
/third_party/boost/libs/beast/include/boost/beast/core/detail/
Dsha1.ipp266 std::uint64_t total_bits =
282 /* Append total_bits, split this uint64_t into two uint32_t */
283 block[BLOCK_INTS - 1] = total_bits & 0xffffffff;
284 block[BLOCK_INTS - 2] = (total_bits >> 32);
/third_party/boost/boost/test/tools/old/
Dimpl.hpp258 std::size_t total_bits = left_bit_size < right_bit_size ? left_bit_size : right_bit_size; in operator ()() local
260 for( std::size_t counter = 0; counter < total_bits; ++counter ) { in operator ()()
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dbit_slicer.h169 unsigned int total_bits; member
Dbit_slicer.c532 if (bs->total_bits > max_points) { in vbi3_bit_slicer_slice_with_points()
535 max_points, bs->total_bits); in vbi3_bit_slicer_slice_with_points()
855 bs->total_bits = cri_bits + data_bits; in vbi3_bit_slicer_set_params()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_subgroups.c84 unsigned total_bits = bit_size * num_components; in uint_to_ballot_type() local
87 if (total_bits > value->bit_size * value->num_components) in uint_to_ballot_type()
88 value = nir_pad_vector_imm_int(b, value, 0, total_bits / value->bit_size); in uint_to_ballot_type()
/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc505 const int total_bits = input_bits - LeadingZeros(v) + exp; in FormatFFast() local
507 total_bits <= 64 in FormatFFast()
650 const int total_bits = sizeof(Int) * 8 - LeadingZeros(mantissa) + exp; in FormatF() local
654 if (ABSL_PREDICT_FALSE(total_bits > 128)) { in FormatF()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc524 const int total_bits = input_bits - LeadingZeros(v) + exp; in FormatFFast() local
526 total_bits <= 64 in FormatFFast()
669 const int total_bits = sizeof(Int) * 8 - LeadingZeros(mantissa) + exp; in FormatF() local
673 if (ABSL_PREDICT_FALSE(total_bits > 128)) { in FormatF()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c351 unsigned total_bits; in get_z_shift_and_mask() local
359 total_bits = format_desc->block.bits > 32 ? 32 : format_desc->block.bits; in get_z_shift_and_mask()
370 if (*width == total_bits) { in get_z_shift_and_mask()
/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp433 int32_t i = 0, j = 0, iCurLayerBits = 0, total_bits = 0; in EncodeFrameInternal() local
463 total_bits += iCurLayerBits; in EncodeFrameInternal()
469 WelsFwrite (&total_bits, sizeof (int32_t), 1, m_pFileBsSize); in EncodeFrameInternal()
/third_party/skia/third_party/externals/brotli/c/enc/
Dcompress_fragment.c351 size_t total_bits = n_unchanged_bits + n_changed_bits; in UpdateBits() local
353 (~((1u << total_bits) - 1u)) | ((1u << n_unchanged_bits) - 1u); in UpdateBits()
/third_party/node/deps/brotli/c/enc/
Dcompress_fragment.c351 size_t total_bits = n_unchanged_bits + n_changed_bits; in UpdateBits() local
353 (~((1u << total_bits) - 1u)) | ((1u << n_unchanged_bits) - 1u); in UpdateBits()

12