Lines Matching refs:top
56 int top = dev->overlay_out_top; in copy_pix() local
58 int fb_y = win_y + top; in copy_pix()
68 win_y -= dev->compose_out.top; in copy_pix()
76 if (fb_y >= r->top && fb_y < r->top + r->height && in copy_pix()
182 dev->loop_vid_out.top += dev->crop_out.top; in vivid_precalc_copy_rects()
190 dev->loop_vid_copy.left, dev->loop_vid_copy.top, in vivid_precalc_copy_rects()
192 dev->loop_vid_out.left, dev->loop_vid_out.top, in vivid_precalc_copy_rects()
194 dev->loop_vid_cap.left, dev->loop_vid_cap.top); in vivid_precalc_copy_rects()
200 r_overlay.top += dev->compose_out.top - dev->overlay_out_top; in vivid_precalc_copy_rects()
207 dev->loop_fb_copy.top -= dev->compose_out.top - dev->overlay_out_top; in vivid_precalc_copy_rects()
215 dev->loop_fb_copy.left, dev->loop_fb_copy.top, in vivid_precalc_copy_rects()
217 dev->loop_vid_overlay.left, dev->loop_vid_overlay.top, in vivid_precalc_copy_rects()
219 dev->loop_vid_overlay_cap.left, dev->loop_vid_overlay_cap.top); in vivid_precalc_copy_rects()
283 (dev->loop_vid_out.top / vdiv) * stride_out; in vivid_copy_buffer()
285 (dev->compose_cap.top / vdiv) * stride_cap; in vivid_copy_buffer()
301 dev->loop_fb_copy.top * stride_osd; in vivid_copy_buffer()
315 bool osdline = vosdbuf && y >= dev->loop_vid_overlay_cap.top && in vivid_copy_buffer()
316 y < dev->loop_vid_overlay_cap.top + dev->loop_vid_overlay_cap.height; in vivid_copy_buffer()
322 if (y < dev->loop_vid_cap.top || in vivid_copy_buffer()
323 y >= dev->loop_vid_cap.top + dev->loop_vid_cap.height) { in vivid_copy_buffer()
367 blend_line(dev, vid_overlay_y + dev->loop_vid_overlay.top, in vivid_copy_buffer()
583 if (fb_y >= r->top && fb_y < r->top + r->height && in valid_pix()
618 vbuf += dev->compose_cap.left * pixsize + dev->compose_cap.top * stride; in vivid_overlay()