Lines Matching refs:mc_lifetime
181 c->mc_lifetime = 4;
183 c->mc_lifetime = avctx->global_quality /= FF_QP2LAMBDA;
186 av_log(avctx, AV_LOG_INFO, "charset lifetime set to %d frame(s)\n", c->mc_lifetime);
199 if (!(c->mc_meta_charset = av_malloc(32000 * c->mc_lifetime * sizeof(int))) ||
201 !(c->mc_charmap = av_mallocz(1000 * c->mc_lifetime * sizeof(int))) ||
214 AV_WB32(avctx->extradata, c->mc_lifetime);
279 if (!c->mc_lifetime) return 0;
282 c->mc_lifetime = 0;
285 else c->mc_lifetime = c->mc_frame_counter;
289 if (c->mc_frame_counter < c->mc_lifetime) {
301 if (c->mc_frame_counter == c->mc_lifetime) {
304 if (c->mc_lifetime) {
306 ff_init_elbg(meta, 32, 1000 * c->mc_lifetime, best_cb, CHARSET_CHARS, 50, charmap, &c->randctx);
307 ff_do_elbg (meta, 32, 1000 * c->mc_lifetime, best_cb, CHARSET_CHARS, 50, charmap, &c->randctx);
324 for (frame = 0; frame < c->mc_lifetime; frame++) {