• Home
  • Raw
  • Download

Lines Matching refs:frames

54     ThreadFrame     frames     [16];  member
112 for (i = 0; i < FF_ARRAY_ELEMS(ctx->frames); i++) { in mimic_decode_end()
113 if (ctx->frames[i].f) in mimic_decode_end()
114 ff_thread_release_buffer(avctx, &ctx->frames[i]); in mimic_decode_end()
115 av_frame_free(&ctx->frames[i].f); in mimic_decode_end()
142 for (i = 0; i < FF_ARRAY_ELEMS(ctx->frames); i++) { in mimic_decode_init()
143 ctx->frames[i].f = av_frame_alloc(); in mimic_decode_init()
144 if (!ctx->frames[i].f) in mimic_decode_init()
165 for (i = 0; i < FF_ARRAY_ELEMS(dst->frames); i++) { in mimic_decode_update_thread_context()
166 ff_thread_release_buffer(avctx, &dst->frames[i]); in mimic_decode_update_thread_context()
167 if (i != src->next_cur_index && src->frames[i].f->data[0]) { in mimic_decode_update_thread_context()
168 ret = ff_thread_ref_frame(&dst->frames[i], &src->frames[i]); in mimic_decode_update_thread_context()
268 const int stride = ctx->frames[ctx->cur_index ].f->linesize[plane]; in decode()
269 const uint8_t *src = ctx->frames[ctx->prev_index].f->data[plane]; in decode()
270 uint8_t *dst = ctx->frames[ctx->cur_index ].f->data[plane]; in decode()
293 uint8_t *p = ctx->frames[index].f->data[0]; in decode()
296 ff_thread_await_progress(&ctx->frames[index], in decode()
299 ctx->frames[ctx->prev_index].f->data[plane]; in decode()
307 ff_thread_await_progress(&ctx->frames[ctx->prev_index], in decode()
317 ff_thread_report_progress(&ctx->frames[ctx->cur_index], in decode()
392 if (is_pframe && !ctx->frames[ctx->prev_index].f->data[0]) { in mimic_decode_frame()
397 ff_thread_release_buffer(avctx, &ctx->frames[ctx->cur_index]); in mimic_decode_frame()
398 ctx->frames[ctx->cur_index].f->pict_type = is_pframe ? AV_PICTURE_TYPE_P : in mimic_decode_frame()
400 if ((res = ff_thread_get_buffer(avctx, &ctx->frames[ctx->cur_index], in mimic_decode_frame()
419 ff_thread_report_progress(&ctx->frames[ctx->cur_index], INT_MAX, 0); in mimic_decode_frame()
422 ff_thread_release_buffer(avctx, &ctx->frames[ctx->cur_index]); in mimic_decode_frame()
426 if ((res = av_frame_ref(data, ctx->frames[ctx->cur_index].f)) < 0) in mimic_decode_frame()