Lines Matching refs:xsub
193 unsigned int xsub = yuv->xsub; in fill_smpte_yuv_planar() local
224 for (x = 0; x < width; x += xsub) { in fill_smpte_yuv_planar()
225 u_mem[x*cs/xsub] = colors_top[x * 7 / width].u; in fill_smpte_yuv_planar()
226 v_mem[x*cs/xsub] = colors_top[x * 7 / width].v; in fill_smpte_yuv_planar()
228 u_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
229 v_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
233 for (x = 0; x < width; x += xsub) { in fill_smpte_yuv_planar()
234 u_mem[x*cs/xsub] = colors_middle[x * 7 / width].u; in fill_smpte_yuv_planar()
235 v_mem[x*cs/xsub] = colors_middle[x * 7 / width].v; in fill_smpte_yuv_planar()
237 u_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
238 v_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
242 for (x = 0; x < width * 5 / 7; x += xsub) { in fill_smpte_yuv_planar()
243 u_mem[x*cs/xsub] = in fill_smpte_yuv_planar()
245 v_mem[x*cs/xsub] = in fill_smpte_yuv_planar()
248 for (; x < width * 6 / 7; x += xsub) { in fill_smpte_yuv_planar()
249 u_mem[x*cs/xsub] = colors_bottom[(x - width * 5 / 7) * in fill_smpte_yuv_planar()
251 v_mem[x*cs/xsub] = colors_bottom[(x - width * 5 / 7) * in fill_smpte_yuv_planar()
254 for (; x < width; x += xsub) { in fill_smpte_yuv_planar()
255 u_mem[x*cs/xsub] = colors_bottom[7].u; in fill_smpte_yuv_planar()
256 v_mem[x*cs/xsub] = colors_bottom[7].v; in fill_smpte_yuv_planar()
258 u_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
259 v_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
849 unsigned int xsub = yuv->xsub; in fill_tiles_yuv_planar() local
864 u_mem[x/xsub*cs] = color.u; in fill_tiles_yuv_planar()
865 v_mem[x/xsub*cs] = color.v; in fill_tiles_yuv_planar()
870 u_mem += stride * cs / xsub; in fill_tiles_yuv_planar()
871 v_mem += stride * cs / xsub; in fill_tiles_yuv_planar()