Home
last modified time | relevance | path

Searched refs:rowbytes (Results 1 – 25 of 83) sorted by relevance

1234

/external/quake/quake/src/WinQuake/
Ddraw.cpp31 int rowbytes; member
121 r_rectdesc.rowbytes = draw_backtile->width; in Draw_Init()
307 dest = vid.buffer + y * vid.rowbytes + x; in Draw_Pic()
312 dest += vid.rowbytes; in Draw_Pic()
319 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x; in Draw_Pic()
328 pusdest += vid.rowbytes >> 1; in Draw_Pic()
356 dest = vid.buffer + y * vid.rowbytes + x; in Draw_TransPic()
366 dest += vid.rowbytes; in Draw_TransPic()
393 dest += vid.rowbytes; in Draw_TransPic()
401 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x; in Draw_TransPic()
[all …]
Dd_modech.cpp61 int rowbytes; in D_ViewChanged() local
64 rowbytes = WARP_WIDTH; in D_ViewChanged()
66 rowbytes = vid.rowbytes; in D_ViewChanged()
100 d_scantable[i] = i*rowbytes; in D_ViewChanged()
Dvid_vga.cpp254 tbuffersize = (lvid->rowbytes * (lvid->height + 1)) + in VGA_FreeAndAllocVidbuffer()
310 qboolean VGA_CheckAdequateMem (int width, int height, int rowbytes, in VGA_CheckAdequateMem() argument
320 tbuffersize += (rowbytes * (height + 1)); in VGA_CheckAdequateMem()
372 VGA_rowbytes = lvid->rowbytes / 4; in VGA_InitMode()
374 VGA_rowbytes = lvid->rowbytes; in VGA_InitMode()
375 VGA_bufferrowbytes = lvid->rowbytes; in VGA_InitMode()
383 lvid->conrowbytes = lvid->rowbytes; in VGA_InitMode()
451 lvid->buffer + rects->x + (rects->y * lvid->rowbytes), in VGA_SwapBuffersCopy()
455 lvid->rowbytes, in VGA_SwapBuffersCopy()
Dd_fill.cpp59 dest = ((byte *)vid.buffer + ry*vid.rowbytes + rx); in D_FillRect()
74 ldest = (unsigned *)((byte*)ldest + vid.rowbytes); in D_FillRect()
84 dest += vid.rowbytes; in D_FillRect()
Dvid_dos.cpp234 vid.rowbytes = pcurrentmode->rowbytes; in VID_SetMode()
256 vid.rowbytes = pcurrentmode->rowbytes; in VID_SetMode()
429 if (VGA_CheckAdequateMem (pv->width, pv->height, pv->rowbytes, in VID_DescribeModes_f()
461 if (VGA_CheckAdequateMem (pv->width, pv->height, pv->rowbytes, in VID_GetModeDescription()
Dvid_svgalib.cpp155 offset = x + ((y << repshift) + i + j) * vid.rowbytes; in D_BeginDirectRect()
215 offset = x + ((y << repshift) + i + j) * vid.rowbytes; in D_EndDirectRect()
496 vid.rowbytes = modes[current_mode].linewidth; in VID_SetMode()
499 vid.rowbytes = modes[current_mode].linewidth*4; in VID_SetMode()
505 vid.conrowbytes = vid.rowbytes; in VID_SetMode()
521 bsize = vid.rowbytes * vid.height; in VID_SetMode()
737 int total = vid.rowbytes * vid.height; in VID_Update()
756 offset = rects->y * vid.rowbytes + rects->x; in VID_Update()
777 offset += vid.rowbytes; in VID_Update()
Dr_misc.cpp122 dest = vid.buffer + vid.rowbytes*y + x; in R_LineGraph()
129 for (i=0 ; i<h ; i++, dest -= vid.rowbytes*2) in R_LineGraph()
132 *(dest-vid.rowbytes) = 0x30; in R_LineGraph()
134 for ( ; i<s ; i++, dest -= vid.rowbytes*2) in R_LineGraph()
137 *(dest-vid.rowbytes) = 0x30; in R_LineGraph()
Dvid_dos.h29 unsigned rowbytes; member
75 qboolean VGA_CheckAdequateMem (int width, int height, int rowbytes,
Dvid_ext.cpp374 vesa_modes[nummodes].rowbytes = modeinfo.bytes_per_scanline; in VID_InitExtra()
621 VGA_rowbytes = lvid->rowbytes; in VID_ExtraInitMode()
692 lvid->rowbytes = lvid->width; in VID_ExtraInitMode()
696 lvid->conrowbytes = lvid->rowbytes; in VID_ExtraInitMode()
784 lvid->buffer + rects->x + (rects->y * lvid->rowbytes), in VID_ExtraSwapBuffers()
788 lvid->rowbytes, in VID_ExtraSwapBuffers()
/external/quake/quake/src/QW/client/
Ddraw.c31 int rowbytes; member
119 r_rectdesc.rowbytes = draw_backtile->width; in Draw_Init()
362 dest = vid.buffer + y * vid.rowbytes + x; in Draw_Pic()
367 dest += vid.rowbytes; in Draw_Pic()
374 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x; in Draw_Pic()
383 pusdest += vid.rowbytes >> 1; in Draw_Pic()
413 dest = vid.buffer + y * vid.rowbytes + x; in Draw_SubPic()
418 dest += vid.rowbytes; in Draw_SubPic()
425 pusdest = (unsigned short *)vid.buffer + y * (vid.rowbytes >> 1) + x; in Draw_SubPic()
434 pusdest += vid.rowbytes >> 1; in Draw_SubPic()
[all …]
Dd_modech.c61 int rowbytes; in D_ViewChanged() local
64 rowbytes = WARP_WIDTH; in D_ViewChanged()
66 rowbytes = vid.rowbytes; in D_ViewChanged()
100 d_scantable[i] = i*rowbytes; in D_ViewChanged()
Dd_fill.c59 dest = ((byte *)vid.buffer + ry*vid.rowbytes + rx); in D_FillRect()
74 ldest = (unsigned *)((byte*)ldest + vid.rowbytes); in D_FillRect()
84 dest += vid.rowbytes; in D_FillRect()
Dvid_svgalib.c156 offset = x + ((y << repshift) + i + j) * vid.rowbytes; in D_BeginDirectRect()
216 offset = x + ((y << repshift) + i + j) * vid.rowbytes; in D_EndDirectRect()
497 vid.rowbytes = modes[current_mode].linewidth; in VID_SetMode()
500 vid.rowbytes = modes[current_mode].linewidth*4; in VID_SetMode()
506 vid.conrowbytes = vid.rowbytes; in VID_SetMode()
522 bsize = vid.rowbytes * vid.height; in VID_SetMode()
750 int total = vid.rowbytes * vid.height; in VID_Update()
769 offset = rects->y * vid.rowbytes + rects->x; in VID_Update()
790 offset += vid.rowbytes; in VID_Update()
Dr_misc.c123 dest = vid.buffer + vid.rowbytes*y + x; in R_LineGraph()
139 for (i=0 ; i<h ; i++, dest -= vid.rowbytes*2) in R_LineGraph()
145 for ( ; i<s ; i++, dest -= vid.rowbytes*2) in R_LineGraph()
148 *(dest-vid.rowbytes) = 0x30; in R_LineGraph()
/external/libpng/contrib/gregbook/
Dreadppm.c145 ulg rowbytes; in readpng_get_image() local
154 *pRowbytes = rowbytes = channels*width; in readpng_get_image()
157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
161 Trace((stderr, "readpng_get_image: rowbytes = %ld, height = %ld\n", rowbytes, height)); in readpng_get_image()
166 fread(image_data, 1L, rowbytes*height, saved_infile); in readpng_get_image()
Dreadpng.c209 png_uint_32 i, rowbytes; in readpng_get_image() local
252 *pRowbytes = rowbytes = png_get_rowbytes(png_ptr, info_ptr); in readpng_get_image()
255 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
266 …readpng_get_image: channels = %d, rowbytes = %ld, height = %ld\n", *pChannels, rowbytes, height)); in readpng_get_image()
272 row_pointers[i] = image_data + i*rowbytes; in readpng_get_image()
Dwpng.c166 ulg rowbytes; in main() local
689 rowbytes = wpng_info.width; in main()
691 rowbytes = wpng_info.width * 3; in main()
693 rowbytes = wpng_info.width * 4; in main()
705 ulg image_bytes = rowbytes * wpng_info.height; /* overflow? */ in main()
716 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes; in main()
735 wpng_info.image_data = (uch *)malloc(rowbytes); in main()
744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); in main()
745 if (bytes != rowbytes) { in main()
747 ": expected %lu bytes, got %lu bytes (row %ld)\n", rowbytes, in main()
/external/quake/quake/src/QW/server/
Dsv_init.c186 int rowbytes, rowwords; in SV_CalcPHS() local
197 rowbytes = rowwords*4; in SV_CalcPHS()
199 sv.pvs = Hunk_Alloc (rowbytes*num); in SV_CalcPHS()
202 for (i=0 ; i<num ; i++, scan+=rowbytes) in SV_CalcPHS()
205 rowbytes); in SV_CalcPHS()
218 sv.phs = Hunk_Alloc (rowbytes*num); in SV_CalcPHS()
222 for (i=0 ; i<num ; i++, dest += rowwords, scan += rowbytes) in SV_CalcPHS()
224 memcpy (dest, scan, rowbytes); in SV_CalcPHS()
225 for (j=0 ; j<rowbytes ; j++) in SV_CalcPHS()
/external/qemu/distrib/libpng-1.2.19/
Dpngtrans.c190 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
203 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
216 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
373 end = row + row_info->rowbytes; in png_do_packswap()
437 row_info->rowbytes = row_width * 3; in png_do_strip_filler()
483 row_info->rowbytes = row_width * 6; in png_do_strip_filler()
513 row_info->rowbytes = row_width; in png_do_strip_filler()
539 row_info->rowbytes = row_width * 2; in png_do_strip_filler()
Dpngrtran.c1246 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth,info_ptr->width); in png_read_transform_info()
1409 if(png_ptr->row_info.rowbytes == (png_uint_32)0) in png_do_read_transformations()
1490 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_do_read_transformations()
1583 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack()
1642 png_uint_32 istop = row_info->rowbytes; in png_do_unshift()
1655 png_uint_32 istop = row_info->rowbytes; in png_do_unshift()
1748 row_info->rowbytes = row_info->width * row_info->channels; in png_do_chop()
1768 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha()
1785 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha()
1810 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha()
[all …]
Dpnggccrd.c3221 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width); in png_do_read_interlace()
3256 FullLength = row_info->rowbytes; // number of bytes to filter in png_read_filter_row_mmx_avg()
4021 FullLength = row_info->rowbytes; // number of bytes to filter in png_read_filter_row_mmx_paeth()
5134 FullLength = row_info->rowbytes - bpp; // number of bytes to filter in png_read_filter_row_mmx_sub()
5620 len = row_info->rowbytes; // number of bytes to filter in png_read_filter_row_mmx_up()
5792 (row_info->rowbytes >= png_ptr->mmx_rowbytes_threshold)) in png_read_filter_row()
5807 (row_info->rowbytes >= png_ptr->mmx_rowbytes_threshold)) in png_read_filter_row()
5822 (row_info->rowbytes >= png_ptr->mmx_rowbytes_threshold)) in png_read_filter_row()
5838 (row_info->rowbytes >= png_ptr->mmx_rowbytes_threshold)) in png_read_filter_row()
5858 png_debug1(0, "rowbytes=%ld\n", row_info->rowbytes); in png_read_filter_row()
[all …]
/external/libpng/
Dpngtrans.c220 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
233 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
246 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
405 end = row + row_info->rowbytes; in png_do_packswap()
470 row_info->rowbytes = row_width * 3; in png_do_strip_filler()
516 row_info->rowbytes = row_width * 6; in png_do_strip_filler()
546 row_info->rowbytes = row_width; in png_do_strip_filler()
572 row_info->rowbytes = row_width * 2; in png_do_strip_filler()
Dpngrtran.c1328 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info()
1496 if (png_ptr->row_info.rowbytes == (png_uint_32)0) in png_do_read_transformations()
1577 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_do_read_transformations()
1673 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack()
1733 png_uint_32 istop = row_info->rowbytes; in png_do_unshift()
1747 png_uint_32 istop = row_info->rowbytes; in png_do_unshift()
1846 row_info->rowbytes = row_info->width * row_info->channels; in png_do_chop()
1867 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha()
1884 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha()
1909 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha()
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DWKCAImageQueue.cpp87 uint64_t WKCAImageQueue::registerPixelBuffer(void *data, size_t data_size, size_t rowbytes, size_t … in registerPixelBuffer() argument
89 …ueueRegisterPixelBuffer(m_private->m_imageQueue.get(), data, data_size, rowbytes, width, height, p… in registerPixelBuffer()
/external/llvm/test/Transforms/IndVarSimplify/
Ddangling-use.ll6 define void @vec_inverse_5_7_vert_loop_copyseparate(i8* %x, i32 %n, i32 %rowbytes) nounwind {
9 %tmp2 = sdiv i32 %rowbytes, 5 ; <i32> [#uses=2]

1234