Lines Matching defs:frame
250 ff_dlog(avctx, "frame type %d\n", ctx->frame_type);
256 ctx->frame->interlaced_frame = 1;
257 ctx->frame->top_field_first = ctx->frame_type == 1;
649 AVFrame *pic = ctx->frame;
710 if (ctx->frame_type && ctx->first_field ^ ctx->frame->top_field_first) {
774 ctx->frame->decode_error_flags = FF_DECODE_ERROR_INVALID_BITSTREAM;
781 static int decode_frame(AVCodecContext *avctx, AVFrame *frame,
790 av_log(avctx, AV_LOG_ERROR, "invalid frame header\n");
794 ctx->frame = frame;
795 ctx->frame->pict_type = AV_PICTURE_TYPE_I;
796 ctx->frame->key_frame = 1;
809 if ((ret = ff_thread_get_buffer(avctx, frame, 0)) < 0)