Lines Matching refs:bytesperline
123 u32 bytesperline; in get_nv12_plane_size() local
126 bytesperline = ALIGN(width, stride); in get_nv12_plane_size()
128 bytesperline = max(bytesperline, *pbl); in get_nv12_plane_size()
131 size = bytesperline * height; in get_nv12_plane_size()
133 size = bytesperline * height >> 1; in get_nv12_plane_size()
135 *pbl = bytesperline; in get_nv12_plane_size()
146 u32 bytesperline; in get_tiled_8l128_plane_size() local
153 bytesperline = DIV_ROUND_UP(width * bitdepth, BITS_PER_BYTE); in get_tiled_8l128_plane_size()
154 bytesperline = ALIGN(bytesperline, 1 << ws); in get_tiled_8l128_plane_size()
155 bytesperline = ALIGN(bytesperline, stride); in get_tiled_8l128_plane_size()
157 bytesperline = max(bytesperline, *pbl); in get_tiled_8l128_plane_size()
160 size = bytesperline * height; in get_tiled_8l128_plane_size()
162 size = (bytesperline * ALIGN(height, 1 << (hs + 1))) >> 1; in get_tiled_8l128_plane_size()
164 *pbl = bytesperline; in get_tiled_8l128_plane_size()
172 u32 bytesperline; in get_default_plane_size() local
175 bytesperline = ALIGN(width, stride); in get_default_plane_size()
177 bytesperline = max(bytesperline, *pbl); in get_default_plane_size()
179 size = bytesperline * height; in get_default_plane_size()
181 *pbl = bytesperline; in get_default_plane_size()