/external/aac/libSYS/src/ |
wav_file.cpp | 253 * \nBits sample size in bits to be used for the buffer 259 INT WAV_InputRead (HANDLE_WAV wav, void *buffer, UINT numSamples, int nBits) 270 if (nBits == wav->header.bitsPerSample) { 285 if (wav->header.bitsPerSample > nBits) 286 tmp >>= (wav->header.bitsPerSample-nBits); 288 tmp <<= (nBits-wav->header.bitsPerSample); 290 if (nBits == 8) 292 if (nBits == 16) 294 if (nBits == 32)
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfWav.cpp | 100 const int NBITS = 16; 101 const int A_OFFSET = 1 << (NBITS - 1); 102 const int M_OFFSET = 1 << (NBITS - 1); 103 const int MOD_MASK = (1 << NBITS) - 1;
|
/external/pdfium/core/src/fxcodec/jbig2/ |
JBig2_TrdProc.cpp | 31 int32_t nVal, nBits; 81 nBits = 0; 88 nBits++; 90 if ((nBits == SBSYMCODES[IDI].codelen) &&
|
/external/aac/libAACdec/src/ |
aacdecoder_lib.cpp | 745 static void aacDecoder_UpdateBitStreamCounters(CStreamInfo *pSi, HANDLE_FDK_BITSTREAM hBs, int nBits, AAC_DECODER_ERROR ErrorStatus) 748 nBits = nBits - FDKgetValidBits(hBs); 759 pSi->bitRate = (nBits * pSi->sampleRate)/pSi->frameSize; 766 nBytes = nBits>>3; 795 INT nBits; 818 nBits = FDKgetValidBits(hBs); 1060 aacDecoder_UpdateBitStreamCounters(&self->streamInfo, hBs, nBits, ErrorStatus); [all...] |
/external/aac/libFDK/src/ |
FDK_crc.cpp | 183 INT nBits 310 * Calculate crc starting at current bitstream postion over nBits. 316 * \param nBits Number of processing bits. 325 INT nBits 332 for (i = 0; (i < nBits); i++) { 341 for (i = 0; (i < nBits); i++) { 351 return nBits; 362 * \param nBits Number of processing bytes.
|
/external/fec/ |
mmxbfly27.s | 6 int update_viterbi27_blk_mmx(struct v27 *vp,unsigned char *syms,int nbits) ; 37 1: movl 16(%ebp),%eax # eax = nbits
|
mmxbfly29.s | 6 void update_viterbi29_blk_mmx(struct v29 *vp,unsigned char *syms,int nbits); 39 1: movl 16(%ebp),%eax # eax = nbits
|
sse2bfly27.s | 6 void update_viterbi27_blk_sse2(struct v27 *vp,unsigned char syms[],int nbits) ; 37 1: movl 16(%ebp),%eax # eax = nbits
|
sse2bfly29.s | 6 void update_viterbi29_blk_sse2(struct v29 *vp,unsigned char *syms,int nbits) ; 38 1: movl 16(%ebp),%eax # eax = nbits
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
packet_util.cpp | 36 int nbits = video->nBitsForMBID; local 55 *next_MB = (int) BitstreamReadBits16(stream, nbits);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
BitSet.java | 57 /* We will often need to do a mod operator (i mod nbits). Its 59 * same as (i & (nbits-1)). Since mod is slow, we use a 78 * @param nbits The size of the bitset in bits 80 public BitSet(int nbits) { 81 bits = new long[((nbits - 1) >> LOG_BITS) + 1];
|
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/ |
LongMath.java | 229 int nBits = LongMath.log2(n, RoundingMode.CEILING); 235 int numeratorBits = nBits; 244 if (numeratorBits + nBits < Long.SIZE - 1) { 248 numeratorBits += nBits; 255 numeratorBits = nBits;
|
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-cr16.c | [all...] |
/external/selinux/policycoreutils/mcstrans/src/ |
mcstrans.c | 131 int nbits; member in struct:cat_constraint 510 constraint->nbits = ebitmap_cardinality(&constraint->cat); 526 int nbits; local 533 nbits = ebitmap_cardinality(&common); 535 if (nbits) { 548 nbits = ebitmap_cardinality(&common); 550 if (nbits > 0) { 554 nbits = ebitmap_cardinality(&common); 556 if ((c->op == '!' && nbits) || 557 (c->op == '>' && nbits != c->nbits)) [all...] |
/external/opencv3/3rdparty/libjpeg/ |
jdhuff.c | 135 #define CHECK_BIT_BUFFER(state,nbits,action) \ 136 { if (bits_left < (nbits)) { \ 137 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \ 141 #define GET_BITS(nbits) \ 142 (((int) (get_buffer >> (bits_left -= (nbits)))) & BIT_MASK(nbits)) 144 #define PEEK_BITS(nbits) \ 145 (((int) (get_buffer >> (bits_left - (nbits)))) & BIT_MASK(nbits)) 147 #define DROP_BITS(nbits) \ [all...] |
/external/aac/libMpegTPEnc/src/ |
tpenc_lib.cpp | 505 INT nbits = 0, nPceBits = 0; local 516 nbits = 0; /* Do not consider the ADIF header into the total bitrate */ 519 nbits = adtsWrite_GetHeaderBits(&hTp->writer.adts); 524 nbits = transportEnc_LatmCountTotalBitDemandHeader( &hTp->writer.latm, auBits ); 527 nbits = 0; 532 nbits += nPceBits; 534 return nbits;
|
/external/libopus/silk/ |
enc_API.c | 150 opus_int n, i, nBits, flags, tmp_payloadSize_ms = 0, tmp_complexity = 0, ret = 0; 384 nBits = silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); 387 nBits -= ec_tell( psRangeEnc ) >> 1; 390 nBits = silk_DIV32_16( nBits, psEnc->state_Fxx[ 0 ].sCmn.nFramesPerPacket - psEnc->state_Fxx[ 0 ].sCmn.nFramesEncoded ); 393 TargetRate_bps = silk_SMULBB( nBits, 100 ); 395 TargetRate_bps = silk_SMULBB( nBits, 50 );
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render_loadimage.cpp | 23 unsigned int GetBits8(const uint8_t* pData, uint64_t bitpos, size_t nbits) { 24 ASSERT(nbits == 1 || nbits == 2 || nbits == 4 || nbits == 8 || nbits == 16); 25 ASSERT((bitpos & (nbits - 1)) == 0); 27 if (nbits == 8) { 30 if (nbits == 4) { 33 if (nbits == 2) [all...] |
/system/bt/embdrv/sbc/decoder/srce/ |
bitalloc.c | 61 OI_UINT16 nbits = frame->nrof_blocks * frame->bitpool; local 63 OI_UINT16 result = nbits; 68 if (frame->mode == SBC_DUAL_CHANNEL) { result += nbits; }
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
ldtoa.c | 53 LDBL_MANT_DIG, /* nbits */
|
/external/dng_sdk/source/ |
dng_lossless_jpeg.cpp | 465 void FillBitBuffer (int32 nbits); 469 void flush_bits (int32 nbits); 471 int32 get_bits (int32 nbits); 1456 * Load up the bit buffer with at least nbits 1468 inline void dng_lossless_decoder::FillBitBuffer (int32 nbits) 1525 if (bitsLeft >= nbits) 2719 int nbits = 1; local 2869 int nbits = temp >= 256 ? numBitsTable [temp >> 8 ] + 8 local 2919 int nbits = temp >= 256 ? numBitsTable [temp >> 8 ] + 8 local [all...] |
/prebuilts/go/darwin-x86/test/ |
divmod.go | 37 func gen(val uint64, nbits, maxbits, pos int, f func(uint64)) { 42 gen(val, nbits, maxbits, pos-1, f) 43 if nbits < maxbits { 44 gen(val|1<<uint(pos), nbits+1, maxbits, pos-1, f)
|
/prebuilts/go/linux-x86/test/ |
divmod.go | 37 func gen(val uint64, nbits, maxbits, pos int, f func(uint64)) { 42 gen(val, nbits, maxbits, pos-1, f) 43 if nbits < maxbits { 44 gen(val|1<<uint(pos), nbits+1, maxbits, pos-1, f)
|
/external/elfutils/libcpu/ |
i386_parse.y | 1288 int nbits = 0; 1296 if (++nbits == 8) 1307 byte = mask = nbits = 0; 1317 while (nbits + remaining > 8) 1320 mask << (8 - nbits), byte << (8 - nbits)); 1321 remaining = nbits + remaining - 8; 1322 byte = mask = nbits = 0; 1328 nbits += remaining; 1329 if (nbits == 8 [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
BitSet.as | 38 /* We will often need to do a mod operator (i mod nbits). Its 40 * same as (i & (nbits-1)). Since mod is slow, we use a
|