Lines Matching refs:plane_fmt
1050 offset = pix->plane_fmt[0].bytesperline * pix->height; in add_out_dtd()
1064 stride = pix->plane_fmt[VPE_LUMA].bytesperline; in add_out_dtd()
1116 offset = pix->plane_fmt[0].bytesperline * pix->height; in add_in_dtd()
1130 stride = pix->plane_fmt[VPE_LUMA].bytesperline; in add_in_dtd()
1600 struct v4l2_plane_pix_format *plane_fmt; in __vpe_try_fmt() local
1687 plane_fmt = &pix->plane_fmt[i]; in __vpe_try_fmt()
1691 if (stride > plane_fmt->bytesperline) in __vpe_try_fmt()
1692 plane_fmt->bytesperline = stride; in __vpe_try_fmt()
1694 plane_fmt->bytesperline = clamp_t(u32, plane_fmt->bytesperline, in __vpe_try_fmt()
1698 plane_fmt->bytesperline = ALIGN(plane_fmt->bytesperline, in __vpe_try_fmt()
1702 plane_fmt->sizeimage = pix->height * in __vpe_try_fmt()
1703 plane_fmt->bytesperline; in __vpe_try_fmt()
1706 plane_fmt->sizeimage += pix->height * in __vpe_try_fmt()
1707 plane_fmt->bytesperline * in __vpe_try_fmt()
1711 plane_fmt->sizeimage = (pix->height * in __vpe_try_fmt()
1712 plane_fmt->bytesperline * in __vpe_try_fmt()
1775 pix->plane_fmt[0].bytesperline); in __vpe_s_fmt()
1778 pix->plane_fmt[1].bytesperline); in __vpe_s_fmt()
2041 sizes[i] = pix->plane_fmt[i].sizeimage; in vpe_queue_setup()
2080 if (vb2_plane_size(vb, i) < pix->plane_fmt[i].sizeimage) { in vpe_buf_prepare()
2084 (long)pix->plane_fmt[i].sizeimage); in vpe_buf_prepare()
2090 vb2_set_plane_payload(vb, i, pix->plane_fmt[i].sizeimage); in vpe_buf_prepare()
2331 pix->plane_fmt[VPE_LUMA].bytesperline = (pix->width * in vpe_open()
2333 pix->plane_fmt[VPE_LUMA].sizeimage = in vpe_open()
2334 pix->plane_fmt[VPE_LUMA].bytesperline * in vpe_open()