Lines Matching refs:yuv
76 static void fill_smpte_yuv_planar(const struct util_yuv_info *yuv,
109 unsigned int cs = yuv->chroma_stride;
110 unsigned int xsub = yuv->xsub;
111 unsigned int ysub = yuv->ysub;
180 static void fill_smpte_yuv_packed(const struct util_yuv_info *yuv, void *mem,
212 unsigned char *y_mem = (yuv->order & YUV_YC) ? mem : mem + 1;
213 unsigned char *c_mem = (yuv->order & YUV_CY) ? mem : mem + 1;
214 unsigned int u = (yuv->order & YUV_YCrCb) ? 2 : 0;
215 unsigned int v = (yuv->order & YUV_YCbCr) ? 2 : 0;
475 return fill_smpte_yuv_packed(&info->yuv, planes[0], width,
482 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1;
483 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1;
484 return fill_smpte_yuv_planar(&info->yuv, planes[0], u, v,
488 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[1],
492 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[2],
614 const struct util_yuv_info *yuv = &info->yuv;
615 unsigned int cs = yuv->chroma_stride;
616 unsigned int xsub = yuv->xsub;
617 unsigned int ysub = yuv->ysub;
647 const struct util_yuv_info *yuv = &info->yuv;
648 unsigned char *y_mem = (yuv->order & YUV_YC) ? mem : mem + 1;
649 unsigned char *c_mem = (yuv->order & YUV_CY) ? mem : mem + 1;
650 unsigned int u = (yuv->order & YUV_YCrCb) ? 2 : 0;
651 unsigned int v = (yuv->order & YUV_YCbCr) ? 2 : 0;
768 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1;
769 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1;