Lines Matching refs:exp_lamda
104 void CalcThreshold(double pf, double exp_lamda[], Int nrmlz_th[]);
171 double exp_lamda[15];
524 UpdateHTFM(video, newvar, exp_lamda, &htfm_stat);
619 void UpdateHTFM(VideoEncData *video, double *newvar, double *exp_lamda, HTFM_Stat *htfm_stat)
630 exp_lamda[0] = 1 / (newvar[0] * 1.4142136);
631 exp_lamda[1] = exp_lamda[0] * 1.5825;
632 exp_lamda[2] = exp_lamda[0] * 2.1750;
633 exp_lamda[3] = exp_lamda[0] * 3.5065;
634 exp_lamda[4] = exp_lamda[0] * 3.1436;
635 exp_lamda[5] = exp_lamda[0] * 3.5315;
636 exp_lamda[6] = exp_lamda[0] * 3.7449;
637 exp_lamda[7] = exp_lamda[0] * 4.5854;
638 exp_lamda[8] = exp_lamda[0] * 4.6191;
639 exp_lamda[9] = exp_lamda[0] * 5.4041;
640 exp_lamda[10] = exp_lamda[0] * 6.5974;
641 exp_lamda[11] = exp_lamda[0] * 10.5341;
642 exp_lamda[12] = exp_lamda[0] * 10.0719;
643 exp_lamda[13] = exp_lamda[0] * 12.0516;
644 exp_lamda[14] = exp_lamda[0] * 15.4552;
646 CalcThreshold(HTFM_Pf, exp_lamda, video->nrmlz_th);
651 void CalcThreshold(double pf, double exp_lamda[], Int nrmlz_th[])
660 // printf("%g ",exp_lamda[i]);
662 temp[i] = 1 / exp_lamda[i] * M4VENC_LOG(2 * pf);
664 temp[i] = -1 / exp_lamda[i] * M4VENC_LOG(2 * (1 - pf));