Lines Matching refs:stride
330 u32 stride; in mdp_fmt_get_stride() local
332 stride = (bytesperline * MDP_COLOR_BITS_PER_PIXEL(c)) in mdp_fmt_get_stride()
335 return stride; in mdp_fmt_get_stride()
338 stride = stride / 2; in mdp_fmt_get_stride()
339 return stride; in mdp_fmt_get_stride()
349 u32 stride = pix_stride; in mdp_fmt_get_stride_contig() local
352 return stride; in mdp_fmt_get_stride_contig()
354 stride = stride >> MDP_COLOR_GET_H_SUBSAMPLE(c); in mdp_fmt_get_stride_contig()
356 stride = stride * 2; in mdp_fmt_get_stride_contig()
357 return stride; in mdp_fmt_get_stride_contig()
364 u32 stride, u32 height, unsigned int plane) in mdp_fmt_get_plane_size() argument
369 bytesperline = (stride * fmt->row_depth[0]) in mdp_fmt_get_plane_size()
391 u32 stride = mdp_fmt_get_stride(frame->mdp_fmt, in mdp_prepare_buffer() local
394 b->format.plane_fmt[i].stride = stride; in mdp_prepare_buffer()
396 mdp_fmt_get_plane_size(frame->mdp_fmt, stride, in mdp_prepare_buffer()
401 u32 stride = mdp_fmt_get_stride_contig(frame->mdp_fmt, in mdp_prepare_buffer() local
402 b->format.plane_fmt[0].stride, i); in mdp_prepare_buffer()
404 b->format.plane_fmt[i].stride = stride; in mdp_prepare_buffer()
406 mdp_fmt_get_plane_size(frame->mdp_fmt, stride, in mdp_prepare_buffer()