Home
last modified time | relevance | path

Searched refs:varc (Results 1 - 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dmotion_est.c893 int varc; ///< the variance of the block (sum of squared (p[y][x]-average)) in ff_estimate_p_frame_motion() local
917 varc = s->mpvencdsp.pix_norm1(pix, s->linesize) - in ff_estimate_p_frame_motion()
921 pic->mb_var [s->mb_stride * mb_y + mb_x] = (varc+128)>>8; in ff_estimate_p_frame_motion()
922 c->mb_var_sum_temp += (varc+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()
973 int i_score= varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*20; 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>5 in ff_estimate_p_frame_motion()
[all...]
H A Ddnxhdenc.c951 int varc; in dnxhd_mb_var_thread() local
955 varc = ctx->m.mpvencdsp.pix_norm1(pix, ctx->m.linesize); in dnxhd_mb_var_thread()
959 sum = varc = 0; in dnxhd_mb_var_thread()
964 varc += val * val; in dnxhd_mb_var_thread()
968 varc = (varc - (((unsigned) sum * sum) >> 8) + 128) >> 8; in dnxhd_mb_var_thread()
970 ctx->mb_cmp[mb].value = varc; in dnxhd_mb_var_thread()
H A Dsnowenc.c414 int varc= iscore >> 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()
H A Dmpegvideo_enc.c2647 int varc; in mb_var_thread() local
2650 varc = (s->mpvencdsp.pix_norm1(pix, s->linesize) - in mb_var_thread()
2653 s->current_picture.mb_var [s->mb_stride * mb_y + mb_x] = varc; in mb_var_thread()
2655 s->me.mb_var_sum_temp += varc; in mb_var_thread()

Completed in 14 milliseconds