Home
last modified time | relevance | path

Searched refs:vard (Results 1 - 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dmotion_est.c894 int vard; ///< sum of squared differences with the estimated motion vector in ff_estimate_p_frame_motion() local
966 vard = s->mecc.sse[0](NULL, pix, ppix, s->linesize, 16); in ff_estimate_p_frame_motion()
968 pic->mc_mb_var[s->mb_stride * mb_y + mb_x] = (vard+128)>>8; in ff_estimate_p_frame_motion()
969 c->mc_mb_var_sum_temp += (vard+128)>>8; in ff_estimate_p_frame_motion()
972 int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100); in ff_estimate_p_frame_motion()
976 if (vard*2 + 200*256 > varc && !s->intra_penalty) in ff_estimate_p_frame_motion()
978 if (varc*2 + 200*256 > vard || s->qscale > 24){ in ff_estimate_p_frame_motion()
979 // if (varc*2 + 200*256 + 50*(s->lambda2>>FF_LAMBDA_SHIFT) > vard){ in ff_estimate_p_frame_motion()
990 && !c->skip && varc>50<<8 && vard>10<<8){ in ff_estimate_p_frame_motion()
1011 && !c->skip && varc>50<<8 && vard>1 in ff_estimate_p_frame_motion()
[all...]
H A Dsnowenc.c415 int vard= score >> 8; in encode_q_branch() local
416 if (vard <= 64 || vard < varc) in encode_q_branch()
417 c->scene_change_score+= ff_sqrt(vard) - ff_sqrt(varc); in encode_q_branch()

Completed in 7 milliseconds