Lines Matching refs:xsub
110 unsigned int xsub = yuv->xsub; in fill_smpte_yuv_planar() local
141 for (x = 0; x < width; x += xsub) { in fill_smpte_yuv_planar()
142 u_mem[x*cs/xsub] = colors_top[x * 7 / width].u; in fill_smpte_yuv_planar()
143 v_mem[x*cs/xsub] = colors_top[x * 7 / width].v; in fill_smpte_yuv_planar()
145 u_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
146 v_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
150 for (x = 0; x < width; x += xsub) { in fill_smpte_yuv_planar()
151 u_mem[x*cs/xsub] = colors_middle[x * 7 / width].u; in fill_smpte_yuv_planar()
152 v_mem[x*cs/xsub] = colors_middle[x * 7 / width].v; in fill_smpte_yuv_planar()
154 u_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
155 v_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
159 for (x = 0; x < width * 5 / 7; x += xsub) { in fill_smpte_yuv_planar()
160 u_mem[x*cs/xsub] = in fill_smpte_yuv_planar()
162 v_mem[x*cs/xsub] = in fill_smpte_yuv_planar()
165 for (; x < width * 6 / 7; x += xsub) { in fill_smpte_yuv_planar()
166 u_mem[x*cs/xsub] = colors_bottom[(x - width * 5 / 7) * in fill_smpte_yuv_planar()
168 v_mem[x*cs/xsub] = colors_bottom[(x - width * 5 / 7) * in fill_smpte_yuv_planar()
171 for (; x < width; x += xsub) { in fill_smpte_yuv_planar()
172 u_mem[x*cs/xsub] = colors_bottom[7].u; in fill_smpte_yuv_planar()
173 v_mem[x*cs/xsub] = colors_bottom[7].v; in fill_smpte_yuv_planar()
175 u_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
176 v_mem += stride * cs / xsub; in fill_smpte_yuv_planar()
616 unsigned int xsub = yuv->xsub; in fill_tiles_yuv_planar() local
631 u_mem[x/xsub*cs] = color.u; in fill_tiles_yuv_planar()
632 v_mem[x/xsub*cs] = color.v; in fill_tiles_yuv_planar()
637 u_mem += stride * cs / xsub; in fill_tiles_yuv_planar()
638 v_mem += stride * cs / xsub; in fill_tiles_yuv_planar()