Searched defs:lsb (Results 1 - 25 of 68) sorted by relevance

123

/external/sfntly/cpp/src/test/
H A Dverify_hmtx.cc31 HmtxEntry(int32_t advance_width, int32_t lsb) argument
32 : advance_width_(advance_width), lsb_(lsb) {}
/external/harfbuzz_ng/src/
H A Dhb-ot-hmtx-table.hh48 FWORD lsb; /* Leading (left/top) side bearing. */ member in struct:OT::LongMetric
/external/aac/libAACdec/src/
H A Dstereo.cpp259 int lsb = bandScale & 0x03 ; local
261 /* exponent of MantissaTable[lsb][0] is 1, thus msb+1 below. */
262 FIXP_DBL scale = MantissaTable[lsb][0];
H A Dblock.cpp377 * formula: spectrum[i] = Sign(spectrum[i]) * Matissa(spectrum[i])^(4/3) * 2^(lsb/4).
380 * \param lsb last 2 bits of the scale factor of the sfb.
386 INT lsb,
390 const FIXP_DBL * RESTRICT MantissaTabler=(FIXP_DBL *)MantissaTable[lsb];
391 const SCHAR* RESTRICT ExponentTabler=(SCHAR*)ExponentTable[lsb];
485 int lsb = pScaleFactor [bnds] & 0x03 ; local
487 int scale = GetScaleFromValue(locMax, lsb);
490 InverseQuantizeBand(pSpectralCoefficient, noLines, lsb, scale);
384 InverseQuantizeBand( FIXP_DBL * RESTRICT spectrum, INT noLines, INT lsb, INT scale ) argument
/external/aac/libFDK/include/
H A Dqmf.h166 int lsb; /*!< Top of low subbands */ member in struct:QMF_FILTER_BANK
204 int lsb, /*!< Number of lower bands */
222 int lsb, /*!< Number of lower bands */
/external/freetype/src/truetype/
H A Dttdriver.c263 FT_Short lsb; local
267 TT_Get_HMetrics( face, start + nn, &lsb, &aw );
H A Dttgload.c76 FT_Short* lsb,
79 ( (SFNT_Service)face->sfnt )->get_metrics( face, 0, idx, lsb, aw );
82 FT_TRACE5(( " left side bearing (font units): %d\n", *lsb ));
1269 * rsb = aw - (lsb + xmax - xmin)
1271 * (with `aw' the advance width, `lsb' the left side bearing, and `xmin'
1276 * pp1 = (round(xmin - lsb), 0) ,
2191 /* XXX: for now, we have no better algorithm for the lsb, but it */
74 TT_Get_HMetrics( TT_Face face, FT_UInt idx, FT_Short* lsb, FT_UShort* aw ) argument
/external/llvm/lib/Support/
H A DAPFloat.cpp348 unsigned int lsb; local
350 lsb = APInt::tcLSB(parts, partCount);
353 if (bits <= lsb)
355 if (bits == lsb + 1)
/external/pdfium/third_party/freetype/src/truetype/
H A Dttdriver.c219 FT_Short lsb; local
223 TT_Get_HMetrics( face, start + nn, &lsb, &aw );
H A Dttgload.c75 FT_Short* lsb,
78 ( (SFNT_Service)face->sfnt )->get_metrics( face, 0, idx, lsb, aw );
81 FT_TRACE5(( " left side bearing (font units): %d\n", *lsb ));
1245 * rsb = aw - (lsb + xmax - xmin)
1247 * (with `aw' the advance width, `lsb' the left side bearing, and `xmin'
1252 * pp1 = (round(xmin - lsb), 0) ,
2069 /* XXX: for now, we have no better algorithm for the lsb, but it */
73 TT_Get_HMetrics( TT_Face face, FT_UInt idx, FT_Short* lsb, FT_UShort* aw ) argument
/external/swiftshader/third_party/LLVM/lib/Support/
H A DAPFloat.cpp356 unsigned int lsb; local
358 lsb = APInt::tcLSB(parts, partCount);
361 if (bits <= lsb)
363 if (bits == lsb + 1)
/external/vixl/src/aarch32/
H A Dinstructions-aarch32.cc655 uint32_t lsb = imm & -imm;
656 /* if imm is less than lsb*256 then it fits, but instead we test imm/256 to
658 return ((imm >> 8) < lsb);
706 uint32_t lsb = imm & -imm; local
707 /* if imm is less than lsb*256 then it fits, but instead we test imm/256 to
709 return ((imm >> 8) < lsb);
/external/libchrome/base/strings/
H A Dstring_number_conversions.cc292 uint8_t lsb = 0; // least significant 4 bits local
294 !CharToDigit<16>(input[i * 2 + 1], &lsb))
296 output->push_back((msb << 4) | lsb);
/external/protobuf/js/binary/
H A Darith.js119 jspb.arith.UInt64.prototype.lsb = function() {
/external/aac/libFDK/src/
H A Dqmf.cpp478 * Only the lower bands are obtained (upto anaQmf->lsb). For
479 * a full bandwidth analysis it is required to set both anaQmf->lsb
519 for (i = 0; i < anaQmf->lsb; i++) {
531 * Only the lower bands are obtained (upto anaQmf->lsb). For
532 * a full bandwidth analysis it is required to set both anaQmf->lsb
620 * Only the lower bands are obtained (upto anaQmf->lsb). For
621 * a full bandwidth analysis it is required to set both anaQmf->lsb
683 scaleValues(&tReal[0], &qmfReal[0], synQmf->lsb, scaleFactorLowBand);
684 scaleValues(&tReal[0+synQmf->lsb], &qmfReal[0+synQmf->lsb], synQm
968 qmfInitFilterBank(HANDLE_QMF_FILTER_BANK h_Qmf, void *pFilterStates, int noCols, int lsb, int usb, int no_channels, UINT flags) argument
1087 qmfInitAnalysisFilterBank(HANDLE_QMF_FILTER_BANK h_Qmf, FIXP_QAS *pFilterStates, int noCols, int lsb, int usb, int no_channels, int flags) argument
1115 qmfInitSynthesisFilterBank(HANDLE_QMF_FILTER_BANK h_Qmf, FIXP_QSS *pFilterStates, int noCols, int lsb, int usb, int no_channels, int flags) argument
[all...]
/external/aac/libSBRdec/src/
H A Dlpp_tran.cpp858 int lsb = v_k_master[0]; /* Start subband expressed in "non-critical" sampling terms*/ local
859 int xoverOffset = highBandStartSb - lsb; /* Calculate distance in QMF bands between k0 and kx */
870 if ( lsb - SHIFT_START_SB < 4 ) {
885 targetStopBand = lsb + xoverOffset; /* upperBand */
905 if ( numBandsInPatch >= lsb - sourceStartBand ) {
909 numBandsInPatch = lsb - (targetStopBand - patchDistance); /* Update number of bands to be patched */
915 patchDistance = numBandsInPatch + targetStopBand - lsb; /* Get minimal distance */
970 startFreqHz = ( (lsb + xoverOffset)*fs ) >> 7; /* Shift does a division by 2*(64) */
H A Dsbrdec_freq_sca.cpp722 int k2,kx, lsb, usb; local
752 lsb = hFreq->freqBandTable[0][0];
755 /* Additional check for lsb */
756 if ( (lsb > (32)) || (lsb >= usb) ) {
808 hFreq->lowSubband = lsb;
H A Dpsdec.cpp483 int lsb,
516 scaleValues( fixpQmfReal[i], lsb, scale );
517 scaleValues( fixpQmfImag[i], lsb, scale );
525 scaleValues( fixpQmfReal[i], lsb, scale );
526 scaleValues( fixpQmfImag[i], lsb, scale );
534 scaleValues( &fixpQmfReal[i][lsb], (64)-lsb, scale );
535 scaleValues( &fixpQmfImag[i][lsb], (64)-lsb, scale );
557 int lsb, /* sb
480 scalFilterBankValues( HANDLE_PS_DEC h_ps_d, FIXP_DBL **fixpQmfReal, FIXP_DBL **fixpQmfImag, int lsb, int scaleFactorLowBandSplitLow, int scaleFactorLowBandSplitHigh, SCHAR *scaleFactorLowBand_lb, SCHAR *scaleFactorLowBand_hb, int scaleFactorHighBands, INT *scaleFactorHighBand, INT noCols ) argument
554 rescalFilterBankValues( HANDLE_PS_DEC h_ps_d, FIXP_DBL **QmfBufferReal, FIXP_DBL **QmfBufferImag, int lsb, INT noCols) argument
[all...]
/external/pdfium/third_party/lcms2-2.6/src/
H A Dcmsplugin.c365 cmsUInt8Number msb, lsb; local
367 lsb = (cmsUInt8Number) (fixed8 & 0xff);
370 return (cmsFloat64Number) ((cmsFloat64Number) msb + ((cmsFloat64Number) lsb / 256.0));
/external/swiftshader/third_party/LLVM/lib/Target/ARM/InstPrinter/
H A DARMInstPrinter.cpp552 int32_t lsb = CountTrailingZeros_32(v); local
553 int32_t width = (32 - CountLeadingZeros_32 (v)) - lsb;
555 O << '#' << lsb << ", #" << width;
/external/vixl/src/
H A Dutils-vixl.h172 inline uint64_t ExtractUnsignedBitfield64(int msb, int lsb, uint64_t x) { argument
173 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) &&
174 (msb >= lsb));
175 if ((msb == 63) && (lsb == 0)) return x;
176 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1);
180 inline uint32_t ExtractUnsignedBitfield32(int msb, int lsb, uint32_t x) { argument
181 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) &&
182 (msb >= lsb));
183 return TruncateToUint32(ExtractUnsignedBitfield64(msb, lsb,
187 ExtractSignedBitfield64(int msb, int lsb, int64_t x) argument
201 ExtractSignedBitfield32(int msb, int lsb, int32_t x) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMCodeEmitter.cpp1040 int32_t lsb = CountTrailingZeros_32(v); local
1042 // Instr{20-16} = msb, Instr{11-7} = lsb
1044 Binary |= (lsb & 0x1F) << 7;
1051 uint32_t lsb = MI.getOperand(OpIdx++).getImm(); local
1054 // Instr{20-16} = widthm1, Instr{11-7} = lsb
1056 Binary |= (lsb & 0x1F) << 7;
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp1295 // 10 bits. lower 5 bits are are the lsb of the mask, high five bits are the
1299 uint32_t lsb = CountTrailingZeros_32(v); local
1301 assert (v != 0 && lsb < 32 && msb < 32 && "Illegal bitfield mask!");
1302 return lsb | (msb << 5);
/external/v8/src/arm/
H A Ddisasm-arm.cc501 int lsb = (format[6] - '0') * 10 + (format[7] - '0'); local
504 DCHECK((lsb >= 0) && (lsb <= 31));
505 DCHECK((width + lsb) <= 32);
509 instr->Bits(width + lsb - 1, lsb));
/external/v8/src/arm64/
H A Dassembler-arm64.h1141 void bfi(const Register& rd, const Register& rn, int lsb, int width) { argument
1143 DCHECK(lsb + width <= rn.SizeInBits());
1144 bfm(rd, rn, (rd.SizeInBits() - lsb) & (rd.SizeInBits() - 1), width - 1);
1148 void bfxil(const Register& rd, const Register& rn, int lsb, int width) { argument
1150 DCHECK(lsb + width <= rn.SizeInBits());
1151 bfm(rd, rn, lsb, lsb + width - 1);
1162 void sbfiz(const Register& rd, const Register& rn, int lsb, int width) {
1164 DCHECK(lsb + width <= rn.SizeInBits());
1165 sbfm(rd, rn, (rd.SizeInBits() - lsb)
1169 sbfx(const Register& rd, const Register& rn, int lsb, int width) argument
[all...]

Completed in 3504 milliseconds

123