Lines Matching defs:frame
144 decklink_frame *frame = static_cast<decklink_frame *>(_frame);
145 struct decklink_ctx *ctx = frame->_ctx;
147 if (frame->_avframe)
148 av_frame_unref(frame->_avframe);
149 if (frame->_avpacket)
150 av_packet_unref(frame->_avpacket);
185 " Only V210 and wrapped frame with AV_PIX_FMT_UYVY422 are supported.\n");
371 AVPacket *pkt, decklink_frame *frame)
418 result = frame->SetAncillaryData(vanc);
440 decklink_frame *frame;
448 av_log(avctx, AV_LOG_ERROR, "Got a frame with invalid pixel format or dimension.\n");
454 av_log(avctx, AV_LOG_ERROR, "Could not clone video frame.\n");
458 frame = new decklink_frame(ctx, avframe, st->codecpar->codec_id, avframe->height, avframe->width);
462 av_log(avctx, AV_LOG_ERROR, "Could not clone video frame.\n");
466 frame = new decklink_frame(ctx, avpacket, st->codecpar->codec_id, ctx->bmd_height, ctx->bmd_width);
469 if (decklink_construct_vanc(avctx, ctx, pkt, frame))
474 if (!frame) {
475 av_log(avctx, AV_LOG_ERROR, "Could not create new frame.\n");
489 /* Schedule frame for playback. */
490 hr = ctx->dlo->ScheduleVideoFrame((class IDeckLinkVideoFrame *) frame,
494 frame->Release();
496 av_log(avctx, AV_LOG_ERROR, "Could not schedule video frame."