/external/webrtc/src/common_audio/signal_processing/ |
H A D | spl_sqrt.c | 135 WebRtc_Word16 x_norm, nshift, t16, sh; local 145 sh = WebRtcSpl_NormW32(A); // # shifts to normalize A 146 A = WEBRTC_SPL_LSHIFT_W32(A, sh); // Normalize A 157 nshift = WEBRTC_SPL_RSHIFT_W16(sh, 1); // nshift = sh>>1 164 if ((-2 * nshift) == sh)
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | entropy_coding.c | 177 WebRtc_Word16 round, shftVal = 0, sh; local 215 sh=WebRtcSpl_NormW32(CorrQ11[1]); 217 sh=WebRtcSpl_NormW32(CorrQ11[2]); 219 if (sh<9) 220 shftVal = 9 - sh; 249 WebRtc_Word16 round, shftVal = 0, sh; local 288 sh=WebRtcSpl_NormW32(CorrQ11[1]); 290 sh=WebRtcSpl_NormW32(CorrQ11[2]); 292 if (sh<9) 293 shftVal = 9 - sh; [all...] |
H A D | lattice.c | 115 WebRtc_Word16 sh; local 194 sh = 9-gain_sh; //number of needed shifts to reach Q9 195 t16a = (WebRtc_Word16) WEBRTC_SPL_SHIFT_W32(tmp32, sh); 237 WebRtc_Word16 sh; local 268 sh = WebRtcSpl_NormW32(tmp32); // tmp32 is the gain 269 den16 = (WebRtc_Word16) WEBRTC_SPL_SHIFT_W32(tmp32, sh-16); //Q(27+sh-16) = Q(sh+11) (all 16 bits are value bits) 270 inv_gain32 = WebRtcSpl_DivW32W16((WebRtc_Word32)2147483647, den16); // 1/gain in Q31/Q(sh+11) = Q(20-sh) [all...] |
H A D | lpc_masking_model.c | 552 int sh_lo, sh_hi, sh, ssh, shMem; local 731 sh = QdomLO - maskdata->CorrBufLoQdom[n]; 732 if (sh<=shMem) { 733 tmp = WEBRTC_SPL_SHIFT_W32(maskdata->CorrBufLoQQ[n], sh); // Get CorrBufLoQQ to same domain as corrlo2 735 } else if ((sh-shMem)<7){ 737 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, (sh-shMem)), tmp); // Shift alpha the number of times required to get tmp in QdomLO 741 tmpCorr = WEBRTC_SPL_RSHIFT_W32(corrloQQ[n], sh-shMem-6); 744 newQdomLO = QdomLO-(sh-shMem-6); 777 sh = QdomHI - maskdata->CorrBufHiQdom[n]; 778 if (sh< [all...] |
H A D | transform.c | 127 WebRtc_Word16 factQ19, sh; local 147 sh = WebRtcSpl_NormW32(xrQ16); 148 sh = sh-24; //if sh becomes >=0, then we should shift sh steps to the left, and the domain will become Q(16+sh) 149 //if sh becomes <0, then we should shift -sh steps to the right, and the domain will become Q(16+sh) 211 WebRtc_Word16 sh; local [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
H A D | entropy_coding.c | 103 WebRtc_Word16 round, shftVal = 0, sh; local 148 sh = WebRtcSpl_NormW32(CorrQ11[1]); 150 sh = WebRtcSpl_NormW32(CorrQ11[2]); 152 if (sh < 9) { 153 shftVal = 9 - sh;
|
/external/valgrind/main/none/tests/ppc32/ |
H A D | jm-insns.c | 4825 void _patch_op_imm (uint32_t *p_insn, uint16_t imm, int sh, int len) argument 4827 uint32_t mask = ((1 << len) - 1) << sh; 4828 *p_insn = (*p_insn & ~mask) | ((imm<<sh) & mask); 4832 void patch_op_imm (uint32_t* p_insn, uint16_t imm, int sh, int len) argument 4834 _patch_op_imm(p_insn, imm, sh, len);
|
/external/valgrind/main/none/tests/ppc64/ |
H A D | jm-insns.c | 4825 void _patch_op_imm (uint32_t *p_insn, uint16_t imm, int sh, int len) argument 4827 uint32_t mask = ((1 << len) - 1) << sh; 4828 *p_insn = (*p_insn & ~mask) | ((imm<<sh) & mask); 4832 void patch_op_imm (uint32_t* p_insn, uint16_t imm, int sh, int len) argument 4834 _patch_op_imm(p_insn, imm, sh, len);
|
/external/valgrind/main/perf/ |
H A D | tinycc.c | 19222 Elf32_Shdr shdr, *sh; 19812 sh = &shdr; 19813 memset(sh, 0, sizeof(Elf32_Shdr)); 19816 sh->sh_name = s->sh_name; 19817 sh->sh_type = s->sh_type; 19818 sh->sh_flags = s->sh_flags; 19819 sh->sh_entsize = s->sh_entsize; 19820 sh->sh_info = s->sh_info; 19822 sh->sh_link = s->link->sh_num; 19823 sh 19220 Elf32_Shdr shdr, *sh; local 19865 Elf32_Shdr *shdr, *sh; local 20214 Elf32_Shdr *shdr, *sh, *sh1; local [all...] |
/external/valgrind/main/VEX/priv/ |
H A D | guest_amd64_toIR.c | 7804 DIP("sh%cd%c %s, %s, %s\n", 7814 DIP("sh%cd%c %s, %s, %s\n", 16139 IRTemp sh = newTemp(Ity_I8); local 16140 assign(sh, mkU8(8 * gran - 1)); 16143 assign(mask, binop(opSAR, mkexpr(vec0), mkexpr(sh))); 16162 IRTemp sh = newTemp(Ity_I8); local 16163 assign(sh, mkU8(8 * gran - 1)); 16171 binop(opSAR128, mkexpr(vec0Hi), mkexpr(sh)), 16172 binop(opSAR128, mkexpr(vec0Lo), mkexpr(sh)))); [all...] |
H A D | guest_arm64_toIR.c | 184 //ZZ static UInt ROR32 ( UInt x, UInt sh ) { 185 //ZZ vassert(sh >= 0 && sh < 32); 186 //ZZ if (sh == 0) 189 //ZZ return (x << (32-sh)) | (x >> sh); 1588 /* Generate IR for ((x & mask) >>u sh) | ((x << sh) & mask) */ 1589 static IRTemp math_SWAPHELPER ( IRTemp x, ULong mask, Int sh ) 1593 vassert(sh > 1906 UInt sh = INSN(23,22); local 2309 UInt sh = INSN(23,22); local 2418 UInt sh = INSN(23,22); local 7015 UInt sh = 0; local 7599 UInt sh = INSN(21,16); local [all...] |
H A D | guest_arm_toIR.c | 213 static UInt ROR32 ( UInt x, UInt sh ) { 214 vassert(sh >= 0 && sh < 32); 215 if (sh == 0) 218 return (x << (32-sh)) | (x >> sh); 4836 IROp cvt, cvt2, cmp, op, op2, sh, add; local 4892 sh = Iop_ShrN16x8; 4900 sh = Iop_ShrN32x4; 4907 sh [all...] |
H A D | guest_ppc_helpers.c | 127 UInt vD_off, UInt sh, UInt shift_right ) 138 vassert( sh <= 15 ); 141 sh = 16-sh; 144 pU128_src = (U128*)&ref[sh]; 156 UInt vD_off, UInt sh, UInt shift_right ) 173 vassert( sh <= 15 ); 176 sh = 16-sh; 179 pU128_src = (U128*)&ref[sh]; 126 ppc32g_dirtyhelper_LVS( VexGuestPPC32State* gst, UInt vD_off, UInt sh, UInt shift_right ) argument 155 ppc64g_dirtyhelper_LVS( VexGuestPPC64State* gst, UInt vD_off, UInt sh, UInt shift_right ) argument [all...] |
H A D | guest_ppc_toIR.c | 16701 IRTemp sh = newTemp(Ity_I8); local 16703 assign( sh, binop(Iop_And8, mkU8(0x7), 16707 binop(Iop_ShlV128, mkexpr(vA), mkexpr(sh)) ); 16711 IRTemp sh = newTemp(Ity_I8); local 16713 assign( sh, binop(Iop_And8, mkU8(0x78), 16717 binop(Iop_ShlV128, mkexpr(vA), mkexpr(sh)) ); 16739 IRTemp sh = newTemp(Ity_I8); local 16741 assign( sh, binop(Iop_And8, mkU8(0x7), 16745 binop(Iop_ShrV128, mkexpr(vA), mkexpr(sh)) ); 16769 IRTemp sh local [all...] |
H A D | host_arm64_defs.c | 4064 /* 1 11 10001 sh imm12 Rn Rd = SUBS Xd, Xn, #imm */ 4065 /* 0 11 10001 sh imm12 Rn Rd = SUBS Wd, Wn, #imm */ 4151 /* 110 1001101 (63-sh) (64-sh) nn dd LSL Xd, Xn, sh */ 4152 /* 110 1001101 sh 63 nn dd LSR Xd, Xn, sh */ 4153 /* 100 1001101 sh 63 nn dd ASR Xd, Xn, sh */ 4154 UInt sh local 5378 UInt sh = i->ARM64in.VShiftImmV.amt; local [all...] |
/external/valgrind/main/VEX/switchback/ |
H A D | test_ppc_jm1.c | 3797 uint16_t imm, int sh, int len) 3803 *p = (*q & ~(((1 << len) - 1) << sh)) | ((imm & ((1 << len) - 1)) << sh); 3807 uint16_t imm, int sh, int len) 3812 _patch_op_imm(out, in, imm, sh, len); 3796 _patch_op_imm(void *out, void *in, uint16_t imm, int sh, int len) argument 3806 patch_op_imm(void *out, void *in, uint16_t imm, int sh, int len) argument
|
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | readpdb.c | 2431 sh -c "strings (pename) | egrep '\.pdb|\.PDB' > (tmpname)" 2433 const HChar* sh = "/bin/sh"; local 2437 /* (sh) -c "(strings) (pename) | (egrep) 'pdb' > (tmpname) */ 2444 sh, strings, pename, egrep, tmpname);
|
/external/valgrind/main/memcheck/tests/ |
H A D | sh-mem.c | 71 U1 sh[SZB_OF_a]; // Used for getting a[]'s V bits local 74 (void)VALGRIND_GET_VBITS(a, sh, sizeof(a)); 76 if ( expected_byte != sh[i] && expected_byte_alt != sh[i] ) { 79 str, offset, i, sh[i], expected_byte,
|
/external/tcpdump/ |
H A D | print-juniper.c | 615 const struct juniper_services_header *sh; local 622 sh = (struct juniper_services_header *)p; 626 sh->svc_id, 627 sh->flags_len, 628 EXTRACT_16BITS(&sh->svc_set_id), 629 EXTRACT_24BITS(&sh->dir_iif[1]));
|
/external/skia/src/effects/ |
H A D | SkBlurMask.cpp | 422 int sw, int sh) { 426 while (--sh >= 0) { 441 int sw, int sh, 444 while (--sh >= 0) { 542 int sh = src.fBounds.height(); local 550 int w = sw, h = sh; 597 dst->fRowBytes, sw, sh); 601 dst->fRowBytes, sp, src.fRowBytes, sw, sh, style); 760 int sh = SkScalarFloorToInt(src.height()); local 811 for (int y = 0 ; y < sh ; 419 merge_src_with_blur(uint8_t dst[], int dstRB, const uint8_t src[], int srcRB, const uint8_t blur[], int blurRB, int sw, int sh) argument 439 clamp_with_orig(uint8_t dst[], int dstRowBytes, const uint8_t src[], int srcRowBytes, int sw, int sh, SkBlurStyle style) argument [all...] |
/external/robolectric/lib/main/ |
H A D | android.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ... |
/external/qemu/android/skin/ |
H A D | scaler.c | 91 int sh = srect->size.h; local 102 drect->size.h = (int)(ceil((sy + sh) * scale + scaler->ydisp)) - drect->pos.y; 112 int sh ) 134 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y;
|
/external/qemu/disas/ |
H A D | arm.c | 3470 unsigned int sh = (i8 & 0x30) >> 4; local 3472 if (sh) 3473 func (stream, ", lsl #%u", sh); 3565 case 1: func (stream, Sbit ? "sh" : "h"); break;
|
/external/qemu/target-arm/ |
H A D | translate.c | 541 PAS_OP(sh); 588 PAS_OP(sh); 6575 unsigned int cond, insn, val, op1, i, shift, rm, rs, rn, rd, sh; local 6851 sh = (insn >> 4) & 0xf; 6853 switch (sh) { 6956 if (sh & 4) 6965 if ((sh & 2) == 0) { 6975 gen_mulxy(tmp, tmp2, sh & 2, sh & 4); 7185 sh [all...] |
/external/pdfium/core/src/fxcodec/jbig2/ |
H A D | JBig2_Image.cpp | 1202 FX_INT32 sw, sh;
local 1210 sh = pSrcRect->Height();
1216 if(y + sh > pDst->m_nHeight) {
1219 ys1 = sh;
|