HomeSort by relevance Sort by last modified time
    Searched defs:rowbytes (Results 1 - 25 of 25) sorted by null

  /external/libpng/contrib/gregbook/
readppm.c 145 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);
readpng.c 209 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;
readpng2.h 96 int rowbytes; member in struct:_mainprog_info
wpng.c 166 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...]
rpng2-win.c 621 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;
    [all...]
rpng2-x.c 773 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;
    [all...]
  /external/quake/quake/src/QW/client/
d_modech.c 61 int rowbytes; local
64 rowbytes = WARP_WIDTH;
66 rowbytes = vid.rowbytes;
100 d_scantable[i] = i*rowbytes;
vid.h 40 unsigned rowbytes; // may be > width if displayed in a window member in struct:__anon14229
glquake.h 144 int rowbytes; // destination logical width in bytes member in struct:__anon14163
glquake2.h 98 int rowbytes; // destination logical width in bytes member in struct:__anon14166
d_iface.h 194 int rowbytes; // destination logical width in bytes member in struct:__anon14133
draw.c 31 int rowbytes; member in struct:__anon14137
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 >> 1
    [all...]
  /external/quake/quake/src/WinQuake/
d_modech.cpp 61 int rowbytes; local
64 rowbytes = WARP_WIDTH;
66 rowbytes = vid.rowbytes;
100 d_scantable[i] = i*rowbytes;
vid_dos.h 29 unsigned rowbytes; member in struct:vmode_s
75 qboolean VGA_CheckAdequateMem (int width, int height, int rowbytes,
vid.h 40 unsigned rowbytes; // may be > width if displayed in a window member in struct:__anon14676
d_iface.h 195 int rowbytes; // destination logical width in bytes member in struct:__anon14416
draw.cpp 31 int rowbytes; member in struct:__anon14424
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 >> 1) + x
    [all...]
glquake.h 133 int rowbytes; // destination logical width in bytes member in struct:__anon14524
  /external/quake/quake/src/QW/server/
sv_init.c 186 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++)
  /ndk/tests/build/issue20862-libpng-O0/jni/
pnginfo.h 62 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_def
pngstruct.h 104 png_size_t rowbytes; /* size of row in bytes */ member in struct:png_struct_def
png.h 843 png_size_t rowbytes; \/* number of bytes in row *\/ member in struct:png_row_info_struct
    [all...]
  /hardware/ti/omap4xxx/hwc/
hwc.c 110 int rowbytes; member in struct:omap4_hwc_img
113 } dock_image = { .rowbytes = 0 };
    [all...]
  /external/libpng/
png.h 1205 png_uint_32 rowbytes; \/* number of bytes in row *\/ member in struct:png_row_info_struct
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
png.h 702 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
    [all...]

Completed in 382 milliseconds