Lines Matching refs:planes
460 static void fill_smpte(const struct util_format_info *info, void *planes[3], in fill_smpte()
471 return fill_smpte_yuv_packed(&info->yuv, planes[0], width, in fill_smpte()
478 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_smpte()
479 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_smpte()
480 return fill_smpte_yuv_planar(&info->yuv, planes[0], u, v, in fill_smpte()
484 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[1], in fill_smpte()
485 planes[2], width, height, stride); in fill_smpte()
488 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[2], in fill_smpte()
489 planes[1], width, height, stride); in fill_smpte()
509 return fill_smpte_rgb16(&info->rgb, planes[0], in fill_smpte()
514 return fill_smpte_rgb24(&info->rgb, planes[0], in fill_smpte()
532 return fill_smpte_rgb32(&info->rgb, planes[0], in fill_smpte()
745 static void fill_tiles(const struct util_format_info *info, void *planes[3], in fill_tiles()
756 return fill_tiles_yuv_packed(info, planes[0], in fill_tiles()
763 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_tiles()
764 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_tiles()
765 return fill_tiles_yuv_planar(info, planes[0], u, v, in fill_tiles()
769 return fill_tiles_yuv_planar(info, planes[0], planes[1], in fill_tiles()
770 planes[2], width, height, stride); in fill_tiles()
773 return fill_tiles_yuv_planar(info, planes[0], planes[2], in fill_tiles()
774 planes[1], width, height, stride); in fill_tiles()
794 return fill_tiles_rgb16(info, planes[0], in fill_tiles()
799 return fill_tiles_rgb24(info, planes[0], in fill_tiles()
817 return fill_tiles_rgb32(info, planes[0], in fill_tiles()
822 static void fill_plain(void *planes[3], in fill_plain()
826 memset(planes[0], 0x77, stride * height); in fill_plain()
842 void *planes[3], unsigned int width, in util_fill_pattern()
853 return fill_tiles(info, planes, width, height, stride); in util_fill_pattern()
856 return fill_smpte(info, planes, width, height, stride); in util_fill_pattern()
859 return fill_plain(planes, height, stride); in util_fill_pattern()