Searched defs:lsb (Results 1 - 25 of 57) 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.cpp378 * formula: spectrum[i] = Sign(spectrum[i]) * Matissa(spectrum[i])^(4/3) * 2^(lsb/4).
381 * \param lsb last 2 bits of the scale factor of the sfb.
387 INT lsb,
391 const FIXP_DBL * RESTRICT MantissaTabler=(FIXP_DBL *)MantissaTable[lsb];
392 const SCHAR* RESTRICT ExponentTabler=(SCHAR*)ExponentTable[lsb];
486 int lsb = pScaleFactor [bnds] & 0x03 ; local
488 int scale = GetScaleFromValue(locMax, lsb);
491 InverseQuantizeBand(pSpectralCoefficient, noLines, lsb, scale);
385 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.c246 FT_Short lsb; local
250 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 ));
1259 * rsb = aw - (lsb + xmax - xmin)
1261 * (with `aw' the advance width, `lsb' the left side bearing, and `xmin'
1266 * pp1 = (round(xmin - lsb), 0) ,
2157 /* 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.cpp347 unsigned int lsb; local
349 lsb = APInt::tcLSB(parts, partCount);
352 if (bits <= lsb)
354 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/v8/src/arm/
H A Dmacro-assembler-arm.cc308 void MacroAssembler::Ubfx(Register dst, Register src1, int lsb, int width, argument
310 DCHECK(lsb < 32);
312 int mask = (1 << (width + lsb)) - 1 - ((1 << lsb) - 1);
314 if (lsb != 0) {
315 mov(dst, Operand(dst, LSR, lsb), LeaveCC, cond);
318 ubfx(dst, src1, lsb, width, cond);
323 void MacroAssembler::Sbfx(Register dst, Register src1, int lsb, int width,
325 DCHECK(lsb < 32);
327 int mask = (1 << (width + lsb))
[all...]
H A Ddisasm-arm.cc499 int lsb = (format[6] - '0') * 10 + (format[7] - '0'); local
502 DCHECK((lsb >= 0) && (lsb <= 31));
503 DCHECK((width + lsb) <= 32);
507 instr->Bits(width + lsb - 1, lsb));
/external/vixl/src/vixl/
H A Dutils.h86 inline uint32_t unsigned_bitextract_32(int msb, int lsb, uint32_t x) { argument
87 return (x >> lsb) & ((1 << (1 + msb - lsb)) - 1);
90 inline uint64_t unsigned_bitextract_64(int msb, int lsb, uint64_t x) { argument
91 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1);
94 inline int32_t signed_bitextract_32(int msb, int lsb, int32_t x) { argument
95 return (x << (31 - msb)) >> (lsb + 31 - msb);
98 inline int64_t signed_bitextract_64(int msb, int lsb, int64_t x) { argument
99 return (x << (63 - msb)) >> (lsb
[all...]
/external/libchrome/base/strings/
H A Dstring_number_conversions.cc291 uint8_t lsb = 0; // least significant 4 bits local
293 !CharToDigit<16>(input[i * 2 + 1], &lsb))
295 output->push_back((msb << 4) | lsb);
/external/libweave/third_party/chromium/base/strings/
H A Dstring_number_conversions.cc283 uint8_t lsb = 0; // least significant 4 bits local
285 !CharToDigit<16>(input[i * 2 + 1], &lsb))
287 output->push_back((msb << 4) | lsb);
/external/v8/test/unittests/compiler/arm/
H A Dinstruction-selector-arm-unittest.cc2628 TRACED_FORRANGE(int32_t, lsb, 0, 31) {
2629 TRACED_FORRANGE(int32_t, width, 9, (24 - lsb) - 1) {
2633 m.Int32Constant(~((0xffffffffu >> (32 - width)) << lsb))));
2641 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1)));
2645 TRACED_FORRANGE(int32_t, lsb, 0, 31) {
2646 TRACED_FORRANGE(int32_t, width, 9, (24 - lsb) - 1) {
2649 m.Word32And(m.Int32Constant(~((0xffffffffu >> (32 - width)) << lsb)),
2658 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1)));
2732 TRACED_FORRANGE(int32_t, lsb, 0, 31) {
2733 TRACED_FORRANGE(int32_t, width, 1, 32 - lsb) { argument
2750 TRACED_FORRANGE(int32_t, width, 1, 32 - lsb) argument
2886 TRACED_FORRANGE(int32_t, width, 1, 32 - lsb) argument
2902 TRACED_FORRANGE(int32_t, width, 1, 32 - lsb) argument
[all...]
/external/v8/test/unittests/compiler/mips/
H A Dinstruction-selector-mips-unittest.cc357 int32_t lsb = shift & 0x1f; local
358 TRACED_FORRANGE(int32_t, width, 1, 32 - lsb) { argument
360 jnk = (lsb > 0) ? (jnk >> (32 - lsb)) : 0;
361 uint32_t msk = ((0xffffffffu >> (32 - width)) << lsb) | jnk;
369 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1)));
374 int32_t lsb = shift & 0x1f; local
375 TRACED_FORRANGE(int32_t, width, 1, 32 - lsb) { argument
377 jnk = (lsb > 0) ? (jnk >> (32 - lsb))
488 int32_t lsb = shift & 0x1f; local
504 int32_t lsb = shift & 0x1f; local
[all...]
/external/v8/test/unittests/compiler/mips64/
H A Dinstruction-selector-mips64-unittest.cc364 int32_t lsb = shift & 0x1f; local
365 TRACED_FORRANGE(int32_t, width, 1, 32 - lsb) { argument
367 jnk = (lsb > 0) ? (jnk >> (32 - lsb)) : 0;
368 uint32_t msk = ((0xffffffffu >> (32 - width)) << lsb) | jnk;
376 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1)));
381 int32_t lsb = shift & 0x1f; local
382 TRACED_FORRANGE(int32_t, width, 1, 32 - lsb) { argument
384 jnk = (lsb > 0) ? (jnk >> (32 - lsb))
404 int32_t lsb = shift & 0x3f; local
405 TRACED_FORRANGE(int32_t, width, 1, 64 - lsb) argument
422 int32_t lsb = shift & 0x3f; local
423 TRACED_FORRANGE(int32_t, width, 1, 64 - lsb) argument
613 int32_t lsb = shift & 0x1f; local
629 int32_t lsb = shift & 0x1f; local
652 int64_t lsb = shift & 0x3f; local
668 int64_t lsb = shift & 0x3f; local
[all...]
/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.c361 cmsUInt8Number msb, lsb; local
363 lsb = (cmsUInt8Number) (fixed8 & 0xff);
366 return (cmsFloat64Number) ((cmsFloat64Number) msb + ((cmsFloat64Number) lsb / 256.0));
/external/v8/test/unittests/compiler/arm64/
H A Dinstruction-selector-arm64-unittest.cc3416 int32_t lsb = shift & 0x1f; local
3417 TRACED_FORRANGE(int32_t, width, 1, 32 - lsb) { argument
3419 jnk = (lsb > 0) ? (jnk >> (32 - lsb)) : 0;
3420 uint32_t msk = ((0xffffffffu >> (32 - width)) << lsb) | jnk;
3428 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1)));
3433 int32_t lsb = shift & 0x1f; local
3434 TRACED_FORRANGE(int32_t, width, 1, 32 - lsb) { argument
3436 jnk = (lsb > 0) ? (jnk >> (32 - lsb))
3456 int32_t lsb = shift & 0x3f; local
3457 TRACED_FORRANGE(int32_t, width, 1, 64 - lsb) argument
3474 int32_t lsb = shift & 0x3f; local
3475 TRACED_FORRANGE(int32_t, width, 1, 64 - lsb) argument
3498 int32_t lsb = shift & 0x1f; local
3514 int32_t lsb = shift & 0x1f; local
3537 int64_t lsb = shift & 0x3f; local
3553 int64_t lsb = shift & 0x3f; local
[all...]
/external/v8/src/arm64/
H A Dassembler-arm64.h1139 void bfi(const Register& rd, const Register& rn, int lsb, int width) { argument
1141 DCHECK(lsb + width <= rn.SizeInBits());
1142 bfm(rd, rn, (rd.SizeInBits() - lsb) & (rd.SizeInBits() - 1), width - 1);
1146 void bfxil(const Register& rd, const Register& rn, int lsb, int width) { argument
1148 DCHECK(lsb + width <= rn.SizeInBits());
1149 bfm(rd, rn, lsb, lsb + width - 1);
1160 void sbfiz(const Register& rd, const Register& rn, int lsb, int width) {
1162 DCHECK(lsb + width <= rn.SizeInBits());
1163 sbfm(rd, rn, (rd.SizeInBits() - lsb)
1167 sbfx(const Register& rd, const Register& rn, int lsb, int width) argument
[all...]

Completed in 628 milliseconds

123