HomeSort by relevance Sort by last modified time
    Searched full:bitcount (Results 1 - 25 of 144) sorted by null

1 2 3 4 5 6

  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
armCOMM_BitDec_s.h 75 GBLS BitCount ;// Register name for BitCount
85 ;// BitCount - is offset (from the top bit) to the next unused bitstream bit
86 ;// 0<=BitCount<=15 (so BitBuffer holds at least 17 unused bits)
102 ;// $RBitCount - register to use for BitCount (can be $pBitOffset)
110 ;// $BitCount /
117 BitCount SETS "$RBitCount"
121 LDR $BitCount, [$pBitOffset]
129 ADD $BitCount, $BitCount, #
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
armCOMM_BitDec_s.h 75 GBLS BitCount ;// Register name for BitCount
85 ;// BitCount - is offset (from the top bit) to the next unused bitstream bit
86 ;// 0<=BitCount<=15 (so BitBuffer holds at least 17 unused bits)
102 ;// $RBitCount - register to use for BitCount (can be $pBitOffset)
110 ;// $BitCount /
117 BitCount SETS "$RBitCount"
121 LDR $BitCount, [$pBitOffset]
129 ADD $BitCount, $BitCount, #
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
bit_cnt.c 38 * output: bitCount for tables 1-11
44 Word16 *bitCount)
94 bitCount[1]=extract_h(bc1_2);
95 bitCount[2]=extract_l(bc1_2);
96 bitCount[3]=extract_h(bc3_4) + sc;
97 bitCount[4]=extract_l(bc3_4) + sc;
98 bitCount[5]=extract_h(bc5_6);
99 bitCount[6]=extract_l(bc5_6);
100 bitCount[7]=extract_h(bc7_8) + sc;
101 bitCount[8]=extract_l(bc7_8) + sc
    [all...]
  /external/aac/libAACenc/src/
bit_cnt.cpp 105 output: bitCount for tables 1-11
111 INT *bitCount)
160 bitCount[1]=HI_LTAB(bc1_2);
161 bitCount[2]=LO_LTAB(bc1_2);
162 bitCount[3]=HI_LTAB(bc3_4)+sc;
163 bitCount[4]=LO_LTAB(bc3_4)+sc;
164 bitCount[5]=HI_LTAB(bc5_6);
165 bitCount[6]=LO_LTAB(bc5_6);
166 bitCount[7]=HI_LTAB(bc7_8)+sc;
167 bitCount[8]=LO_LTAB(bc7_8)+sc
    [all...]
  /libcore/luni/src/main/java/java/util/
HugeEnumSet.java 153 size += Long.bitCount(newBits) - Long.bitCount(oldBits);
184 size += Long.bitCount(b);
284 size += Long.bitCount(newBits) - Long.bitCount(oldBits);
313 size += Long.bitCount(newBits) - Long.bitCount(oldBits);
334 size -= Long.bitCount(bits[startIndex]);
336 size += Long.bitCount(bits[startIndex]);
340 size -= Long.bitCount(bits[startIndex])
    [all...]
MiniEnumSet.java 133 size = Long.bitCount(newBits);
180 size = Long.bitCount(newBits);
206 size = Long.bitCount(newBits);
259 size = Long.bitCount(bits);
BitSet.java 81 * Creates a new {@code BitSet} with size equal to {@code bitCount}, rounded up to
84 * @throws NegativeArraySizeException if {@code bitCount < 0}.
86 public BitSet(int bitCount) {
87 if (bitCount < 0) {
88 throw new NegativeArraySizeException(Integer.toString(bitCount));
90 this.bits = arrayForBits(bitCount);
100 private static long[] arrayForBits(int bitCount) {
101 return new long[(bitCount + 63)/ 64];
663 result += Long.bitCount(bits[i]);
737 int bitCount = length()
    [all...]
  /external/chromium_org/third_party/skia/include/utils/
SkRandom.h 59 at most bitCount bits.
60 @param bitCount The maximum number of bits to be returned
62 uint32_t nextBits(unsigned bitCount) {
63 SkASSERT(bitCount > 0 && bitCount <= 32);
64 return this->nextU() >> (32 - bitCount);
212 at most bitCount bits.
213 @param bitCount The maximum number of bits to be returned
215 uint32_t nextBits(unsigned bitCount) {
216 SkASSERT(bitCount > 0 && bitCount <= 32)
    [all...]
  /external/skia/include/utils/
SkRandom.h 59 at most bitCount bits.
60 @param bitCount The maximum number of bits to be returned
62 uint32_t nextBits(unsigned bitCount) {
63 SkASSERT(bitCount > 0 && bitCount <= 32);
64 return this->nextU() >> (32 - bitCount);
212 at most bitCount bits.
213 @param bitCount The maximum number of bits to be returned
215 uint32_t nextBits(unsigned bitCount) {
216 SkASSERT(bitCount > 0 && bitCount <= 32)
    [all...]
  /external/tremolo/Tremolo/
bitwise.c 389 long i,bitcount=0; local
412 bitcount+=tbit;
414 if(bitcount!=oggpack_bits(&r))
416 if((bitcount+7)/8!=oggpack_bytes(&r))
420 if(oggpack_bytes(&r)!=(bitcount+7)/8){
421 fprintf(stderr, "%d vs %d\n", oggpack_bytes(&r), (bitcount+7)/8);
439 report("\nERROR: read to but not past exact end reported bad bitcount.\n");
445 report("\nERROR: read past exact end reported bad bitcount.\n");
452 report("\nERROR: read past exact end reported bad bitcount.\n");
473 report("\nERROR: read to but not past exact end reported bad bitcount.\n")
689 long j,count=0,count2=0,bitcount=0; local
758 int bitoffset,bitcount=0; local
    [all...]
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libico.cpp 44 //helpers - my function pointer will call one of these, depending on the bitCount, each time through the inner loop
62 static int calculateRowBytesFor8888(int w, int bitCount)
68 if (4 == bitCount && (w & 0x1)) {
111 int bitCount = read2Bytes(buf, offset+14);
115 switch (bitCount)
130 SkDEBUGF(("Image with %ibpp not supported\n", bitCount));
173 int bitCount = read2Bytes(buf, offset+14);
178 switch (bitCount)
201 SkDEBUGF(("Decoding %ibpp is unimplemented\n", bitCount));
230 int bitWidth = w*bitCount;
    [all...]
  /external/skia/src/images/
SkImageDecoder_libico.cpp 44 //helpers - my function pointer will call one of these, depending on the bitCount, each time through the inner loop
62 static int calculateRowBytesFor8888(int w, int bitCount)
68 if (4 == bitCount && (w & 0x1)) {
111 int bitCount = read2Bytes(buf, offset+14);
115 switch (bitCount)
130 SkDEBUGF(("Image with %ibpp not supported\n", bitCount));
173 int bitCount = read2Bytes(buf, offset+14);
178 switch (bitCount)
201 SkDEBUGF(("Decoding %ibpp is unimplemented\n", bitCount));
230 int bitWidth = w*bitCount;
    [all...]
  /libcore/luni/src/main/java/java/math/
BitLevel.java 61 /** @see BigInteger#bitCount() */
62 static int bitCount(BigInteger val) {
73 bCount += Integer.bitCount(val.digits[i]);
77 bCount += Integer.bitCount(-val.digits[i]);
79 bCount += Integer.bitCount(~val.digits[i]);
105 int bitCount = numberOfBits & 31;
111 return ((i != intCount) || (digits[i] << (32 - bitCount) != 0));
  /external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
ImageToAwt.java 216 int reductionA = 8 - Integer.bitCount(p.am);
217 int reductionR = 8 - Integer.bitCount(p.rm);
218 int reductionG = 8 - Integer.bitCount(p.gm);
219 int reductionB = 8 - Integer.bitCount(p.bm);
329 int expansionA = 8 - Integer.bitCount(inParams.am);
330 int expansionR = 8 - Integer.bitCount(inParams.rm);
331 int expansionG = 8 - Integer.bitCount(inParams.gm);
332 int expansionB = 8 - Integer.bitCount(inParams.bm);
432 int expansionA = 8 - Integer.bitCount(p.am);
433 int expansionR = 8 - Integer.bitCount(p.rm)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
LongTest.java     [all...]
IntegerTest.java     [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
combined_encode.cpp 285 Int byteCount = 0, byteCount1 = 0, bitCount = 0;
367 bitCount = BitstreamGetPos(bs1);
368 byteCount1 = byteCount = bitCount >> 3; /* save the position before GOB header */
369 bitCount = bitCount & 0x7;
437 bitCount = BitstreamGetPos(bs1);
438 byteCount = bitCount >> 3; /* save the state before encoding */
439 bitCount = bitCount & 0x7;
469 BitstreamRepos(bs1, byteCount, bitCount); /* rewind one MB *
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
SecureRandom2Test.java 162 assertEquals(numBits, Integer.bitCount(random));
166 assertEquals(numBits, Integer.bitCount(random));
170 assertEquals(32, Integer.bitCount(random));
174 assertEquals(0, Integer.bitCount(random));
  /external/ipsec-tools/src/racoon/missing/crypto/sha2/
sha2.h 92 uint64_t bitcount;
97 uint64_t bitcount[2];
105 u_int64_t bitcount; member in struct:_SHA256_CTX
110 u_int64_t bitcount[2]; member in struct:_SHA512_CTX
sha2.c 340 context->bitcount = 0;
529 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
537 context->bitcount += freespace << 3;
544 context->bitcount += len << 3;
553 context->bitcount += SHA256_BLOCK_LENGTH << 3;
560 context->bitcount += len << 3;
575 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
578 REVERSE64(context->bitcount,context->bitcount);
605 *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount;
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
IntegerBenchmark.java 67 // delegate to Integer.bitCount(i); consider using native code
86 int count = Integer.bitCount((int) (l & 0xffffffffL));
87 count += Integer.bitCount((int) (l >>> 32));
94 t += Long.bitCount((long) i);
  /external/openssh/openbsd-compat/
sha2.c 289 context->bitcount = 0;
459 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
467 context->bitcount += freespace << 3;
474 context->bitcount += len << 3;
483 context->bitcount += SHA256_BLOCK_LENGTH << 3;
490 context->bitcount += len << 3;
501 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
530 context->bitcount);
569 context->bitcount[0] = context->bitcount[1] = 0
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/inc/
bit_cnt.h 94 Word16 bitCount(const Word16 *aQuantSpectrum,
  /external/chromium_org/third_party/freetype/src/cff/
cf2intrp.c 110 size_t bitCount )
112 if ( bitCount > CF2_MAX_HINTS )
119 hintmask->bitCount = bitCount;
120 hintmask->byteCount = ( hintmask->bitCount + 7 ) / 8;
125 return bitCount;
134 size_t bitCount )
142 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1;
147 if ( cf2_hintmask_setCounts( hintmask, bitCount ) == 0 )
165 /* bitCount -> mask, 0 -> 0, 1 -> 7f, 2 -> 3f, ... 6 -> 3, 7 -> 1 *
    [all...]
  /external/freetype/src/cff/
cf2intrp.c 110 size_t bitCount )
112 if ( bitCount > CF2_MAX_HINTS )
119 hintmask->bitCount = bitCount;
120 hintmask->byteCount = ( hintmask->bitCount + 7 ) / 8;
125 return bitCount;
134 size_t bitCount )
142 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1;
147 if ( cf2_hintmask_setCounts( hintmask, bitCount ) == 0 )
165 /* bitCount -> mask, 0 -> 0, 1 -> 7f, 2 -> 3f, ... 6 -> 3, 7 -> 1 *
    [all...]

Completed in 1193 milliseconds

1 2 3 4 5 6