Lines Matching refs:yuv
76 static void fill_smpte_yuv_planar(const struct util_yuv_info *yuv, in fill_smpte_yuv_planar() argument
109 unsigned int cs = yuv->chroma_stride; in fill_smpte_yuv_planar()
110 unsigned int xsub = yuv->xsub; in fill_smpte_yuv_planar()
111 unsigned int ysub = yuv->ysub; in fill_smpte_yuv_planar()
180 static void fill_smpte_yuv_packed(const struct util_yuv_info *yuv, void *mem, in fill_smpte_yuv_packed() argument
212 unsigned char *y_mem = (yuv->order & YUV_YC) ? mem : mem + 1; in fill_smpte_yuv_packed()
213 unsigned char *c_mem = (yuv->order & YUV_CY) ? mem : mem + 1; in fill_smpte_yuv_packed()
214 unsigned int u = (yuv->order & YUV_YCrCb) ? 2 : 0; in fill_smpte_yuv_packed()
215 unsigned int v = (yuv->order & YUV_YCbCr) ? 2 : 0; in fill_smpte_yuv_packed()
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()
492 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[2], in fill_smpte()
614 const struct util_yuv_info *yuv = &info->yuv; in fill_tiles_yuv_planar() local
615 unsigned int cs = yuv->chroma_stride; in fill_tiles_yuv_planar()
616 unsigned int xsub = yuv->xsub; in fill_tiles_yuv_planar()
617 unsigned int ysub = yuv->ysub; in fill_tiles_yuv_planar()
647 const struct util_yuv_info *yuv = &info->yuv; in fill_tiles_yuv_packed() local
648 unsigned char *y_mem = (yuv->order & YUV_YC) ? mem : mem + 1; in fill_tiles_yuv_packed()
649 unsigned char *c_mem = (yuv->order & YUV_CY) ? mem : mem + 1; in fill_tiles_yuv_packed()
650 unsigned int u = (yuv->order & YUV_YCrCb) ? 2 : 0; in fill_tiles_yuv_packed()
651 unsigned int v = (yuv->order & YUV_YCbCr) ? 2 : 0; in fill_tiles_yuv_packed()
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()