Lines Matching refs:width
78 unsigned char *v_mem, unsigned int width,
117 for (x = 0; x < width; ++x)
118 y_mem[x] = colors_top[x * 7 / width].y;
123 for (x = 0; x < width; ++x)
124 y_mem[x] = colors_middle[x * 7 / width].y;
129 for (x = 0; x < width * 5 / 7; ++x)
130 y_mem[x] = colors_bottom[x * 4 / (width * 5 / 7)].y;
131 for (; x < width * 6 / 7; ++x)
132 y_mem[x] = colors_bottom[(x - width * 5 / 7) * 3
133 / (width / 7) + 4].y;
134 for (; x < width; ++x)
141 for (x = 0; x < width; x += xsub) {
142 u_mem[x*cs/xsub] = colors_top[x * 7 / width].u;
143 v_mem[x*cs/xsub] = colors_top[x * 7 / width].v;
150 for (x = 0; x < width; x += xsub) {
151 u_mem[x*cs/xsub] = colors_middle[x * 7 / width].u;
152 v_mem[x*cs/xsub] = colors_middle[x * 7 / width].v;
159 for (x = 0; x < width * 5 / 7; x += xsub) {
161 colors_bottom[x * 4 / (width * 5 / 7)].u;
163 colors_bottom[x * 4 / (width * 5 / 7)].v;
165 for (; x < width * 6 / 7; x += xsub) {
166 u_mem[x*cs/xsub] = colors_bottom[(x - width * 5 / 7) *
167 3 / (width / 7) + 4].u;
168 v_mem[x*cs/xsub] = colors_bottom[(x - width * 5 / 7) *
169 3 / (width / 7) + 4].v;
171 for (; x < width; x += xsub) {
181 unsigned int width, unsigned int height,
221 for (x = 0; x < width; ++x)
222 y_mem[2*x] = colors_top[x * 7 / width].y;
227 for (x = 0; x < width; ++x)
228 y_mem[2*x] = colors_middle[x * 7 / width].y;
233 for (x = 0; x < width * 5 / 7; ++x)
234 y_mem[2*x] = colors_bottom[x * 4 / (width * 5 / 7)].y;
235 for (; x < width * 6 / 7; ++x)
236 y_mem[2*x] = colors_bottom[(x - width * 5 / 7) * 3
237 / (width / 7) + 4].y;
238 for (; x < width; ++x)
245 for (x = 0; x < width; x += 2) {
246 c_mem[2*x+u] = colors_top[x * 7 / width].u;
247 c_mem[2*x+v] = colors_top[x * 7 / width].v;
253 for (x = 0; x < width; x += 2) {
254 c_mem[2*x+u] = colors_middle[x * 7 / width].u;
255 c_mem[2*x+v] = colors_middle[x * 7 / width].v;
261 for (x = 0; x < width * 5 / 7; x += 2) {
262 c_mem[2*x+u] = colors_bottom[x * 4 / (width * 5 / 7)].u;
263 c_mem[2*x+v] = colors_bottom[x * 4 / (width * 5 / 7)].v;
265 for (; x < width * 6 / 7; x += 2) {
266 c_mem[2*x+u] = colors_bottom[(x - width * 5 / 7) *
267 3 / (width / 7) + 4].u;
268 c_mem[2*x+v] = colors_bottom[(x - width * 5 / 7) *
269 3 / (width / 7) + 4].v;
271 for (; x < width; x += 2) {
280 unsigned int width, unsigned int height,
315 for (x = 0; x < width; ++x)
316 ((uint16_t *)mem)[x] = colors_top[x * 7 / width];
321 for (x = 0; x < width; ++x)
322 ((uint16_t *)mem)[x] = colors_middle[x * 7 / width];
327 for (x = 0; x < width * 5 / 7; ++x)
329 colors_bottom[x * 4 / (width * 5 / 7)];
330 for (; x < width * 6 / 7; ++x)
332 colors_bottom[(x - width * 5 / 7) * 3
333 / (width / 7) + 4];
334 for (; x < width; ++x)
341 unsigned int width, unsigned int height,
376 for (x = 0; x < width; ++x)
378 colors_top[x * 7 / width];
383 for (x = 0; x < width; ++x)
385 colors_middle[x * 7 / width];
390 for (x = 0; x < width * 5 / 7; ++x)
392 colors_bottom[x * 4 / (width * 5 / 7)];
393 for (; x < width * 6 / 7; ++x)
395 colors_bottom[(x - width * 5 / 7) * 3
396 / (width / 7) + 4];
397 for (; x < width; ++x)
404 unsigned int width, unsigned int height,
439 for (x = 0; x < width; ++x)
440 ((uint32_t *)mem)[x] = colors_top[x * 7 / width];
445 for (x = 0; x < width; ++x)
446 ((uint32_t *)mem)[x] = colors_middle[x * 7 / width];
451 for (x = 0; x < width * 5 / 7; ++x)
453 colors_bottom[x * 4 / (width * 5 / 7)];
454 for (; x < width * 6 / 7; ++x)
456 colors_bottom[(x - width * 5 / 7) * 3
457 / (width / 7) + 4];
458 for (; x < width; ++x)
465 unsigned int width, unsigned int height,
475 return fill_smpte_yuv_packed(&info->yuv, planes[0], width,
485 width, height, stride);
489 planes[2], width, height, stride);
493 planes[1], width, height, stride);
514 width, height, stride);
519 width, height, stride);
537 width, height, stride);
546 static void make_pwetty(void *data, unsigned int width, unsigned int height,
573 width, height,
579 for (x = 0; x < width; x += 250)
611 unsigned char *v_mem, unsigned int width,
622 for (x = 0; x < width; ++x) {
623 div_t d = div(x+y, width);
644 void *mem, unsigned int width,
656 for (x = 0; x < width; x += 2) {
657 div_t d = div(x+y, width);
676 unsigned int width, unsigned int height,
684 for (x = 0; x < width; ++x) {
685 div_t d = div(x+y, width);
698 make_pwetty(mem_base, width, height, stride, info->format);
702 unsigned int width, unsigned int height,
709 for (x = 0; x < width; ++x) {
710 div_t d = div(x+y, width);
724 unsigned int width, unsigned int height,
732 for (x = 0; x < width; ++x) {
733 div_t d = div(x+y, width);
736 uint32_t alpha = ((y < height/2) && (x < width/2)) ? 127 : 255;
747 make_pwetty(mem_base, width, height, stride, info->format);
751 unsigned int width, unsigned int height,
762 width, height, stride);
771 width, height, stride);
775 planes[2], width, height, stride);
779 planes[1], width, height, stride);
800 width, height, stride);
805 width, height, stride);
823 width, height, stride);
828 unsigned int width, unsigned int height,
839 * @width: Width in pixels
847 void *planes[3], unsigned int width,
858 return fill_tiles(info, planes, width, height, stride);
861 return fill_smpte(info, planes, width, height, stride);
864 return fill_plain(info, planes, width, height, stride);