Lines Matching defs:plane
93 drmModePlane *plane,
100 fb = drmModeGetFB(ctx->hwctx->fd, plane->fb_id);
104 "%"PRIu32": %s.\n", plane->fb_id, strerror(err));
157 drmModePlane *plane,
165 fb = drmModeGetFB2(ctx->hwctx->fd, plane->fb_id);
169 "%"PRIu32": %s.\n", plane->fb_id, strerror(err));
265 drmModePlane *plane = NULL;
285 plane = drmModeGetPlane(ctx->hwctx->fd, ctx->plane_id);
286 if (!plane) {
288 av_log(avctx, AV_LOG_ERROR, "Failed to get plane "
293 if (!plane->fb_id) {
308 err = kmsgrab_get_fb2(avctx, plane, desc);
311 err = kmsgrab_get_fb(avctx, plane, desc);
339 drmModeFreePlane(plane);
340 plane = NULL;
358 drmModeFreePlane(plane);
412 drmModePlane *plane = NULL;
437 plane = drmModeGetPlane(ctx->hwctx->fd, ctx->source_plane);
438 if (!plane) {
440 av_log(avctx, AV_LOG_ERROR, "Failed to get plane %"PRId64": "
446 if (plane->fb_id == 0) {
456 av_log(avctx, AV_LOG_ERROR, "Failed to get plane "
463 plane = drmModeGetPlane(ctx->hwctx->fd,
465 if (!plane) {
468 "plane %"PRIu32": %s.\n",
475 plane->plane_id, plane->crtc_id, plane->fb_id);
478 plane->crtc_id != ctx->source_crtc) ||
479 plane->fb_id == 0) {
482 drmModeFreePlane(plane);
483 plane = NULL;
501 av_log(avctx, AV_LOG_INFO, "Using plane %"PRIu32" to "
502 "locate framebuffers.\n", plane->plane_id);
505 ctx->plane_id = plane->plane_id;
508 fb2 = drmModeGetFB2(ctx->hwctx->fd, plane->fb_id);
516 plane->fb_id, strerror(err));
597 fb = drmModeGetFB(ctx->hwctx->fd, plane->fb_id);
602 plane->fb_id, strerror(err));
661 drmModeFreePlane(plane);