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.c414 u32 tmp,numBits,mask; in NumSliceGroupChangeCycleBits() local
428 numBits = 0; in NumSliceGroupChangeCycleBits()
432 while (tmp & (mask<<++numBits)) in NumSliceGroupChangeCycleBits()
434 numBits--; in NumSliceGroupChangeCycleBits()
437 if (tmp & ((1<<numBits)-1)) in NumSliceGroupChangeCycleBits()
438 numBits++; in NumSliceGroupChangeCycleBits()
440 return(numBits); in NumSliceGroupChangeCycleBits()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java67 public String generateNewKeyHexString(int numBits, String algName, String keyName) in generateNewKeyHexString() argument
69 return toHexString(generateNewKey(numBits, algName, keyName)); in generateNewKeyHexString()
72 public byte[] generateNewKey(int numBits, String algName, String keyName) in generateNewKey() argument
83 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/
Davc_utils.cpp458 unsigned numBits = 0; in ExtractDimensionsFromVOLHeader() local
460 ++numBits; in ExtractDimensionsFromVOLHeader()
464 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()
/frameworks/av/libvideoeditor/vss/mcs/src/
DM4MCS_API.c208 M4OSA_UInt32 H264MCS_getBits( ComBitStreamMCS_t *p_bs, M4OSA_UInt32 numBits ) in H264MCS_getBits() argument
213 p_bs->i8BitCnt -= numBits; in H264MCS_getBits()
217 ui32RetBits = p_bs->ui32TempBuff >> (32 - numBits); in H264MCS_getBits()
220 p_bs->ui32TempBuff <<= numBits; in H264MCS_getBits()
221 p_bs->bitPos += numBits; in H264MCS_getBits()
265 M4OSA_Void H264MCS_flushBits( ComBitStreamMCS_t *p_bs, M4OSA_UInt32 numBits ) in H264MCS_flushBits() argument
269 p_bs->i8BitCnt -= numBits; in H264MCS_flushBits()
272 p_bs->ui32TempBuff <<= numBits; in H264MCS_flushBits()
273 p_bs->bitPos += numBits; in H264MCS_flushBits()
/frameworks/base/core/java/android/view/
DView.java1442 int numBits = Integer.bitCount(i);
1443 int[] set = new int[numBits];