Lines Matching refs:yuv
159 static void fill_smpte_yuv_planar(const struct util_yuv_info *yuv, in fill_smpte_yuv_planar() argument
192 unsigned int cs = yuv->chroma_stride; in fill_smpte_yuv_planar()
193 unsigned int xsub = yuv->xsub; in fill_smpte_yuv_planar()
194 unsigned int ysub = yuv->ysub; in fill_smpte_yuv_planar()
263 static void fill_smpte_yuv_packed(const struct util_yuv_info *yuv, void *mem, in fill_smpte_yuv_packed() argument
295 unsigned char *y_mem = (yuv->order & YUV_YC) ? mem : mem + 1; in fill_smpte_yuv_packed()
296 unsigned char *c_mem = (yuv->order & YUV_CY) ? mem : mem + 1; in fill_smpte_yuv_packed()
297 unsigned int u = (yuv->order & YUV_YCrCb) ? 2 : 0; in fill_smpte_yuv_packed()
298 unsigned int v = (yuv->order & YUV_YCbCr) ? 2 : 0; in fill_smpte_yuv_packed()
694 return fill_smpte_yuv_packed(&info->yuv, planes[0], width, in fill_smpte()
701 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_smpte()
702 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_smpte()
703 return fill_smpte_yuv_planar(&info->yuv, planes[0], u, v, in fill_smpte()
707 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[1], in fill_smpte()
711 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[2], in fill_smpte()
847 const struct util_yuv_info *yuv = &info->yuv; in fill_tiles_yuv_planar() local
848 unsigned int cs = yuv->chroma_stride; in fill_tiles_yuv_planar()
849 unsigned int xsub = yuv->xsub; in fill_tiles_yuv_planar()
850 unsigned int ysub = yuv->ysub; in fill_tiles_yuv_planar()
880 const struct util_yuv_info *yuv = &info->yuv; in fill_tiles_yuv_packed() local
881 unsigned char *y_mem = (yuv->order & YUV_YC) ? mem : mem + 1; in fill_tiles_yuv_packed()
882 unsigned char *c_mem = (yuv->order & YUV_CY) ? mem : mem + 1; in fill_tiles_yuv_packed()
883 unsigned int u = (yuv->order & YUV_YCrCb) ? 2 : 0; in fill_tiles_yuv_packed()
884 unsigned int v = (yuv->order & YUV_YCbCr) ? 2 : 0; in fill_tiles_yuv_packed()
1027 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_tiles()
1028 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_tiles()