Lines Matching full:width
34 int width;
52 int width, int height,
66 ctx.width = width;
72 for (j = 0; j < width; j++) {
73 nB = *(pY + i * width + j);
82 for (j = 0; j < width; j++) {
83 nY = *(pY + i * width + j);
84 nV = *(pUV + (i/2) * width + bytes_per_pixel * (j/2));
85 nU = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1);
126 *(rgb16 + ctx->i * ctx->width + ctx->j) = b | (g << 5) | (r << 11);
142 offset = ctx->i * ctx->width + ctx->j;
148 offset = (ctx->height - 1 - ctx->i) * ctx->width + ctx->j;
151 offset = (ctx->width - 1 - ctx->j) * ctx->height + ctx->i;
194 int width,
211 header_size = snprintf(header, sizeof(header), "P6\n%d %d\n255\n", height, width);
213 header_size = snprintf(header, sizeof(header), "P6\n%d %d\n255\n", width, height);
226 outsize = header_size + width * height * bpp;
240 in = mmap(0, width * height * 3 / 2, PROT_READ, MAP_PRIVATE, ifd, 0);
259 INFO("Converting %dx%d YUV 4:2:0 to RGB24...\n", width, height);
260 color_convert_common(in, in + width * height,
261 width, height,
273 int height, width, gray, rotate;
281 &width,
295 if (height < 0 || width < 0) {
296 ERROR("You must specify both image height and width!\n");
316 INFO("width: %d\n", width);
333 height, width, gray,