Home
last modified time | relevance | path

Searched refs:nBits (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/opus/src/silk/float/
Dencode_frame_FLP.c92 opus_int32 seed_copy, nBits, nBits_lower, nBits_upper, gainMult_lower, gainMult_upper; in silk_encode_frame_FLP() local
175 nBits = nBits_lower; in silk_encode_frame_FLP()
177 nBits = nBits_upper; in silk_encode_frame_FLP()
204 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FLP()
206 if( useCBR == 0 && iter == 0 && nBits <= maxBits ) { in silk_encode_frame_FLP()
212 if( found_lower && ( gainsID == gainsID_lower || nBits > maxBits ) ) { in silk_encode_frame_FLP()
223 if( nBits > maxBits ) { in silk_encode_frame_FLP()
231 nBits_upper = nBits; in silk_encode_frame_FLP()
235 } else if( nBits < maxBits - 5 ) { in silk_encode_frame_FLP()
237 nBits_lower = nBits; in silk_encode_frame_FLP()
[all …]
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-2499.js30 function foo(word, nBits) { argument
31 return (word[1] >>> nBits) | (word[0] << (32 - nBits));
/external/chromium_org/third_party/opus/src/silk/fixed/
Dencode_frame_FIX.c91 opus_int32 seed_copy, nBits, nBits_lower, nBits_upper, gainMult_lower, gainMult_upper; in silk_encode_frame_FIX() local
180 nBits = nBits_lower; in silk_encode_frame_FIX()
182 nBits = nBits_upper; in silk_encode_frame_FIX()
217 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FIX()
219 if( useCBR == 0 && iter == 0 && nBits <= maxBits ) { in silk_encode_frame_FIX()
225 if( found_lower && ( gainsID == gainsID_lower || nBits > maxBits ) ) { in silk_encode_frame_FIX()
236 if( nBits > maxBits ) { in silk_encode_frame_FIX()
244 nBits_upper = nBits; in silk_encode_frame_FIX()
248 } else if( nBits < maxBits - 5 ) { in silk_encode_frame_FIX()
250 nBits_lower = nBits; in silk_encode_frame_FIX()
[all …]
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_util.cpp242 bool BitSet::resize(unsigned int nBits) in resize() argument
244 if (!data || !nBits) in resize()
245 return allocate(nBits, true); in resize()
247 const unsigned int n = (nBits + 31) / 32; in resize()
259 size = nBits; in resize()
263 bool BitSet::allocate(unsigned int nBits, bool zero) in allocate() argument
265 if (data && size < nBits) { in allocate()
269 size = nBits; in allocate()
277 if (nBits) in allocate()
Dnv50_ir_util.h477 BitSet(unsigned int nBits, bool zero) : marker(false), data(0), size(0) in BitSet() argument
479 allocate(nBits, zero); in BitSet()
487 bool allocate(unsigned int nBits, bool zero);
488 bool resize(unsigned int nBits); // keep old data, zero additional bits
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
Dnv50_ir_util.cpp242 bool BitSet::resize(unsigned int nBits) in resize() argument
244 if (!data || !nBits) in resize()
245 return allocate(nBits, true); in resize()
247 const unsigned int n = (nBits + 31) / 32; in resize()
259 size = nBits; in resize()
263 bool BitSet::allocate(unsigned int nBits, bool zero) in allocate() argument
265 if (data && size < nBits) { in allocate()
269 size = nBits; in allocate()
277 if (nBits) in allocate()
Dnv50_ir_util.h477 BitSet(unsigned int nBits, bool zero) : marker(false), data(0), size(0) in BitSet() argument
479 allocate(nBits, zero); in BitSet()
487 bool allocate(unsigned int nBits, bool zero);
488 bool resize(unsigned int nBits); // keep old data, zero additional bits
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
Dcrypto-aes.js164 function AESEncryptCtr(plaintext, password, nBits) { argument
165 if (!(nBits==128 || nBits==192 || nBits==256)) return ''; // standard allows 128/192/256 bit keys
169 var nBytes = nBits/8; // no bytes in key
230 function AESDecryptCtr(ciphertext, password, nBits) { argument
231 if (!(nBits==128 || nBits==192 || nBits==256)) return ''; // standard allows 128/192/256 bit keys
233 var nBytes = nBits/8; // no bytes in key
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Dcrypto-aes.js164 function AESEncryptCtr(plaintext, password, nBits) { argument
165 if (!(nBits==128 || nBits==192 || nBits==256)) return ''; // standard allows 128/192/256 bit keys
169 var nBytes = nBits/8; // no bytes in key
230 function AESDecryptCtr(ciphertext, password, nBits) { argument
231 if (!(nBits==128 || nBits==192 || nBits==256)) return ''; // standard allows 128/192/256 bit keys
233 var nBytes = nBits/8; // no bytes in key
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
Dcrypto-aes.js164 function AESEncryptCtr(plaintext, password, nBits) { argument
165 if (!(nBits==128 || nBits==192 || nBits==256)) return ''; // standard allows 128/192/256 bit keys
169 var nBytes = nBits/8; // no bytes in key
230 function AESDecryptCtr(ciphertext, password, nBits) { argument
231 if (!(nBits==128 || nBits==192 || nBits==256)) return ''; // standard allows 128/192/256 bit keys
233 var nBytes = nBits/8; // no bytes in key
/external/aac/libSYS/src/
Dwav_file.cpp259 INT WAV_InputRead (HANDLE_WAV wav, void *buffer, UINT numSamples, int nBits) in WAV_InputRead() argument
270 if (nBits == wav->header.bitsPerSample) { in WAV_InputRead()
285 if (wav->header.bitsPerSample > nBits) in WAV_InputRead()
286 tmp >>= (wav->header.bitsPerSample-nBits); in WAV_InputRead()
288 tmp <<= (nBits-wav->header.bitsPerSample); in WAV_InputRead()
290 if (nBits == 8) in WAV_InputRead()
292 if (nBits == 16) in WAV_InputRead()
294 if (nBits == 32) in WAV_InputRead()
/external/aac/libSBRdec/src/
Dsbr_crc.cpp101 calcCRC (HANDLE_CRC hCrcBuf, ULONG bValue, int nBits) in calcCRC() argument
104 ULONG bMask = (1UL << (nBits - 1)); in calcCRC()
106 for (i = 0; i < nBits; i++, bMask >>= 1) { in calcCRC()
/external/aac/libFDK/src/
DFDK_crc.cpp183 INT nBits
325 INT nBits in calcCrc_Bits() argument
332 for (i = 0; (i < nBits); i++) { in calcCrc_Bits()
341 for (i = 0; (i < nBits); i++) { in calcCrc_Bits()
351 return nBits; in calcCrc_Bits()
DFDK_bitbuffer.cpp206 int nBits = (INT)hBitBuf->bufBits-(INT)hBitBuf->BitNdx; in FDK_get32() local
208 UINT cache = FDK_get (hBitBuf,nBits)<< (32-nBits); in FDK_get32()
209 cache |= (FDK_get (hBitBuf,32-nBits)); in FDK_get32()
/external/aac/libAACdec/src/
Daacdecoder_lib.cpp665 …r_UpdateBitStreamCounters(CStreamInfo *pSi, HANDLE_FDK_BITSTREAM hBs, int nBits, AAC_DECODER_ERROR… in aacDecoder_UpdateBitStreamCounters() argument
668 nBits = nBits - FDKgetValidBits(hBs); in aacDecoder_UpdateBitStreamCounters()
679 pSi->bitRate = (nBits * pSi->sampleRate)/pSi->frameSize; in aacDecoder_UpdateBitStreamCounters()
686 nBytes = nBits>>3; in aacDecoder_UpdateBitStreamCounters()
715 INT nBits; in aacDecoder_DecodeFrame() local
733 nBits = FDKgetValidBits(hBs); in aacDecoder_DecodeFrame()
909 aacDecoder_UpdateBitStreamCounters(&self->streamInfo, hBs, nBits, ErrorStatus); in aacDecoder_DecodeFrame()
/external/chromium_org/third_party/opus/src/silk/
Denc_API.c149 opus_int n, i, nBits, flags, tmp_payloadSize_ms = 0, tmp_complexity = 0, ret = 0; in silk_Encode() local
379nBits = silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); in silk_Encode()
382 nBits -= ec_tell( psRangeEnc ) >> 1; in silk_Encode()
385nBits = silk_DIV32_16( nBits, psEnc->state_Fxx[ 0 ].sCmn.nFramesPerPacket - psEnc->state_Fxx[ 0 ].… in silk_Encode()
388 TargetRate_bps = silk_SMULBB( nBits, 100 ); in silk_Encode()
390 TargetRate_bps = silk_SMULBB( nBits, 50 ); in silk_Encode()
/external/valgrind/main/memcheck/
Dmc_main.c1133 ULong mc_LOADVn_slow ( Addr a, SizeT nBits, Bool bigendian ) in mc_LOADVn_slow() argument
1146 && nBits == 64 && VG_IS_8_ALIGNED(a))) { in mc_LOADVn_slow()
1157 && nBits == 32 && VG_IS_4_ALIGNED(a))) { in mc_LOADVn_slow()
1171 SSizeT szB = nBits / 8; in mc_LOADVn_slow()
1178 tl_assert(nBits == 64 || nBits == 32 || nBits == 16 || nBits == 8); in mc_LOADVn_slow()
1262 void mc_STOREVn_slow ( Addr a, SizeT nBits, ULong vbytes, Bool bigendian ) in mc_STOREVn_slow() argument
1264 SizeT szB = nBits / 8; in mc_STOREVn_slow()
1281 && nBits == 64 && VG_IS_8_ALIGNED(a))) { in mc_STOREVn_slow()
1303 && nBits == 32 && VG_IS_4_ALIGNED(a))) { in mc_STOREVn_slow()
1326 tl_assert(nBits == 64 || nBits == 32 || nBits == 16 || nBits == 8); in mc_STOREVn_slow()
/external/aac/libMpegTPDec/src/
Dtpdec_asc.cpp643 static INT getSampleRate(HANDLE_FDK_BITSTREAM bs, UCHAR *index, int nBits) in getSampleRate() argument
648 idx = FDKreadBits(bs, nBits); in getSampleRate()
649 if( idx == (1<<nBits)-1 ) { in getSampleRate()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRBitSet.m251 - (void) setSize:(NSUInteger) nBits
253 CFBitVectorSetCount( bitVector, nBits );
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DImageToAwt.java410 int[] nBits = {5, 5, 5, 1}; in convert() local
412 ColorModel colorModel = new ComponentColorModel(cs, nBits, true, false, in convert()