Searched defs:rowbytes (Results 1 - 25 of 25) sorted by relevance

/external/quake/quake/src/QW/client/
H A Dd_modech.c61 int rowbytes; local
64 rowbytes = WARP_WIDTH;
66 rowbytes = vid.rowbytes;
100 d_scantable[i] = i*rowbytes;
H A Dvid.h40 unsigned rowbytes; // may be > width if displayed in a window member in struct:__anon4263
H A Dglquake.h144 int rowbytes; // destination logical width in bytes member in struct:__anon4197
H A Dglquake2.h98 int rowbytes; // destination logical width in bytes member in struct:__anon4200
H A Dd_iface.h194 int rowbytes; // destination logical width in bytes member in struct:__anon4167
H A Ddraw.c31 int rowbytes; member in struct:__anon4171
119 r_rectdesc.rowbytes = draw_backtile->width;
362 dest = vid.buffer + y * vid.rowbytes + x;
367 dest += vid.rowbytes;
374 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x;
383 pusdest += vid.rowbytes >> 1;
413 dest = vid.buffer + y * vid.rowbytes + x;
418 dest += vid.rowbytes;
425 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x;
434 pusdest += vid.rowbytes >>
741 R_DrawRect8(vrect_t *prect, int rowbytes, byte *psrc, int transparent) argument
790 R_DrawRect16(vrect_t *prect, int rowbytes, byte *psrc, int transparent) argument
[all...]
H A Dgl_screen.c682 int rowbytes, byte *palette, qboolean upload)
714 data += rowbytes * (height - 1);
729 data += rowbytes - width;
730 data -= rowbytes * 2;
681 WritePCXfile(char *filename, byte *data, int width, int height, int rowbytes, byte *palette, qboolean upload) argument
H A Dscreen.c591 int rowbytes, byte *palette, qboolean upload)
636 data += rowbytes - width;
690 WritePCXfile (pcxname, vid.buffer, vid.width, vid.height, vid.rowbytes,
862 src = vid.buffer + (vid.rowbytes * dy) + dx;
590 WritePCXfile(char *filename, byte *data, int width, int height, int rowbytes, byte *palette, qboolean upload) argument
/external/quake/quake/src/WinQuake/
H A Dd_modech.cpp61 int rowbytes; local
64 rowbytes = WARP_WIDTH;
66 rowbytes = vid.rowbytes;
100 d_scantable[i] = i*rowbytes;
H A Dvid_dos.h29 unsigned rowbytes; member in struct:vmode_s
75 qboolean VGA_CheckAdequateMem (int width, int height, int rowbytes,
H A Dvid.h40 unsigned rowbytes; // may be > width if displayed in a window member in struct:__anon4710
H A Dvid_vga.cpp254 tbuffersize = (lvid->rowbytes * (lvid->height + 1)) +
310 qboolean VGA_CheckAdequateMem (int width, int height, int rowbytes, argument
320 tbuffersize += (rowbytes * (height + 1));
372 VGA_rowbytes = lvid->rowbytes / 4;
374 VGA_rowbytes = lvid->rowbytes;
375 VGA_bufferrowbytes = lvid->rowbytes;
383 lvid->conrowbytes = lvid->rowbytes;
451 lvid->buffer + rects->x + (rects->y * lvid->rowbytes),
455 lvid->rowbytes,
H A Dd_iface.h195 int rowbytes; // destination logical width in bytes member in struct:__anon4450
H A Ddraw.cpp31 int rowbytes; member in struct:__anon4458
121 r_rectdesc.rowbytes = draw_backtile->width;
307 dest = vid.buffer + y * vid.rowbytes + x;
312 dest += vid.rowbytes;
319 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x;
328 pusdest += vid.rowbytes >> 1;
356 dest = vid.buffer + y * vid.rowbytes + x;
366 dest += vid.rowbytes;
393 dest += vid.rowbytes;
401 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >>
630 R_DrawRect8(vrect_t *prect, int rowbytes, byte *psrc, int transparent) argument
679 R_DrawRect16(vrect_t *prect, int rowbytes, byte *psrc, int transparent) argument
[all...]
H A Dscreen.cpp548 int rowbytes, byte *palette)
593 data += rowbytes - width;
644 WritePCXfile (pcxname, vid.buffer, vid.width, vid.height, vid.rowbytes,
547 WritePCXfile(char *filename, byte *data, int width, int height, int rowbytes, byte *palette) argument
H A Dglquake.h133 int rowbytes; // destination logical width in bytes member in struct:__anon4558
/external/libpng/contrib/gregbook/
H A Dreadppm.c145 ulg rowbytes; local
154 *pRowbytes = rowbytes = channels*width;
157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
161 Trace((stderr, "readpng_get_image: rowbytes = %ld, height = %ld\n", rowbytes, height));
166 fread(image_data, 1L, rowbytes*height, saved_infile);
H A Dreadpng.c209 png_uint_32 i, rowbytes; local
248 * get rowbytes and channels, and allocate image memory */
252 *pRowbytes = rowbytes = png_get_rowbytes(png_ptr, info_ptr);
255 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
266 Trace((stderr, "readpng_get_image: channels = %d, rowbytes = %ld, height = %ld\n", *pChannels, rowbytes, height));
272 row_pointers[i] = image_data + i*rowbytes;
H A Dreadpng2.h96 int rowbytes; member in struct:_mainprog_info
H A Dwpng.c166 ulg rowbytes; local
684 /* calculate rowbytes on basis of image type; note that this becomes much
689 rowbytes = wpng_info.width;
691 rowbytes = wpng_info.width * 3;
693 rowbytes = wpng_info.width * 4;
705 ulg image_bytes = rowbytes * wpng_info.height; /* overflow? */
716 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes;
735 wpng_info.image_data = (uch *)malloc(rowbytes);
744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile);
745 if (bytes != rowbytes) {
[all...]
H A Drpng2-win.c621 ulg rowbytes = rpng2_info.rowbytes; local
624 Trace((stderr, " rowbytes = %d\n", rpng2_info.rowbytes))
628 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
643 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes;
1075 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
H A Drpng2-x.c773 ulg rowbytes = rpng2_info.rowbytes; local
776 Trace((stderr, " rowbytes = %d\n", rpng2_info.rowbytes))
780 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
795 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes;
1422 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
1624 Trace((stderr, " (width = %ld, rowbytes = %d, ximage_rowbytes = %d)\n",
1625 rpng2_info.width, rpng2_info.rowbytes, ximage_rowbytes))
1643 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
[all...]
/external/quake/quake/src/QW/server/
H A Dsv_init.c186 int rowbytes, rowwords; local
197 rowbytes = rowwords*4;
199 sv.pvs = Hunk_Alloc (rowbytes*num);
202 for (i=0 ; i<num ; i++, scan+=rowbytes)
205 rowbytes);
218 sv.phs = Hunk_Alloc (rowbytes*num);
222 for (i=0 ; i<num ; i++, dest += rowwords, scan += rowbytes)
224 memcpy (dest, scan, rowbytes);
225 for (j=0 ; j<rowbytes ; j++)
/external/libpng/
H A Dpng.h821 png_uint_32 rowbytes PNG_DEPSTRUCT; /* bytes needed to hold an untransformed row */
1161 png_uint_32 rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct
1291 png_uint_32 rowbytes PNG_DEPSTRUCT; /* size of row in bytes */
/external/qemu/distrib/libpng-1.2.19/
H A Dpng.h702 png_uint_32 rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_struct
1041 png_uint_32 rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct
1166 png_uint_32 rowbytes; /* size of row in bytes */ member in struct:png_struct_def

Completed in 166 milliseconds