Lines Matching refs:stride
607 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
618 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
622 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
623 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
627 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE()
633 return stride; in VENUS_Y_STRIDE()
638 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
649 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
653 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE()
654 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_UV_STRIDE()
658 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_UV_STRIDE()
664 return stride; in VENUS_UV_STRIDE()
827 unsigned int alignment = 0, stride = 0, bpp = 4; in VENUS_RGB_STRIDE() local
848 stride = MSM_MEDIA_ALIGN(width * bpp, alignment); in VENUS_RGB_STRIDE()
851 return stride; in VENUS_RGB_STRIDE()