Home
last modified time | relevance | path

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

12

/external/libhevc/encoder/
Dihevce_cabac_rdo.c377 WORD32 total_bits = 0; in ihevce_entropy_rdo_encode_cu() local
459 total_bits = in ihevce_entropy_rdo_encode_cu()
474 return (total_bits); in ihevce_entropy_rdo_encode_cu()
503 WORD32 total_bits = 0; in ihevce_cabac_rdo_encode_sao() local
524 total_bits = in ihevce_cabac_rdo_encode_sao()
528 return (total_bits); in ihevce_cabac_rdo_encode_sao()
696 WORD32 total_bits = 0; in ihevce_entropy_rdo_encode_tu() local
717 total_bits = in ihevce_entropy_rdo_encode_tu()
721 return (total_bits); in ihevce_entropy_rdo_encode_tu()
788 WORD32 total_bits = 0; in ihevce_entropy_rdo_encode_tu_rdoq() local
[all …]
/external/webrtc/webrtc/base/
Dbitbuffer_unittest.cc22 uint64_t total_bits = 32 * 8; in TEST() local
23 EXPECT_EQ(total_bits, buffer.RemainingBitCount()); in TEST()
25 total_bits -= 3; in TEST()
26 EXPECT_EQ(total_bits, buffer.RemainingBitCount()); in TEST()
28 total_bits -= 3; in TEST()
29 EXPECT_EQ(total_bits, buffer.RemainingBitCount()); in TEST()
31 total_bits -= 15; in TEST()
32 EXPECT_EQ(total_bits, buffer.RemainingBitCount()); in TEST()
34 total_bits -= 37; in TEST()
35 EXPECT_EQ(total_bits, buffer.RemainingBitCount()); in TEST()
[all …]
Dbitbuffer.cc241 size_t total_bits = bit_count; in WriteBits() local
258 return ConsumeBits(total_bits); in WriteBits()
279 return ConsumeBits(total_bits); in WriteBits()
/external/flac/libFLAC/
Dbitwriter.c512 unsigned total_bits, interesting_bits, msbs; in FLAC__bitwriter_write_rice_signed() local
526 total_bits = interesting_bits + msbs; in FLAC__bitwriter_write_rice_signed()
530 if(total_bits <= 32) in FLAC__bitwriter_write_rice_signed()
531 return FLAC__bitwriter_write_raw_uint32(bw, pattern, total_bits); in FLAC__bitwriter_write_rice_signed()
545 unsigned msbits, total_bits; in FLAC__bitwriter_write_rice_signed_block() local
560 total_bits = lsbits + msbits; in FLAC__bitwriter_write_rice_signed_block()
562 …if(bw->bits && bw->bits + total_bits < FLAC__BITS_PER_WORD) { /* i.e. if the whole thing fits in t… in FLAC__bitwriter_write_rice_signed_block()
564 bw->bits += total_bits; in FLAC__bitwriter_write_rice_signed_block()
567 bw->accum <<= total_bits; in FLAC__bitwriter_write_rice_signed_block()
573 …ds + bw->bits + msbits + 1 /* lsbits always fit in 1 bwword */ && !bitwriter_grow_(bw, total_bits)) in FLAC__bitwriter_write_rice_signed_block()
[all …]
/external/libaom/libaom/av1/encoder/
Dpalette.c126 const int total_bits = in av1_palette_color_cost_y() local
128 return av1_cost_literal(total_bits); in av1_palette_color_cost_y()
135 int total_bits = 0; in av1_palette_color_cost_uv() local
142 total_bits += in av1_palette_color_cost_uv()
152 total_bits += 1 + AOMMIN(bits_using_delta, bits_using_raw); in av1_palette_color_cost_uv()
153 return av1_cost_literal(total_bits); in av1_palette_color_cost_uv()
Dpickcdef.c533 const int total_bits = sb_count * i + nb_strengths * CDEF_STRENGTH_BITS * in av1_cdef_search() local
535 const int rate_cost = av1_cost_literal(total_bits); in av1_cdef_search()
/external/OpenCSD/decoder/source/ptm/
Dtrc_pkt_proc_ptm.cpp630 uint8_t total_bits = 0; in pktWPointUpdate() local
631 uint32_t addr_val = extractAddress(1,total_bits); in pktWPointUpdate()
632 m_curr_packet.UpdateAddress(addr_val,total_bits); in pktWPointUpdate()
928 uint8_t total_bits = 0; in pktBranchAddr() local
929 uint32_t addr_val = extractAddress(0,total_bits); in pktBranchAddr()
930 m_curr_packet.UpdateAddress(addr_val,total_bits); in pktBranchAddr()
1074 uint32_t TrcPktProcPtm::extractAddress(const int offset, uint8_t &total_bits) in extractAddress() argument
1083 total_bits = 0; in extractAddress()
1118 total_bits += num_bits; in extractAddress()
1127 total_bits--; // adjust bits for jazelle offset in extractAddress()
[all …]
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc438 int total_bits = 0; in CalculateHasBits() local
441 field_generators_[i]->SetRuntimeHasBit(total_bits); in CalculateHasBits()
442 ++total_bits; in CalculateHasBits()
448 field_generators_[i]->SetExtraRuntimeHasBitsBase(total_bits); in CalculateHasBits()
449 total_bits += extra_bits; in CalculateHasBits()
452 return total_bits; in CalculateHasBits()
/external/pdfium/core/fdrm/
Dfx_crypt_sha.cpp396 uint64_t total_bits = 8 * context->total_bytes; // Prior to padding. in CRYPT_SHA1Finish() local
407 c[0] = (total_bits >> 56) & 0xFF; in CRYPT_SHA1Finish()
408 c[1] = (total_bits >> 48) & 0xFF; in CRYPT_SHA1Finish()
409 c[2] = (total_bits >> 40) & 0xFF; in CRYPT_SHA1Finish()
410 c[3] = (total_bits >> 32) & 0xFF; in CRYPT_SHA1Finish()
411 c[4] = (total_bits >> 24) & 0xFF; in CRYPT_SHA1Finish()
412 c[5] = (total_bits >> 16) & 0xFF; in CRYPT_SHA1Finish()
413 c[6] = (total_bits >> 8) & 0xFF; in CRYPT_SHA1Finish()
414 c[7] = (total_bits >> 0) & 0xFF; in CRYPT_SHA1Finish()
473 uint64_t total_bits = 8 * context->total_bytes; // Prior to padding. in CRYPT_SHA256Finish() local
[all …]
/external/libopus/celt/
Dcelt_decoder.c852 opus_int32 total_bits; local
953 total_bits = len*8;
956 if (tell >= total_bits)
972 if (start==0 && tell+16 <= total_bits)
980 if (ec_tell(dec)+2<=total_bits)
987 if (LM > 0 && tell+3 <= total_bits)
1001 intra_ener = tell+3<=total_bits ? ec_dec_bit_logp(dec, 3) : 0;
1011 if (tell+4 <= total_bits)
1021 total_bits<<=BITRES;
1034 while (tell+(dynalloc_loop_logp<<BITRES) < total_bits && boost < cap[i])
[all …]
Dbands.h109 int dual_stereo, int intensity, int *tf_res, opus_int32 total_bits,
Dcelt_encoder.c1449 opus_int32 total_bits; in celt_encode_with_ec() local
1610 total_bits = nbCompressedBytes*8; in celt_encode_with_ec()
1640 total_bits=nbCompressedBytes*8; in celt_encode_with_ec()
1674 if(!hybrid && tell+16<=total_bits) in celt_encode_with_ec()
1702 if (LM>0 && ec_tell(enc)+3<=total_bits) in celt_encode_with_ec()
1849 …if (LM>0 && ec_tell(enc)+3<=total_bits && !isTransient && st->complexity>=5 && !st->lfe && !hybrid) in celt_encode_with_ec()
1865 if (LM>0 && ec_tell(enc)+3<=total_bits) in celt_encode_with_ec()
1927 oldBandE, total_bits, error, enc, in celt_encode_with_ec()
1933 if (ec_tell(enc)+4<=total_bits) in celt_encode_with_ec()
1986 total_bits<<=BITRES; in celt_encode_with_ec()
[all …]
Dbands.c1400 int dual_stereo, int intensity, int *tf_res, opus_int32 total_bits, in quant_all_bands() argument
1501 remaining_bits = total_bits-tell-1; in quant_all_bands()
/external/elfutils/libcpu/
Di386_parse.y895 static int total_bits = 2; // Already counted the rep/repe bits. variable
978 total_bits += nbitoff[i][0]; in find_numbers()
993 total_bits += nbitoff[i][1]; in find_numbers()
1008 total_bits += nbitoff[i][2]; in find_numbers()
1020 total_bits += nbitfct[i]; in find_numbers()
1033 total_bits += nbitstr[i]; in find_numbers()
1047 total_bits += nbitsuf; in find_numbers()
1596 + (((total_bits + mnemonic_bits + 7) / 8)
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc505 int total_bits = 0; in GenerateDynamicMethodNewBuildMessageInfo() local
507 total_bits += in GenerateDynamicMethodNewBuildMessageInfo()
510 int total_ints = (total_bits + 31) / 32; in GenerateDynamicMethodNewBuildMessageInfo()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dexhaustive_op_test_utils.h1015 int total_bits = offsets[i + 1] - offsets[i];
1016 if (total_bits < 64) {
1017 uint64 bound = 1ull << total_bits;
1021 CHECK_EQ(total_bits, 64);
1084 int total_bits = GetFpTotalBits<T>();
1086 {0, GetMantissaTotalBits<T>(), total_bits - 1, total_bits});
/external/aac/libMpegTPEnc/include/
Dtpenc_lib.h263 INT total_bits,
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_field.h101 int total_bits() const { return total_bits_; } in total_bits() function
Djavanano_message.cc255 int totalInts = (field_generators_.total_bits() + 31) / 32; in Generate()
532 int totalInts = (field_generators_.total_bits() + 31) / 32; in GenerateFieldInitializers()
/external/OpenCSD/decoder/include/opencsd/ptm/
Dtrc_pkt_proc_ptm.h147 uint32_t extractAddress(const int offset,uint8_t &total_bits);
/external/python/rsa/rsa/
Dkey.py604 total_bits = nbits * 2
633 return total_bits == found_size
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c350 unsigned total_bits; in get_z_shift_and_mask() local
358 total_bits = format_desc->block.bits > 32 ? 32 : format_desc->block.bits; in get_z_shift_and_mask()
369 if (*width == total_bits) { in get_z_shift_and_mask()
/external/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()
/external/python/asn1crypto/asn1crypto/
Dcore.py2046 total_bits = 0
2051 if total_bits & 7:
2054 total_bits += bits
2057 return value, total_bits, unused_bits
/external/libpng/
Dpngrtran.c756 int total_bits = PNG_QUANTIZE_RED_BITS + PNG_QUANTIZE_GREEN_BITS + in png_set_quantize() local
761 size_t num_entries = ((size_t)1 << total_bits); in png_set_quantize()

12