Searched refs:bitCount (Results 1 - 25 of 37) sorted by relevance

12

/external/webkit/Source/WebCore/platform/win/
H A DBitmapInfo.cpp36 BitmapInfo bitmapInfoForSize(int width, int height, BitmapInfo::BitCount bitCount) argument
42 bitmapInfo.bmiHeader.biBitCount = bitCount;
54 BitmapInfo BitmapInfo::create(const IntSize& size, BitCount bitCount) argument
56 return bitmapInfoForSize(size.width(), size.height(), bitCount);
59 BitmapInfo BitmapInfo::createBottomUp(const IntSize& size, BitCount bitCount) argument
61 return bitmapInfoForSize(size.width(), -size.height(), bitCount);
H A DBitmapInfo.h48 static BitmapInfo create(const IntSize&, BitCount bitCount = BitCount32);
49 static BitmapInfo createBottomUp(const IntSize&, BitCount bitCount = BitCount32);
/external/aac/libAACenc/src/
H A Dbit_cnt.cpp105 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[
109 FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11(const SHORT *RESTRICT values, const INT width, INT *bitCount) argument
185 FDKaacEnc_count3_4_5_6_7_8_9_10_11(const SHORT *RESTRICT values, const INT width, INT *bitCount) argument
256 FDKaacEnc_count5_6_7_8_9_10_11(const SHORT *RESTRICT values, const INT width, INT *bitCount) argument
311 FDKaacEnc_count7_8_9_10_11(const SHORT *RESTRICT values, const INT width, INT *bitCount) argument
361 FDKaacEnc_count9_10_11(const SHORT *RESTRICT values, const INT width, INT *bitCount) argument
408 FDKaacEnc_count11(const SHORT *RESTRICT values, const INT width, INT *bitCount) argument
449 FDKaacEnc_countEsc(const SHORT *RESTRICT values, const INT width, INT *RESTRICT bitCount) argument
519 FDKaacEnc_bitCount(const SHORT *values, const INT width, INT maxVal, INT *bitCount) argument
[all...]
/external/skia/include/core/
H A DSkRandom.h44 at most bitCount bits.
45 @param bitCount The maximum number of bits to be returned
47 uint32_t nextBits(unsigned bitCount) { argument
48 SkASSERT(bitCount > 0 && bitCount <= 32);
49 return this->nextU() >> (32 - bitCount);
H A DSk64.h105 /** extract 32bits after shifting right by bitCount.
109 int32_t getShiftRight(unsigned bitCount) const;
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DSecureRandom2Test.java162 assertEquals(numBits, Integer.bitCount(random));
166 assertEquals(numBits, Integer.bitCount(random));
170 assertEquals(32, Integer.bitCount(random));
174 assertEquals(0, Integer.bitCount(random));
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_otadata.h53 EAS_U8 bitCount; /* bit count in char */ member in struct:__anon10839
H A Deas_ota.c858 pData->current.bitCount = 0;
883 pData->current.bitCount = 0;
998 bitsLeft = pData->current.bitCount - numBits;
1004 if (pData->current.bitCount)
1018 pData->current.bitCount = (EAS_U8) bitsLeft;
1026 pData->current.bitCount = 0;
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_otadata.h53 EAS_U8 bitCount; /* bit count in char */ member in struct:__anon10889
H A Deas_ota.c858 pData->current.bitCount = 0;
883 pData->current.bitCount = 0;
998 bitsLeft = pData->current.bitCount - numBits;
1004 if (pData->current.bitCount)
1018 pData->current.bitCount = (EAS_U8) bitsLeft;
1026 pData->current.bitCount = 0;
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_otadata.h53 EAS_U8 bitCount; /* bit count in char */ member in struct:__anon10941
H A Deas_ota.c858 pData->current.bitCount = 0;
883 pData->current.bitCount = 0;
998 bitsLeft = pData->current.bitCount - numBits;
1004 if (pData->current.bitCount)
1018 pData->current.bitCount = (EAS_U8) bitsLeft;
1026 pData->current.bitCount = 0;
/external/skia/src/images/
H A DSkImageDecoder_libico.cpp47 //helpers - my function pointer will call one of these, depending on the bitCount, each time through the inner loop
65 static int calculateRowBytesFor8888(int w, int bitCount) argument
71 if (4 == bitCount && (w & 0x1)) {
113 int bitCount = read2Bytes(buf, offset+14); local
117 switch (bitCount)
132 SkDEBUGF(("Image with %ibpp not supported\n", bitCount));
161 int bitCount = read2Bytes(buf, offset+14); local
166 switch (bitCount)
189 SkDEBUGF(("Decoding %ibpp is unimplemented\n", bitCount));
218 int bitWidth = w*bitCount;
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
H A DIntegerTest.java1116 * @tests java.lang.Integer#bitCount(int)
1119 assertEquals(0, Integer.bitCount(0x0));
1120 assertEquals(1, Integer.bitCount(0x1));
1121 assertEquals(1, Integer.bitCount(0x2));
1122 assertEquals(2, Integer.bitCount(0x3));
1123 assertEquals(1, Integer.bitCount(0x4));
1124 assertEquals(2, Integer.bitCount(0x5));
1125 assertEquals(2, Integer.bitCount(0x6));
1126 assertEquals(3, Integer.bitCount(0x7));
1127 assertEquals(1, Integer.bitCount(
[all...]
H A DLongTest.java950 * @tests java.lang.Long#bitCount(long)
953 assertEquals(0, Long.bitCount(0x0));
954 assertEquals(1, Long.bitCount(0x1));
955 assertEquals(1, Long.bitCount(0x2));
956 assertEquals(2, Long.bitCount(0x3));
957 assertEquals(1, Long.bitCount(0x4));
958 assertEquals(2, Long.bitCount(0x5));
959 assertEquals(2, Long.bitCount(0x6));
960 assertEquals(3, Long.bitCount(0x7));
961 assertEquals(1, Long.bitCount(
[all...]
/external/jmonkeyengine/engine/src/android/com/jme3/util/
H A DFastInteger.java200 return bitCount(~i);
213 return bitCount((i & -i) - 1);
225 public static int bitCount(int i) { method in class:FastInteger
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
H A DImageToAwt.java216 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(
[all...]
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DBits.java131 public static int bitCount(int[] bits) { method in class:Bits
136 count += Integer.bitCount(bits[i]);
H A DBitIntSet.java96 return Bits.bitCount(bits);
/external/webkit/Source/JavaScriptCore/wtf/
H A DStdLibExtras.h106 inline size_t bitCount(unsigned bits) function in namespace:WTF
H A DBitmap.h139 result += WTF::bitCount(bits[i]);
/external/aac/libSBRdec/src/
H A Dpsbitdec.cpp108 UCHAR bitCount = 0; local
112 bitCount++;
116 *length = bitCount;
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DSharedBitmap.cpp43 PassRefPtr<SharedBitmap> SharedBitmap::create(const IntSize& size, BitmapInfo::BitCount bitCount, bool initPixels) argument
45 RefPtr<SharedBitmap> resultantBitmap = adoptRef(new SharedBitmap(size, bitCount, initPixels));
61 SharedBitmap::SharedBitmap(const IntSize& size, BitmapInfo::BitCount bitCount, bool initPixels) argument
62 : m_bmpInfo(BitmapInfo::createBottomUp(size, bitCount))
76 if (bitCount == BitmapInfo::BitCount16)
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerOperateBitsTest.java33 * bitCount() of zero.
37 assertEquals(0, aNumber.bitCount());
41 * bitCount() of a negative number.
45 assertEquals(87, aNumber.bitCount());
49 * bitCount() of a negative number.
53 assertEquals(107, aNumber.bitCount());
/external/skia/src/ports/
H A DSkFontHost_win.cpp778 int bitCount = width & 7; local
800 if (bitCount > 0) {
803 for (int i = 0; i < bitCount; i++) {

Completed in 5182 milliseconds

12