Searched refs:xsub (Results 1 – 3 of 3) sorted by relevance
12 #define MAKE_YUV_INFO(order, xsub, ysub, chroma_stride) \ argument13 .yuv = { (order), (xsub), (ysub), (chroma_stride) }115 unsigned int xsub = yuv->xsub; in fill_smpte_yuv_planar() local145 for (x = 0; x < width; x += xsub) { in fill_smpte_yuv_planar()146 u_mem[x * cs / xsub] = colors_top[x * 7 / width].u; in fill_smpte_yuv_planar()147 v_mem[x * cs / xsub] = colors_top[x * 7 / width].v; in fill_smpte_yuv_planar()149 u_mem += stride * cs / xsub; in fill_smpte_yuv_planar()150 v_mem += stride * cs / xsub; in fill_smpte_yuv_planar()154 for (x = 0; x < width; x += xsub) { in fill_smpte_yuv_planar()155 u_mem[x * cs / xsub] = colors_middle[x * 7 / width].u; in fill_smpte_yuv_planar()[all …]
35 unsigned int xsub; member
1384 unsigned int xsub = ovl->format->bpp < 24 ? 2 : 1; in sh_mobile_lcdc_overlay_pan() local1388 c_offset = var->yoffset / ysub * ovl->xres_virtual * 2 / xsub in sh_mobile_lcdc_overlay_pan()1389 + var->xoffset * 2 / xsub; in sh_mobile_lcdc_overlay_pan()1698 unsigned int xsub = ch->format->bpp < 24 ? 2 : 1; in sh_mobile_lcdc_pan() local1702 c_offset = var->yoffset / ysub * ch->xres_virtual * 2 / xsub in sh_mobile_lcdc_pan()1703 + var->xoffset * 2 / xsub; in sh_mobile_lcdc_pan()