Lines Matching refs:picture
41 ThreadFrame picture;
530 FFSWAP(ThreadFrame, s->picture, s->last_picture);
531 p = s->picture.f;
659 if (ff_thread_get_buffer(avctx, &s->picture, AV_GET_BUFFER_FLAG_REF) < 0)
864 ff_thread_report_progress(&s->picture, INT_MAX, 0);
869 if ((ret = av_frame_ref(data, s->picture.f)) < 0)
881 ff_thread_report_progress(&s->picture, INT_MAX, 0);
894 ff_thread_release_buffer(dst, &pdst->picture);
895 if (psrc->picture.f->data[0])
896 return ff_thread_ref_frame(&pdst->picture, &psrc->picture);
907 s->picture.f = av_frame_alloc();
908 if (!s->last_picture.f || !s->picture.f)
925 ff_thread_release_buffer(avctx, &s->picture);
926 av_frame_free(&s->picture.f);