Home | History | Annotate | Download | only in yuv420sp2rgb

Lines Matching refs:height

35     int height;
52 int width, int height,
67 ctx.height = height;
71 for (i = 0; i < height; i++) {
81 for (i = 0; i < height; i++) {
145 offset = ctx->height * (ctx->j + 1) - ctx->i;
148 offset = (ctx->height - 1 - ctx->i) * ctx->width + ctx->j;
151 offset = (ctx->width - 1 - ctx->j) * ctx->height + ctx->i;
193 int height,
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;
280 &height,
295 if (height < 0 || width < 0) {
296 ERROR("You must specify both image height and width!\n");
315 INFO("height: %d\n", height);
333 height, width, gray,