Home
last modified time | relevance | path

Searched refs:num_bits (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DbuildCommonTypesStructureFile.py156 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))
DbuildPolicyCriterionTypes.py243 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/
Dcombined_encode.cpp51 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 …]
Ddatapart_encode.cpp50 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/
Dbitstream.cpp53 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/
Dmk_hyb_file.py49 def num_bits(n): function
351 link_shift = num_bits(max(ch_map.values()))
353 pattern_shift = link_shift + num_bits(n_trie - 1)