Lines Matching refs:frame
45 AVFrame *frame;
188 int stride = ctx->frame->linesize[p];
189 uint8_t* dst = ctx->frame->data[p] + (y_off >> !!p) * stride;
283 if ((ret = ff_reget_buffer(avctx, ctx->frame, 0)) < 0)
296 /* Is it a skip frame? */
299 av_log(avctx, AV_LOG_WARNING, "Initial frame is skipped\n");
362 av_log(avctx, AV_LOG_ERROR, "Not enough frame data to decode.\n");
409 ctx->frame->key_frame = 1;
410 ctx->frame->pict_type = AV_PICTURE_TYPE_I;
413 ctx->frame->key_frame = 0;
414 ctx->frame->pict_type = AV_PICTURE_TYPE_P;
419 ctx->final_frame = av_frame_clone(ctx->frame);
421 av_log(avctx, AV_LOG_ERROR, "Could not clone frame buffer.\n");
427 av_log(avctx, AV_LOG_ERROR, "Could not make frame writable.\n");
451 av_frame_free(&ctx->frame);
468 ctx->frame = av_frame_alloc();
469 if (!ctx->frame)