Home
last modified time | relevance | path

Searched refs:bitCount (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dcombined_encode.cpp285 Int byteCount = 0, byteCount1 = 0, bitCount = 0; in EncodeSliceCombinedMode() local
367 bitCount = BitstreamGetPos(bs1); in EncodeSliceCombinedMode()
368 byteCount1 = byteCount = bitCount >> 3; /* save the position before GOB header */ in EncodeSliceCombinedMode()
369 bitCount = bitCount & 0x7; in EncodeSliceCombinedMode()
437 bitCount = BitstreamGetPos(bs1); in EncodeSliceCombinedMode()
438 byteCount = bitCount >> 3; /* save the state before encoding */ in EncodeSliceCombinedMode()
439 bitCount = bitCount & 0x7; in EncodeSliceCombinedMode()
469 BitstreamRepos(bs1, byteCount, bitCount); /* rewind one MB */ in EncodeSliceCombinedMode()
594 bitCount = BitstreamGetPos(bs1); in EncodeSliceCombinedMode()
595 byteCount = bitCount >> 3; /* save the position before GOB header */ in EncodeSliceCombinedMode()
[all …]
Dbitstream_io.h44 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount);
Dbitstream_io.cpp581 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount) in BitstreamRepos() argument
591 if (bitCount) in BitstreamRepos()
593 bitstream->bitLeft = (WORD_SIZE << 3) - bitCount; /* bitCount should be 0-31 */ in BitstreamRepos()
/frameworks/base/media/java/android/media/
DAudioFormat.java460 return Integer.bitCount(mask); in channelCountFromInChannelMask()
470 return Integer.bitCount(mask); in channelCountFromOutChannelMask()
713 final int channelIndexCount = Integer.bitCount(getChannelIndexMask()); in AudioFormat()
976 Integer.bitCount(channelMask) != Integer.bitCount(mChannelIndexMask)) { in setChannelMask()
1029 Integer.bitCount(channelIndexMask) != Integer.bitCount(mChannelMask)) { in setChannelIndexMask()
DAudioDeviceInfo.java419 countSet.add(Integer.bitCount(index_mask)); in getChannelCounts()
/frameworks/base/core/java/com/android/internal/widget/
DChildHelper.java495 return Long.bitCount(mData); in countOnesBefore()
497 return Long.bitCount(mData & ((1L << index) - 1)); in countOnesBefore()
500 return Long.bitCount(mData & ((1L << index) - 1)); in countOnesBefore()
502 return mNext.countOnesBefore(index - BITS_PER_WORD) + Long.bitCount(mData); in countOnesBefore()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityNodeInfoTest.java67 action -> Long.bitCount(action.mSerializationFlag) != 1); in testStandardActions_serializationFlagIsValid()
80 action -> Integer.bitCount(action.getId()) == 1 in testStandardActions_serializationFlagIsValid()
/frameworks/libs/net/common/src_frameworkcommon/com/android/net/module/util/
DInet4AddressUtils.java121 int prefixLength = Integer.bitCount(i); in netmaskToPrefixLength()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchState.java332 return Integer.bitCount(mInjectedPointersDown); in getInjectedPointerDownCount()
413 return Integer.bitCount(mReceivedPointersDown); in getReceivedPointerDownCount()
DEventDispatcher.java174 builder.append(Integer.bitCount(mState.getInjectedPointersDown())); in toString()
/frameworks/base/telephony/java/android/telephony/
DRadioAccessFamily.java408 return Long.bitCount(networkTypeBitmaskL) - Long.bitCount(networkTypeBitmaskR); in compare()
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java67 int size = Long.bitCount(val); in unpackBits()
/frameworks/base/core/java/android/util/
DStateSet.java99 final int numBits = Integer.bitCount(i);
/frameworks/base/core/java/android/net/metrics/
DApfProgramEvent.java235 List<String> names = new ArrayList<>(Integer.bitCount(bitfield)); in namesOf()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DProxyController.java647 numRafSupported[len] = Integer.bitCount(mPhones[len].getRadioAccessFamily()); in getMaxRafSupported()
665 numRafSupported[len] = Integer.bitCount(mPhones[len].getRadioAccessFamily()); in getMinRafSupported()
/frameworks/base/core/java/android/net/
DNetworkUtils.java215 return Integer.bitCount(netmask); in netmaskIntToPrefixLength()
DNetworkCapabilities.java1175 if (networkSpecifier != null && Long.bitCount(mTransportTypes) != 1) { in setNetworkSpecifier()
/frameworks/base/core/java/android/view/
DMotionEvent.java3957 final int count = Long.bitCount(bits); in copyFrom()
4015 final int index = Long.bitCount(bits & ~(0xFFFFFFFFFFFFFFFFL >>> axis)); in getAxisValue()
4065 final int index = Long.bitCount(bits & ~(0xFFFFFFFFFFFFFFFFL >>> axis)); in setAxisValue()
4072 final int count = Long.bitCount(bits); in setAxisValue()
DInputEventConsistencyVerifier.java381 Integer.bitCount(mTouchEventStreamPointers); in onTouchEvent()
/frameworks/base/core/java/android/print/
DPrintAttributes.java1378 if ((colorMode & VALID_COLOR_MODES) == 0 || Integer.bitCount(colorMode) != 1) { in enforceValidColorMode()
1384 if ((duplexMode & VALID_DUPLEX_MODES) == 0 || Integer.bitCount(duplexMode) != 1) { in enforceValidDuplexMode()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java965 || ((~SETTABLE_FUNCTIONS & functions) == 0 && Long.bitCount(functions) == 1); in areSettableFunctions()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java359 switch (Long.bitCount(transports)) { in transportsToLinkLayer()
/frameworks/base/core/java/android/widget/
DActionMenuView.java312 float expandCount = Long.bitCount(smallestItemsAt); in onMeasureExactFormat()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java239 final int count = Integer.bitCount(mType & cardTypeMask); in SaveUi()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1755 if (Integer.bitCount(colorModes) != mColorModeSpinnerAdapter.getCount()) { in updateOptionsUi()
1820 if (Integer.bitCount(duplexModes) != mDuplexModeSpinnerAdapter.getCount()) { in updateOptionsUi()

12