Home
last modified time | relevance | path

Searched refs:dist_min (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dq_plsf_5.cpp219 Word32 dist_min; in Vq_subvec() local
232 dist_min = MAX_32; in Vq_subvec()
250 if (dist >= dist_min) in Vq_subvec()
259 if (dist >= dist_min) in Vq_subvec()
268 if (dist >= dist_min) in Vq_subvec()
278 if (dist < dist_min) in Vq_subvec()
280 dist_min = dist; in Vq_subvec()
387 Word32 dist_min; in Vq_subvec_s() local
403 dist_min = MAX_32; in Vq_subvec_s()
436 if ((dist1 >= dist_min) && (dist2 >= dist_min)) in Vq_subvec_s()
[all …]
Dq_plsf_3.cpp288 Word32 dist_min; in Vq_subvec4() local
303 dist_min = MAX_32; in Vq_subvec4()
334 if (dist < dist_min) in Vq_subvec4()
336 dist_min = dist; in Vq_subvec4()
618 Word32 dist_min; in Vq_subvec3() local
631 dist_min = MAX_32; in Vq_subvec3()
661 if (dist < dist_min) in Vq_subvec3()
663 dist_min = dist; in Vq_subvec3()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dgpclip.c63 Word16 dist, dist_min; in Gp_clip_test_isf() local
66 dist_min = vo_sub(isf[1], isf[0]); in Gp_clip_test_isf()
71 if(dist < dist_min) in Gp_clip_test_isf()
73 dist_min = dist; in Gp_clip_test_isf()
77 dist = extract_h(L_mac(vo_L_mult(26214, mem[0]), 6554, dist_min)); in Gp_clip_test_isf()
Dqpisf_2s.c453 Word32 dist_min, dist; in Sub_VQ() local
455 dist_min = MAX_32; in Sub_VQ()
469 if(dist < dist_min) in Sub_VQ()
471 dist_min = dist; in Sub_VQ()
476 *distance = dist_min; in Sub_VQ()
500 Word32 dist_min[N_SURV_MAX], dist; in VQ_stage1() local
502 dist_min[0] = MAX_32; in VQ_stage1()
503 dist_min[1] = MAX_32; in VQ_stage1()
504 dist_min[2] = MAX_32; in VQ_stage1()
505 dist_min[3] = MAX_32; in VQ_stage1()
[all …]
Dq_gain2.c83 Word32 i, j, L_tmp, dist_min; in Q_gain2() local
274 dist_min = MAX_32; in Q_gain2()
303 if(L_tmp < dist_min) in Q_gain2()
305 dist_min = L_tmp; in Q_gain2()
DvoAMRWBEnc.c1355 Word16 dist_min, dist; in synthesis() local
1542 dist_min = 32767; in synthesis()
1546 if (dist_min > dist) in synthesis()
1548 dist_min = dist; in synthesis()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dqua_gain.cpp229 Word32 dist_min; in Qua_gain() local
333 dist_min = MAX_32; in Qua_gain()
366 if (L_tmp < dist_min) in Qua_gain()
368 dist_min = L_tmp; in Qua_gain()
Dqgain795.cpp244 Word32 dist_min; in MR795_gain_code_quant3() local
315 dist_min = MAX_32; in MR795_gain_code_quant3()
353 if (L_tmp < dist_min) in MR795_gain_code_quant3()
355 dist_min = L_tmp; in MR795_gain_code_quant3()
514 Word32 dist_min; in MR795_gain_code_quant_mod() local
640 dist_min = MAX_32; in MR795_gain_code_quant_mod()
682 if (L_tmp < dist_min) in MR795_gain_code_quant_mod()
684 dist_min = L_tmp; in MR795_gain_code_quant_mod()
Dqgain475.cpp1197 Word32 dist_min; in MR475_gain_quant() local
1357 dist_min = MAX_32; in MR475_gain_quant()
1401 if (L_tmp < dist_min) in MR475_gain_quant()
1403 dist_min = L_tmp; in MR475_gain_quant()