Lines Matching refs:width
140 #define EMUL_IMAGER_VIDEO_FORMAT_CAP(width, height, format) \ argument
143 .width_min = (width), \
144 .width_max = (width), \
229 *(int64_t *)value = (int64_t)data->fmt.width * data->fmt.pitch * data->mode->fps; in emul_imager_get_ctrl()
334 for (size_t i = 0; i < fmt->width; i++) { in emul_imager_fill_framebuffer()
335 y = pattern_8bars_yuv[i * 8 / fmt->width][0]; in emul_imager_fill_framebuffer()
336 uv = pattern_8bars_yuv[i * 8 / fmt->width][1 + i % 2]; in emul_imager_fill_framebuffer()
341 for (size_t i = 0; i < fmt->width; i++) { in emul_imager_fill_framebuffer()
342 r = pattern_8bars_rgb[i * 8 / fmt->width][0] >> (8 - 5); in emul_imager_fill_framebuffer()
343 g = pattern_8bars_rgb[i * 8 / fmt->width][1] >> (8 - 6); in emul_imager_fill_framebuffer()
344 b = pattern_8bars_rgb[i * 8 / fmt->width][2] >> (8 - 5); in emul_imager_fill_framebuffer()
374 fmt->width, fmt->height, fmt->pitch * fmt->height); in emul_imager_set_fmt()
384 LOG_ERR("Format %x %ux%u not found for %s", fmt->pixelformat, fmt->width, in emul_imager_set_fmt()
473 fmt.width = fmts[0].width_min; in emul_imager_init()
475 fmt.pitch = fmt.width * 2; in emul_imager_init()
480 fmt.width, fmt.height); in emul_imager_init()