Lines Matching defs:sink
647 struct fimc_frame *sink = &ctx->s_frame;
654 r->width = sink->f_width;
655 r->height = sink->f_height;
660 u32 tmp_min_h = ffs(sink->width) - 3;
661 u32 tmp_min_v = ffs(sink->height) - 1;
669 u32 depth = fimc_get_format_depth(sink->fmt);
677 * - it must fit in the sink pad format rectangle (f_width/f_height);
680 * - the sink pad format width/height must be 4 multiple of the
681 * prescaler ratios determined by sink pad size and source pad crop,
686 rotate ? sink->f_height : sink->f_width);
687 max_h = min_t(u32, FIMC_CAMIF_MAX_HEIGHT, sink->f_height);
690 min_w = min_t(u32, max_w, sink->f_width / max_sc_h);
691 min_h = min_t(u32, max_h, sink->f_height / max_sc_v);
701 r->left = clamp_t(u32, r->left, 0, sink->f_width - r->width);
702 r->top = clamp_t(u32, r->top, 0, sink->f_height - r->height);
705 dbg("target %#x: (%d,%d)/%dx%d, sink fmt: %dx%d",
707 sink->f_width, sink->f_height);
1091 * between source and sink pad of each link
1107 * Find current entity sink pad and any remote sink pad linked
1108 * to it. We stop if there is no sink pad in current entity or