Lines Matching defs:frame
43 #include "libavutil/frame.h"
89 pthread_mutex_t progress_mutex; ///< Mutex used to protect frame progress values and progress_cond.
95 AVFrame *frame; ///< Output frame (for decoding) or input (for encoding).
225 av_frame_unref(p->frame);
227 p->result = codec->cb.decode(avctx, p->frame, &p->got_frame, p->avpkt);
229 if ((p->result < 0 || !p->got_frame) && p->frame->buf[0])
230 ff_thread_release_buffer(avctx, p->frame);
548 * If we're still receiving the initial packets, don't return a frame.
563 * Return the next available frame from the oldest thread.
565 * didn't output a frame/error, because we don't want to accidentally signal
579 av_frame_move_ref(picture, p->frame);
586 * including this one, searching for a frame/error to return before being
588 * Make sure we don't mistakenly return the same frame/error again.
768 av_frame_free(&p->frame);
834 if (!(p->frame = av_frame_alloc()) ||
945 av_frame_unref(p->frame);
1072 * that don't support frame threading at all, namely in case
1073 * a frame-threaded decoder shares code with codecs that are not.
1119 // when the frame buffers are not allocated, just reset it to clean state
1152 // make sure the frame is clean even if we fail to free it
1155 av_log(avctx, AV_LOG_ERROR, "Could not queue a frame for freeing, this will leak\n");