Lines Matching refs:planes
464 static void fill_smpte(const struct util_format_info *info, void *planes[3], in fill_smpte()
475 return fill_smpte_yuv_packed(&info->yuv, planes[0], width, in fill_smpte()
482 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_smpte()
483 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_smpte()
484 return fill_smpte_yuv_planar(&info->yuv, planes[0], u, v, in fill_smpte()
488 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[1], in fill_smpte()
489 planes[2], width, height, stride); in fill_smpte()
492 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[2], in fill_smpte()
493 planes[1], width, height, stride); in fill_smpte()
513 return fill_smpte_rgb16(&info->rgb, planes[0], in fill_smpte()
518 return fill_smpte_rgb24(&info->rgb, planes[0], in fill_smpte()
536 return fill_smpte_rgb32(&info->rgb, planes[0], in fill_smpte()
750 static void fill_tiles(const struct util_format_info *info, void *planes[3], in fill_tiles()
761 return fill_tiles_yuv_packed(info, planes[0], in fill_tiles()
768 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_tiles()
769 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_tiles()
770 return fill_tiles_yuv_planar(info, planes[0], u, v, in fill_tiles()
774 return fill_tiles_yuv_planar(info, planes[0], planes[1], in fill_tiles()
775 planes[2], width, height, stride); in fill_tiles()
778 return fill_tiles_yuv_planar(info, planes[0], planes[2], in fill_tiles()
779 planes[1], width, height, stride); in fill_tiles()
799 return fill_tiles_rgb16(info, planes[0], in fill_tiles()
804 return fill_tiles_rgb24(info, planes[0], in fill_tiles()
822 return fill_tiles_rgb32(info, planes[0], in fill_tiles()
827 static void fill_plain(const struct util_format_info *info, void *planes[3], in fill_plain()
831 memset(planes[0], 0x77, stride * height); in fill_plain()
847 void *planes[3], unsigned int width, in util_fill_pattern()
858 return fill_tiles(info, planes, width, height, stride); in util_fill_pattern()
861 return fill_smpte(info, planes, width, height, stride); in util_fill_pattern()
864 return fill_plain(info, planes, width, height, stride); in util_fill_pattern()