Lines Matching refs:current_frame
184 ThreadFrame current_frame;
342 if (s->current_frame.f)
343 ff_thread_release_ext_buffer(avctx, &s->current_frame);
358 av_frame_free(&s->current_frame.f);
1805 ptrdiff_t stride = s->current_frame.f->linesize[plane];
1806 uint8_t *plane_data = s->current_frame.f->data[plane];
1919 ff_thread_report_progress(&s->current_frame,
1936 offset[0] = s->current_frame.f->linesize[0] * y;
1937 offset[1] = s->current_frame.f->linesize[1] * cy;
1938 offset[2] = s->current_frame.f->linesize[2] * cy;
1943 s->avctx->draw_horiz_band(s->avctx, s->current_frame.f, offset, y, 3, h);
2085 uint8_t *output_plane = s->current_frame.f->data[plane] +
2091 ptrdiff_t stride = s->current_frame.f->linesize[plane];
2317 s->current_frame.f = av_frame_alloc();
2321 if (!s->current_frame.f || !s->last_frame.f || !s->golden_frame.f)
2516 ret = ff_thread_ref_frame(&s->last_frame, &s->current_frame);
2522 ret = ff_thread_ref_frame(&s->golden_frame, &s->current_frame);
2526 ff_thread_release_ext_buffer(avctx, &s->current_frame);
2542 if ((ret = ref_frame(dst, &dst->current_frame, &src->current_frame)) < 0 ||
2554 if (!s1->current_frame.f->data[0] ||
2678 s->current_frame.f->pict_type = s->keyframe ? AV_PICTURE_TYPE_I
2680 s->current_frame.f->key_frame = s->keyframe;
2681 if ((ret = ff_thread_get_ext_buffer(avctx, &s->current_frame,
2686 s->edge_emu_buffer = av_malloc(9 * FFABS(s->current_frame.f->linesize[0]));
2805 s->data_offset[i] = (height - 1) * s->current_frame.f->linesize[i];
2821 if ((ret = av_frame_ref(frame, s->current_frame.f)) < 0)
2840 ff_thread_report_progress(&s->current_frame, INT_MAX, 0);
2843 av_frame_unref(s->current_frame.f);