Lines Matching refs:bpl
561 unsigned int bpl, unsigned int szimage) in ceu_update_plane_sizes() argument
566 if (plane->bytesperline < bpl || plane->bytesperline > CEU_MAX_BPL) in ceu_update_plane_sizes()
567 plane->bytesperline = bpl; in ceu_update_plane_sizes()
582 unsigned int bpl, szimage; in ceu_calc_plane_sizes() local
590 bpl = pix->width * ceu_fmt->bpp / 8; in ceu_calc_plane_sizes()
591 szimage = pix->height * bpl; in ceu_calc_plane_sizes()
592 ceu_update_plane_sizes(&pix->plane_fmt[0], bpl, szimage); in ceu_calc_plane_sizes()
598 bpl = pix->width; in ceu_calc_plane_sizes()
600 ceu_update_plane_sizes(&pix->plane_fmt[0], bpl, szimage); in ceu_calc_plane_sizes()
601 ceu_update_plane_sizes(&pix->plane_fmt[1], bpl, szimage / 2); in ceu_calc_plane_sizes()
608 bpl = pix->width; in ceu_calc_plane_sizes()
610 ceu_update_plane_sizes(&pix->plane_fmt[0], bpl, szimage); in ceu_calc_plane_sizes()
611 ceu_update_plane_sizes(&pix->plane_fmt[1], bpl, szimage); in ceu_calc_plane_sizes()