Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Da64multienc.c50 int mc_lifetime; member
218 c->mc_lifetime = 4; in a64multi_encode_init()
220 c->mc_lifetime = avctx->global_quality / FF_QP2LAMBDA; in a64multi_encode_init()
223 av_log(avctx, AV_LOG_INFO, "charset lifetime set to %d frame(s)\n", c->mc_lifetime); in a64multi_encode_init()
236 if (!(c->mc_meta_charset = av_calloc(c->mc_lifetime, 32000 * sizeof(int))) || in a64multi_encode_init()
238 !(c->mc_charmap = av_calloc(c->mc_lifetime, 1000 * sizeof(int))) || in a64multi_encode_init()
250 AV_WB32(avctx->extradata, c->mc_lifetime); in a64multi_encode_init()
311 if (!c->mc_lifetime) return 0; in a64multi_encode_frame()
314 c->mc_lifetime = 0; in a64multi_encode_frame()
317 else c->mc_lifetime = c->mc_frame_counter; in a64multi_encode_frame()
[all …]