Home
last modified time | relevance | path

Searched refs:newvar (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dmotion_est.cpp266 double newvar[16]; in AVCMotionEstimation() local
312 InitHTFM(video, &htfm_stat, newvar, &collect); in AVCMotionEstimation()
467 UpdateHTFM(encvid, newvar, exp_lamda, &htfm_stat); in AVCMotionEstimation()
601 void InitHTFM(VideoEncData *encvid, HTFM_Stat *htfm_stat, double *newvar, int *collect) in InitHTFM() argument
625 newvar[i] = 0.0; in InitHTFM()
687 void UpdateHTFM(AVCEncObject *encvid, double *newvar, double *exp_lamda, HTFM_Stat *htfm_stat) in UpdateHTFM() argument
692 newvar[0] = (double)(htfm_stat->abs_dif_mad_avg) / (htfm_stat->countbreak * 16.); in UpdateHTFM()
694 if (newvar[0] < 0.001) in UpdateHTFM()
696 newvar[0] = 0.001; /* to prevent floating overflow */ in UpdateHTFM()
698 exp_lamda[0] = 1 / (newvar[0] * 1.4142136); in UpdateHTFM()
Davcenc_lib.h526 void InitHTFM(VideoEncData *encvid, HTFM_Stat *htfm_stat, double *newvar, int *collect);
527 void UpdateHTFM(AVCEncObject *encvid, double *newvar, double *exp_lamda, HTFM_Stat *htfm_stat);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmotion_est.cpp170 double newvar[16]; in MotionEstimation() local
232 InitHTFM(video, &htfm_stat, newvar, &collect); in MotionEstimation()
524 UpdateHTFM(video, newvar, exp_lamda, &htfm_stat); in MotionEstimation()
534 void InitHTFM(VideoEncData *video, HTFM_Stat *htfm_stat, double *newvar, Int *collect) in InitHTFM() argument
557 newvar[i] = 0.0; in InitHTFM()
619 void UpdateHTFM(VideoEncData *video, double *newvar, double *exp_lamda, HTFM_Stat *htfm_stat) in UpdateHTFM() argument
624 newvar[0] = (double)(htfm_stat->abs_dif_mad_avg) / (htfm_stat->countbreak * 16.); in UpdateHTFM()
626 if (newvar[0] < 0.001) in UpdateHTFM()
628 newvar[0] = 0.001; /* to prevent floating overflow */ in UpdateHTFM()
630 exp_lamda[0] = 1 / (newvar[0] * 1.4142136); in UpdateHTFM()
Dmp4enc_lib.h119 void InitHTFM(VideoEncData *video, HTFM_Stat *htfm_stat, double *newvar, Int *collect);
120 void UpdateHTFM(VideoEncData *video, double *newvar, double *exp_lamda, HTFM_Stat *htfm_stat);