Home
last modified time | relevance | path

Searched refs:FF_LAMBDA_SCALE (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavutil/
Davutil.h226 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT) macro
230 #define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
/third_party/ffmpeg/libavcodec/
Dcinepakenc.c280 ret += FF_LAMBDA_SCALE * mb->v1_error; in calculate_mode_score()
296 score1 = s->lambda * 9 + FF_LAMBDA_SCALE * (mberr = mb->v1_error); in calculate_mode_score()
298 score1 = s->lambda * 33 + FF_LAMBDA_SCALE * (mberr = mb->v4_error); in calculate_mode_score()
304 score1 = s->lambda * 9 + FF_LAMBDA_SCALE * mb->v1_error; in calculate_mode_score()
305 score2 = s->lambda * 33 + FF_LAMBDA_SCALE * mb->v4_error; in calculate_mode_score()
326 score1 = s->lambda * 1 + FF_LAMBDA_SCALE * mb->skip_error; in calculate_mode_score()
330 if ((score2 = s->lambda * 10 + FF_LAMBDA_SCALE * mb->v1_error) >= score1) { in calculate_mode_score()
338 if ((score3 = s->lambda * 34 + FF_LAMBDA_SCALE * mb->v4_error) >= score1) { in calculate_mode_score()
352 score1 = s->lambda * 1 + FF_LAMBDA_SCALE * mb->skip_error; in calculate_mode_score()
353 score2 = s->lambda * 10 + FF_LAMBDA_SCALE * mb->v1_error; in calculate_mode_score()
[all …]
Dsvq1enc.c293 FF_LAMBDA_SCALE * 64 >> in svq1_encode_plane()
296 FF_LAMBDA_SCALE / 2 >> in svq1_encode_plane()
Droqvideoenc.c79 #define ROQ_LAMBDA_SCALE ((uint64_t) FF_LAMBDA_SCALE)
Dsnowenc.c1700 s->m.qscale= (s->m.lambda*139 + FF_LAMBDA_SCALE*64) >> (FF_LAMBDA_SHIFT + 7); in encode_frame()
1701 s->lambda2= s->m.lambda2= (s->m.lambda*s->m.lambda + FF_LAMBDA_SCALE/2) >> FF_LAMBDA_SHIFT; in encode_frame()
Dmpegvideo_enc.c195 s->qscale = (s->lambda * 139 + FF_LAMBDA_SCALE * 64) >> in update_qscale()
200 s->lambda2 = (s->lambda * s->lambda + FF_LAMBDA_SCALE / 2) >> in update_qscale()
227 int qp = (lam * 139 + FF_LAMBDA_SCALE * 64) >> (FF_LAMBDA_SHIFT + 7); in ff_init_qscale_tab()