Lines Matching refs:crop
322 struct v4l2_rect *crop = &vout->crop; in omap_vout_calculate_vrfb_offset() local
354 ctop = (pix->height - crop->height) - crop->top; in omap_vout_calculate_vrfb_offset()
355 cleft = (pix->width - crop->width) - crop->left; in omap_vout_calculate_vrfb_offset()
367 temp_ps * cleft + crop->top * temp_ps; in omap_vout_calculate_vrfb_offset()
370 cleft + crop->top * temp_ps + (line_length * in omap_vout_calculate_vrfb_offset()
371 ((crop->width / (vr_ps)) - 1) * ps); in omap_vout_calculate_vrfb_offset()
386 (crop->height - 1) * ps); in omap_vout_calculate_vrfb_offset()
395 temp_ps * crop->left + ctop * ps; in omap_vout_calculate_vrfb_offset()
398 temp_ps * crop->left + ctop * ps + in omap_vout_calculate_vrfb_offset()
399 (line_length * ((crop->width / vr_ps) - 1) * in omap_vout_calculate_vrfb_offset()
406 crop->top + (crop->left / vr_ps) * ps; in omap_vout_calculate_vrfb_offset()
409 crop->top + (crop->left / vr_ps) * ps + in omap_vout_calculate_vrfb_offset()
410 (line_length * (crop->height - 1) * ps); in omap_vout_calculate_vrfb_offset()
414 *cropped_offset = (line_length * ps * crop->top) / in omap_vout_calculate_vrfb_offset()
415 vr_ps + (crop->left * ps) / vr_ps + in omap_vout_calculate_vrfb_offset()
416 ((crop->width / vr_ps) - 1) * ps; in omap_vout_calculate_vrfb_offset()