Home
last modified time | relevance | path

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

/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()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc441 int total_bits = 0; in CalculateHasBits() local
444 field_generators_[i]->SetRuntimeHasBit(total_bits); in CalculateHasBits()
445 ++total_bits; in CalculateHasBits()
451 field_generators_[i]->SetExtraRuntimeHasBitsBase(total_bits); in CalculateHasBits()
452 total_bits += extra_bits; in CalculateHasBits()
455 return total_bits; in CalculateHasBits()
/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/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/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/libpng/
Dpngrtran.c745 int total_bits = PNG_QUANTIZE_RED_BITS + PNG_QUANTIZE_GREEN_BITS + in png_set_quantize() local
750 png_size_t num_entries = ((png_size_t)1 << total_bits); in png_set_quantize()
/external/pdfium/third_party/libpng16/
Dpngrtran.c742 int total_bits = PNG_QUANTIZE_RED_BITS + PNG_QUANTIZE_GREEN_BITS + in png_set_quantize() local
747 png_size_t num_entries = ((png_size_t)1 << total_bits); in png_set_quantize()