Home | History | Annotate | Download | only in modetest

Lines Matching refs:xsub

89 	unsigned int xsub;
104 #define MAKE_YUV_INFO(order, xsub, ysub, chroma_stride) \
105 .yuv = { (order), (xsub), (ysub), (chroma_stride) }
242 unsigned int xsub = yuv->xsub;
273 for (x = 0; x < width; x += xsub) {
274 u_mem[x*cs/xsub] = colors_top[x * 7 / width].u;
275 v_mem[x*cs/xsub] = colors_top[x * 7 / width].v;
277 u_mem += stride * cs / xsub;
278 v_mem += stride * cs / xsub;
282 for (x = 0; x < width; x += xsub) {
283 u_mem[x*cs/xsub] = colors_middle[x * 7 / width].u;
284 v_mem[x*cs/xsub] = colors_middle[x * 7 / width].v;
286 u_mem += stride * cs / xsub;
287 v_mem += stride * cs / xsub;
291 for (x = 0; x < width * 5 / 7; x += xsub) {
292 u_mem[x*cs/xsub] =
294 v_mem[x*cs/xsub] =
297 for (; x < width * 6 / 7; x += xsub) {
298 u_mem[x*cs/xsub] = colors_bottom[(x - width * 5 / 7) *
300 v_mem[x*cs/xsub] = colors_bottom[(x - width * 5 / 7) *
303 for (; x < width; x += xsub) {
304 u_mem[x*cs/xsub] = colors_bottom[7].u;
305 v_mem[x*cs/xsub] = colors_bottom[7].v;
307 u_mem += stride * cs / xsub;
308 v_mem += stride * cs / xsub;
750 unsigned int xsub = yuv->xsub;
765 u_mem[x/xsub*cs] = color.u;
766 v_mem[x/xsub*cs] = color.v;
771 u_mem += stride * cs / xsub;
772 v_mem += stride * cs / xsub;