Searched refs:num_bits (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | buildCommonTypesStructureFile.py | 156 num_bits = bin(string_int).count("1") 157 if num_bits > 1: 159 … .format(component_type_numerical_value, component_type_name, bin(string_int), num_bits)) 170 num_bits = bin(string_int).count("1") 171 if num_bits > 1: 173 … .format(component_type_numerical_value, component_type_name, bin(string_int), num_bits))
|
D | buildPolicyCriterionTypes.py | 243 num_bits = bin(string_int).count("1") 244 if num_bits > 1: 246 … .format(criterion_numerical_value, criterion_literal, criterion_name, bin(string_int), num_bits)) 267 num_bits = bin(string_int).count("1") 268 if num_bits > 1: 270 … .format(criterion_numerical_value, criterion_literal, criterion_name, bin(string_int), num_bits))
|
/frameworks/av/media/module/codecs/m4v_h263/enc/src/ |
D | combined_encode.cpp | 51 Int num_bits, packet_size = encParams->ResyncPacketsize; in EncodeFrameCombinedMode() local 177 num_bits = BitstreamGetPos(bs1) - numHeaderBits; in EncodeFrameCombinedMode() 178 if (num_bits > packet_size) in EncodeFrameCombinedMode() 281 Int num_bits = 0; in EncodeSliceCombinedMode() local 414 num_bits = BitstreamGetPos(bs1); in EncodeSliceCombinedMode() 416 numHeaderBits = BitstreamGetPos(bs1) - num_bits; in EncodeSliceCombinedMode() 463 num_bits = BitstreamGetPos(bs1) ;//- numHeaderBits; // include header in EncodeSliceCombinedMode() 466 if (num_bits > packet_size && mbnum != firstMB) in EncodeSliceCombinedMode() 511 num_bits = BitstreamGetPos(bs1) - (byteCount << 3); in EncodeSliceCombinedMode() 514 BitstreamFlushBits(bs1, num_bits); in EncodeSliceCombinedMode() [all …]
|
D | datapart_encode.cpp | 50 Int num_bits, packet_size = encParams->ResyncPacketsize; in EncodeFrameDataPartMode() local 144 num_bits = BitstreamGetPos(bs1) + BitstreamGetPos(bs2) + in EncodeFrameDataPartMode() 149 if (num_bits > packet_size) in EncodeFrameDataPartMode() 228 Int num_bits = 0; in EncodeSliceDataPartMode() local 328 num_bits = BitstreamGetPos(bs1); in EncodeSliceDataPartMode() 330 numHeaderBits = BitstreamGetPos(bs1) - num_bits; in EncodeSliceDataPartMode() 373 num_bits = BitstreamGetPos(bs1) + BitstreamGetPos(bs2) + in EncodeSliceDataPartMode() 377 if (num_bits > packet_size && mbnum != firstMB) /* encoding at least one more MB*/ in EncodeSliceDataPartMode()
|
/frameworks/av/media/module/codecs/m4v_h263/dec/src/ |
D | bitstream.cpp | 53 int num_bits, i; in BitstreamFillCache() local 58 num_bits = stream->incnt_next + stream->incnt; in BitstreamFillCache() 59 if (num_bits >= 32) in BitstreamFillCache() 72 stream->incnt = num_bits; in BitstreamFillCache() 85 stream->curr_word |= (stream->next_word >> num_bits); // this is safe in BitstreamFillCache() 87 stream->next_word <<= (31 - num_bits); in BitstreamFillCache() 89 num_bits = i << 3; in BitstreamFillCache() 91 stream->incnt_next = num_bits - (32 - stream->incnt); in BitstreamFillCache() 94 stream->incnt += num_bits; in BitstreamFillCache() 107 stream->curr_word |= (stream->next_word >> num_bits); // this is safe in BitstreamFillCache() [all …]
|
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 49 def num_bits(n): function 351 link_shift = num_bits(max(ch_map.values())) 353 pattern_shift = link_shift + num_bits(n_trie - 1)
|