Home
last modified time | relevance | path

Searched refs:numBits (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_stream.c72 u32 h264bsdGetBits(strmData_t *pStrmData, u32 numBits) in h264bsdGetBits() argument
78 ASSERT(numBits < 32); in h264bsdGetBits()
80 out = h264bsdShowBits32(pStrmData) >> (32 - numBits); in h264bsdGetBits()
82 if (h264bsdFlushBits(pStrmData, numBits) == HANTRO_OK) in h264bsdGetBits()
188 u32 h264bsdFlushBits(strmData_t *pStrmData, u32 numBits) in h264bsdFlushBits() argument
197 pStrmData->strmBuffReadBits += numBits; in h264bsdFlushBits()
Dh264bsd_cavlc.c332 #define BUFFER_SHOW(value, bits, outVal, numBits) \ argument
334 if (bits < (numBits)) \
341 (outVal) = value >> (32 - (numBits)); \
345 #define BUFFER_FLUSH(value, bits, numBits) \ argument
347 value <<= (numBits); \
348 bits -= (numBits); \
353 #define BUFFER_GET(value, bits, outVal, numBits) \ argument
355 if (bits < (numBits)) \
362 (outVal) = value >> (32 - (numBits)); \
363 value <<= (numBits); \
[all …]
Dh264bsd_stream.h58 u32 h264bsdGetBits(strmData_t *pStrmData, u32 numBits);
62 u32 h264bsdFlushBits(strmData_t *pStrmData, u32 numBits);
Dh264bsd_slice_header.c416 u32 tmp,numBits,mask; in NumSliceGroupChangeCycleBits() local
430 numBits = 0; in NumSliceGroupChangeCycleBits()
434 while (tmp & (mask<<++numBits)) in NumSliceGroupChangeCycleBits()
436 numBits--; in NumSliceGroupChangeCycleBits()
439 if (tmp & ((1<<numBits)-1)) in NumSliceGroupChangeCycleBits()
440 numBits++; in NumSliceGroupChangeCycleBits()
442 return(numBits); in NumSliceGroupChangeCycleBits()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java65 public String generateNewKeyHexString(int numBits, String algName, String keyName) in generateNewKeyHexString() argument
67 return toHexString(generateNewKey(numBits, algName, keyName)); in generateNewKeyHexString()
70 public byte[] generateNewKey(int numBits, String algName, String keyName) in generateNewKey() argument
81 skg.init(numBits, srng); in generateNewKey()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
Dh264bsdFlushBits.S26 #define numBits r1 macro
55 ADD readBits, readBits, numBits
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
Dh264bsdFlushBits.s26 numBits RN 1 label
57 ADD readBits, readBits, numBits
/frameworks/av/media/libstagefright/foundation/
DABitReader.cpp142 size_t numBits = numBitsLeft(); in atLeastNumBitsLeft() local
143 if (n > numBits) { in atLeastNumBitsLeft()
/frameworks/base/core/java/android/util/
DStateSet.java99 final int numBits = Integer.bitCount(i);
100 final int[] set = new int[numBits];
/frameworks/av/media/libstagefright/
Davc_utils.cpp620 unsigned numBits = 0; in ExtractDimensionsFromVOLHeader() local
622 ++numBits; in ExtractDimensionsFromVOLHeader()
626 br.skipBits(numBits); // fixed_vop_time_increment in ExtractDimensionsFromVOLHeader()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dheader.cpp232 int i, iGroup, numBits; in EncodePPS() local
274 numBits = 0;/* ceil(log2(num_slice_groups_minus1+1)) bits */ in EncodePPS()
278 numBits++; in EncodePPS()
284 status = BitstreamWriteBits(stream, numBits, picParam->slice_group_id[i]); in EncodePPS()