Lines Matching defs:cur_index
53 int cur_index;
136 ctx->cur_index = 15;
164 dst->cur_index = src->next_cur_index;
270 const int stride = ctx->frames[ctx->cur_index ].f->linesize[plane];
272 uint8_t *dst = ctx->frames[ctx->cur_index ].f->data[plane];
294 int index = (ctx->cur_index + backref) & 15;
297 if (index != ctx->cur_index && p) {
319 ff_thread_report_progress(&ctx->frames[ctx->cur_index],
399 ff_thread_release_ext_buffer(avctx, &ctx->frames[ctx->cur_index]);
400 ctx->frames[ctx->cur_index].f->pict_type = is_pframe ? AV_PICTURE_TYPE_P :
402 if ((res = ff_thread_get_ext_buffer(avctx, &ctx->frames[ctx->cur_index],
406 ctx->next_prev_index = ctx->cur_index;
407 ctx->next_cur_index = (ctx->cur_index - 1) & 15;
421 ff_thread_report_progress(&ctx->frames[ctx->cur_index], INT_MAX, 0);
424 ff_thread_release_ext_buffer(avctx, &ctx->frames[ctx->cur_index]);
428 if ((res = av_frame_ref(rframe, ctx->frames[ctx->cur_index].f)) < 0)
435 ctx->cur_index = ctx->next_cur_index;