Lines Matching refs:mc_lifetime
45 int mc_lifetime;
205 c->mc_lifetime = 4;
207 c->mc_lifetime = avctx->global_quality /= FF_QP2LAMBDA;
210 av_log(avctx, AV_LOG_INFO, "charset lifetime set to %d frame(s)\n", c->mc_lifetime);
223 if (!(c->mc_meta_charset = av_malloc_array(c->mc_lifetime, 32000 * sizeof(int))) ||
225 !(c->mc_charmap = av_mallocz_array(c->mc_lifetime, 1000 * sizeof(int))) ||
238 AV_WB32(avctx->extradata, c->mc_lifetime);
309 if (!c->mc_lifetime) return 0;
312 c->mc_lifetime = 0;
315 else c->mc_lifetime = c->mc_frame_counter;
319 if (c->mc_frame_counter < c->mc_lifetime) {
333 if (c->mc_frame_counter == c->mc_lifetime) {
336 if (c->mc_lifetime) {
337 req_size = charset_size + c->mc_lifetime*(screen_size + colram_size);
343 avpriv_init_elbg(meta, 32, 1000 * c->mc_lifetime, best_cb, CHARSET_CHARS, 50, charmap, &c->randctx);
344 avpriv_do_elbg (meta, 32, 1000 * c->mc_lifetime, best_cb, CHARSET_CHARS, 50, charmap, &c->randctx);
358 for (frame = 0; frame < c->mc_lifetime; frame++) {