/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | dec_acelp_4p_in_64.cpp | 160 int16 k, pos[6]; in dec_acelp_4p_in_64() local 170 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64() 172 L_index = index[k]; in dec_acelp_4p_in_64() 174 add_pulses(pos, 1, k, code); in dec_acelp_4p_in_64() 179 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64() 181 L_index = index[k]; in dec_acelp_4p_in_64() 183 add_pulses(pos, 2, k, code); in dec_acelp_4p_in_64() 187 for (k = 0; k < NB_TRACK - 2; k++) in dec_acelp_4p_in_64() 189 L_index = index[k]; in dec_acelp_4p_in_64() 191 add_pulses(pos, 3, k, code); in dec_acelp_4p_in_64() [all …]
|
D | wb_syn_filt.cpp | 235 int16 i, k, a0; in Syn_filt_32() local 254 for (k = 2; k < m; k += 2) in Syn_filt_32() 257 L_tmp1 = fxp_mac_16by16(sig_lo[(i<<1)-1 - k], a[k+1], L_tmp1); in Syn_filt_32() 258 L_tmp2 = fxp_mac_16by16(sig_hi[(i<<1)-1 - k], a[k+1], L_tmp2); in Syn_filt_32() 259 L_tmp1 = fxp_mac_16by16(sig_lo[(i<<1) - k], a[k ], L_tmp1); in Syn_filt_32() 260 L_tmp2 = fxp_mac_16by16(sig_hi[(i<<1) - k], a[k ], L_tmp2); in Syn_filt_32() 261 L_tmp3 = fxp_mac_16by16(sig_lo[(i<<1) - k], a[k+1], L_tmp3); in Syn_filt_32() 262 L_tmp4 = fxp_mac_16by16(sig_hi[(i<<1) - k], a[k+1], L_tmp4); in Syn_filt_32() 263 L_tmp3 = fxp_mac_16by16(sig_lo[(i<<1)+1 - k], a[k ], L_tmp3); in Syn_filt_32() 264 L_tmp4 = fxp_mac_16by16(sig_hi[(i<<1)+1 - k], a[k ], L_tmp4); in Syn_filt_32() [all …]
|
D | interpolate_isp.cpp | 122 int16 i, k, fac_old, fac_new; in interpolate_isp() local 126 for (k = 0; k < 3; k++) in interpolate_isp() 128 fac_new = frac[k]; in interpolate_isp()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | vlc_dequant.cpp | 67 int i, j, k; in VlcDequantMpegIntraBlock() local 135 k = inv_zigzag[i]; in VlcDequantMpegIntraBlock() 139 datablock[k] -= run_level.level; in VlcDequantMpegIntraBlock() 143 datablock[k] += run_level.level; in VlcDequantMpegIntraBlock() 146 if (AC_rowcol[k]) in VlcDequantMpegIntraBlock() 148 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 152 datablock[k] = (int) temp; in VlcDequantMpegIntraBlock() 155 bitmapcol[k&0x7] |= mask[k>>3]; in VlcDequantMpegIntraBlock() 186 for (j = 0, k = 8; k < 64; k += 8, j++) in VlcDequantMpegIntraBlock() 188 if (dcac_col[j] = datablock[k]) in VlcDequantMpegIntraBlock() [all …]
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | ScriptIntrinsicBlendThunker.java | 55 Script.KernelID k = createKernelID(0, 3, null, null); in getKernelIDClear() local 57 k.mN = mN.getKernelIDClear(); in getKernelIDClear() 61 return k; in getKernelIDClear() 76 Script.KernelID k = createKernelID(1, 3, null, null); in getKernelIDSrc() local 78 k.mN = mN.getKernelIDSrc(); in getKernelIDSrc() 82 return k; in getKernelIDSrc() 97 Script.KernelID k = createKernelID(2, 3, null, null); in getKernelIDDst() local 99 k.mN = mN.getKernelIDDst(); in getKernelIDDst() 103 return k; in getKernelIDDst() 118 Script.KernelID k = createKernelID(3, 3, null, null); in getKernelIDSrcOver() local [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | findhalfpel.cpp | 74 Int k, kmin = 0; in FindHalfPelMB() local 129 for (k = 2; k <= 8; k += 2) in FindHalfPelMB() 131 if (distance_tab[hp_guess][k] < HP_DISTANCE_TH) in FindHalfPelMB() 133 if (in_range[k]) in FindHalfPelMB() 142 kmin = k; in FindHalfPelMB() 149 kmin = k; in FindHalfPelMB() 154 xh += next_hp_pos[k][0]; in FindHalfPelMB() 155 yh += next_hp_pos[k][1]; in FindHalfPelMB() 156 ncand += next_ncand[k]; in FindHalfPelMB() 158 if (k == 8) in FindHalfPelMB() [all …]
|
D | fastcodemb.cpp | 52 Int sad, k, CBP, mbnum = video->mbnum; in CodeMB_H263() local 136 for (k = 0; k < 6; k++) in CodeMB_H263() 139 bitmapcol = video->bitmapcol[k]; in CodeMB_H263() 140 bitmapzz = video->bitmapzz[k]; /* 7/30/01 */ in CodeMB_H263() 141 if (k < 4) in CodeMB_H263() 143 sad = video->mot[mbnum][k+1].sad; in CodeMB_H263() 144 if (k&1) in CodeMB_H263() 149 else if (k == 2) in CodeMB_H263() 159 if (k == 4) in CodeMB_H263() 198 ncoefblck[k] = 0; in CodeMB_H263() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | stat_bits.c | 81 Word32 i, k; in tnsCount() local 132 for(k=0; k<tnsInfo->order[i]; k++) { in tnsCount() 134 if ((ptcoef[k] > 3) || (ptcoef[k] < -4)) { in tnsCount() 143 for(k=0; k<tnsInfo->order[i]; k++) { in tnsCount() 145 if ((ptcoef[k] > 1) || (ptcoef[k] < -2)) { in tnsCount() 151 for (k=0; k<tnsInfo->order[i]; k++ ) { in tnsCount()
|
/frameworks/native/include/ui/ |
D | TMatHelpers.h | 81 for (size_t k=0 ; k<N ; k++) { in inverse() local 82 t = tmp[i][k]; in inverse() 83 tmp[i][k] = tmp[swap][k]; in inverse() 84 tmp[swap][k] = t; in inverse() 86 t = inverse[i][k]; in inverse() 87 inverse[i][k] = inverse[swap][k]; in inverse() 88 inverse[swap][k] = t; in inverse() 93 for (size_t k=0 ; k<N ; k++) { in inverse() local 94 tmp[i][k] *= t; in inverse() 95 inverse[i][k] *= t; in inverse() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | inter_36.cpp | 202 Word16 k; in Interpol_3or6() local 231 k = 0; in Interpol_3or6() 235 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX1--), (Word32) pC1[k], s); in Interpol_3or6() 236 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX2++), (Word32) pC2[k], s); in Interpol_3or6() 237 k += UP_SAMP_MAX; in Interpol_3or6() 238 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX1--), (Word32) pC1[k], s); in Interpol_3or6() 239 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX2++), (Word32) pC2[k], s); in Interpol_3or6() 240 k <<= 1; in Interpol_3or6()
|
D | cor_h_x2.cpp | 241 register Word16 k; in cor_h_x2() local 250 for (k = 0; k < nb_track; k++) in cor_h_x2() 253 for (i = k; i < L_CODE; i += step) in cor_h_x2()
|
D | cor_h_x.cpp | 254 register Word16 k; in cor_h_x() local 267 for (k = 0; k < NB_TRACK; k++) /* NB_TRACK = 5 */ in cor_h_x() 270 for (i = k; i < L_CODE; i += STEP) /* L_CODE = 40; STEP = 5 */ in cor_h_x()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c4t64fx.c | 135 Word32 i, j, k; in ACELP_4t64_fx() local 303 for (k = 0; k < NB_MAX; k++) in ACELP_4t64_fx() 314 dn2[pos] = (k - NB_MAX); /* dn2 < 0 when position is selected */ in ACELP_4t64_fx() 315 if (k == 0) in ACELP_4t64_fx() 415 for (k = 0; k < NB_POS; k++) in ACELP_4t64_fx() 426 for (i = k + 1; i < NB_POS; i++) in ACELP_4t64_fx() 472 for (k = 0; k < NB_POS; k++) in ACELP_4t64_fx() 483 for (i = k + 1; i < NB_POS; i++) in ACELP_4t64_fx() 522 for (k = 0; k < NB_TRACK; k++) in ACELP_4t64_fx() 524 j_temp = (k + 1)&0x03; in ACELP_4t64_fx() [all …]
|
D | qpisf_2s.c | 66 Word32 i, k, temp, min_err, distance; in Qpisf_2s_46b() local 80 for (k = 0; k < nb_surv; k++) in Qpisf_2s_46b() 84 isf_stage2[i] = vo_sub(isf[i], dico1_isf[i + surv1[k] * 9]); in Qpisf_2s_46b() 96 indice[0] = surv1[k]; in Qpisf_2s_46b() 109 for (k = 0; k < nb_surv; k++) in Qpisf_2s_46b() 113 isf_stage2[i] = vo_sub(isf[9 + i], dico2_isf[i + surv1[k] * 7]); in Qpisf_2s_46b() 124 indice[1] = surv1[k]; in Qpisf_2s_46b() 154 Word16 i, k, tmp_ind[5]; in Qpisf_2s_36b() local 170 for (k = 0; k < nb_surv; k++) in Qpisf_2s_36b() 174 isf_stage2[i] = vo_sub(isf[i], dico1_isf[i + surv1[k] * 9]); in Qpisf_2s_36b() [all …]
|
D | q_pulse.c | 193 Word32 i, j, k, index; in quant_4p_4N() local 201 for (k = 0; k < 4; k++) in quant_4p_4N() 203 if ((pos[k] & nb_pos) == 0) in quant_4p_4N() 205 posA[i++] = pos[k]; in quant_4p_4N() 208 posB[j++] = pos[k]; in quant_4p_4N() 259 Word32 i, j, k, index, tmp2; in quant_5p_5N() local 266 for (k = 0; k < 5; k++) in quant_5p_5N() 268 if ((pos[k] & nb_pos) == 0) in quant_5p_5N() 270 posA[i++] = pos[k]; in quant_5p_5N() 273 posB[j++] = pos[k]; in quant_5p_5N() [all …]
|
D | int_lpc.c | 39 Word32 i, k; in Int_isp() local 44 for (k = 0; k < 3; k++) in Int_isp() 46 fac_new = frac[k]; in Int_isp()
|
/frameworks/native/services/sensorservice/ |
D | mat.h | 51 for (size_t k=0 ; k<D ; k++) { in doMul() local 52 v += lhs[k][r] * rhs[c][k]; in doMul() 68 for (size_t k=0 ; k<D ; k++) { in doMul() local 69 v += lhs[k][r] * rhs[k]; in doMul() 354 for (size_t k=0 ; k<N ; k++) { in invert() local 355 t = tmp[i][k]; in invert() 356 tmp[i][k] = tmp[swap][k]; in invert() 357 tmp[swap][k] = t; in invert() 359 t = inverse[i][k]; in invert() 360 inverse[i][k] = inverse[swap][k]; in invert() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | pred_lt.cpp | 265 register Word16 k; in Pred_lt_3or6() local 304 k = 0; in Pred_lt_3or6() 308 *(pC1++) = pC1_ref[k]; in Pred_lt_3or6() 309 *(pC1++) = pC2_ref[k]; in Pred_lt_3or6() 310 k += UP_SAMP_MAX; in Pred_lt_3or6() 311 *(pC1++) = pC1_ref[k]; in Pred_lt_3or6() 312 *(pC1++) = pC2_ref[k]; in Pred_lt_3or6() 313 k += UP_SAMP_MAX; in Pred_lt_3or6()
|
/frameworks/wilhelm/tools/hashgen/ |
D | frag1.c | 32 unsigned k; in main() local 34 for (k = 0; k < sizeof(struct SLInterfaceID_); ++k) in main() 35 printf("\\x%02X", y[k]); in main()
|
/frameworks/av/libvideoeditor/vss/src/ |
D | M4AIR_API.c | 437 M4OSA_UInt32 i,j,k,u32_x_frac,u32_y_frac,u32_x_accum,u32_y_accum,u32_shift; in M4AIR_get() local 554 for(k=0;k<pOut[i].u_width;k++) in M4AIR_get() 577 for(k=0;k<pOut[i].u_width;k++) in M4AIR_get() 623 for(k=0;k<pOut[i].u_width;k++) in M4AIR_get() 649 for(k=0;k<pOut[i].u_width;k++) in M4AIR_get() 701 for(k=0;k<pOut[i].u_width;k++) in M4AIR_get() 732 for(k=0;k<pOut[i].u_width;k++) in M4AIR_get() 789 for(k=0;k<pOut[i].u_width;k++) in M4AIR_get() 817 for(k=0;k<pOut[i].u_width;k++) in M4AIR_get() 872 for(k=0;k<pOut[i].u_width;k++) in M4AIR_get() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_mpeg2_get_scale_data.cpp | 137 int16 k; in pvmp3_mpeg2_get_scale_data() local 225 k = 0; in pvmp3_mpeg2_get_scale_data() 232 scalefac_buffer[k] = getNbits(pMainData, new_slen[i]); in pvmp3_mpeg2_get_scale_data() 233 scalefac_IIP_buffer[k] = (1L << new_slen[i]) - 1; in pvmp3_mpeg2_get_scale_data() 234 k++; in pvmp3_mpeg2_get_scale_data() 241 scalefac_buffer[k] = 0; in pvmp3_mpeg2_get_scale_data() 242 scalefac_IIP_buffer[k] = 0; in pvmp3_mpeg2_get_scale_data() 243 k++; in pvmp3_mpeg2_get_scale_data()
|
D | pvmp3_mpeg2_get_scale_factors.cpp | 128 int32 k = 0; in pvmp3_mpeg2_get_scale_factors() local 153 k = 6; in pvmp3_mpeg2_get_scale_factors() 158 scalefac->s[window][sfb] = scalefac_buffer[k]; in pvmp3_mpeg2_get_scale_factors() 159 k++; in pvmp3_mpeg2_get_scale_factors() 180 scalefac->s[window][sfb] = scalefac_buffer[k]; in pvmp3_mpeg2_get_scale_factors() 181 k++; in pvmp3_mpeg2_get_scale_factors()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | d2_9pf.cpp | 185 Word16 k; in decode_2i40_9bits() local 198 k = in decode_2i40_9bits() 204 k += j; in decode_2i40_9bits() 207 pos[0] = i * 5 + startPos[k++]; in decode_2i40_9bits() 215 pos[1] = i * 5 + startPos[k]; in decode_2i40_9bits()
|
/frameworks/rs/ |
D | rsScriptGroup.cpp | 105 const ScriptKernelID *k = mKernels[ct].get(); in calcOrder() local 107 Node *n = findNode(k->mScript); in calcOrder() 110 n = new Node(k->mScript); in calcOrder() 113 n->mKernels.add(k); in calcOrder() 151 const ScriptKernelID *k = mKernels[ct].get(); in calcOrder() local 152 const Node *n = findNode(k->mScript); in calcOrder() 154 if (k->mHasKernelOutput) { in calcOrder() 157 if (n->mOutputs[ct2]->mSource.get() == k) { in calcOrder() 164 mOutputs.add(new IO(k)); in calcOrder() 168 if (k->mHasKernelInput) { in calcOrder() [all …]
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | block.cpp | 85 int r0, r1, r2, r3, j, k, idx; in dct_luma() local 152 for (k = 0; k < 16; k++) in dct_luma() 154 idx = ZZ_SCAN_BLOCK[k]; /* map back to raster scan order */ in dct_luma() 156 quant = quant_coef[Rq][k]; in dct_luma() 171 quant = dequant_coefres[Rq][k]; in dct_luma() 368 int blk_x, blk_y, j, k, idx, b8, b4; in dct_luma_16x16() local 463 for (k = 0; k < 16; k++) /* in zigzag scan order */ in dct_luma_16x16() 465 idx = ZIGZAG2RASTERDC[k]; in dct_luma_16x16() 590 for (k = 1; k < 16; k++) in dct_luma_16x16() 592 idx = ZZ_SCAN_BLOCK[k]; /* map back to raster scan order */ in dct_luma_16x16() [all …]
|