Lines Matching refs:osd_crop
643 int osd_crop;
654 if ((osd_crop = f->src_w - 4 * f->dst_w) > 0) {
655 f->src_x += osd_crop / 2;
656 f->src_w = (f->src_w - osd_crop) & ~3;
667 if ((osd_crop = f->src_h - 4 * f->dst_h) > 0) {
669 f->src_y += osd_crop / 2;
670 f->src_h = (f->src_h - osd_crop) & ~3;
685 if ((osd_crop = f->pan_y - f->dst_y) > 0) {
687 f->src_y += (osd_scale * osd_crop) >> 16;
688 f->src_h -= (osd_scale * osd_crop) >> 16;
689 f->dst_h -= osd_crop;
695 if ((osd_crop = f->dst_h + f->dst_y - f->vis_h) > 0) {
697 f->dst_h -= osd_crop;
698 f->src_h -= (osd_scale * osd_crop) >> 16;
703 if ((osd_crop = f->pan_x - f->dst_x) > 0) {
705 f->src_x += (osd_scale * osd_crop) >> 16;
706 f->src_w -= (osd_scale * osd_crop) >> 16;
707 f->dst_w -= osd_crop;
713 if ((osd_crop = f->dst_w + f->dst_x - f->vis_w) > 0) {
715 f->dst_w -= osd_crop;
716 f->src_w -= (osd_scale * osd_crop) >> 16;