Lines Matching defs:last_picture
62 ThreadFrame last_picture;
1030 if ((sequence_number == 0 || !s->last_picture.f) &&
1062 uint8_t *pd_last = s->last_picture.f->data[0];
1067 ff_thread_await_progress(&s->last_picture, INT_MAX, 0);
1072 pd_last += s->last_picture.f->linesize[0];
1085 const uint8_t *src = s->last_picture.f->data[0];
1086 ptrdiff_t src_stride = s->last_picture.f->linesize[0];
1099 ff_thread_await_progress(&s->last_picture, INT_MAX, 0);
1438 if (s->last_picture.f->data[0]) {
1440 && s->last_picture.f->width == p->width
1441 && s->last_picture.f->height== p->height
1442 && s->last_picture.f->format== p->format
1575 ff_thread_release_ext_buffer(avctx, &s->last_picture);
1576 FFSWAP(ThreadFrame, s->picture, s->last_picture);
1630 ff_thread_release_ext_buffer(avctx, &s->last_picture);
1631 FFSWAP(ThreadFrame, s->picture, s->last_picture);
1669 &psrc->last_picture : &psrc->picture;
1671 ff_thread_release_ext_buffer(dst, &pdst->last_picture);
1673 ret = ff_thread_ref_frame(&pdst->last_picture, src_frame);
1689 s->last_picture.f = av_frame_alloc();
1691 if (!s->last_picture.f || !s->picture.f)
1703 ff_thread_release_ext_buffer(avctx, &s->last_picture);
1704 av_frame_free(&s->last_picture.f);