Home
last modified time | relevance | path

Searched refs:rowstride (Results 1 – 23 of 23) sorted by relevance

/external/libvncserver/libvncserver/
Ddraw.c5 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3; in rfbFillRect() local
13 memcpy(s->frameBuffer+j*rowstride+i*bpp,colour,bpp); in rfbFillRect()
18 memcpy(s->frameBuffer+(y)*rowstride+(x)*bpp,colour,bpp)
22 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3; in rfbDrawPixel() local
33 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3; in rfbDrawLine() local
Dfont.c9 int rowstride=rfbScreen->paddedWidthInBytes; in rfbDrawChar() local
29 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp,colour,bpp); in rfbDrawChar()
56 int rowstride=rfbScreen->paddedWidthInBytes; in rfbDrawCharWithClip() local
89 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp, in rfbDrawCharWithClip()
92 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp, in rfbDrawCharWithClip()
Dmain.c361 rowstride=screen->paddedWidthInBytes; in rfbDoCopyRegion() local
368 out = screen->frameBuffer+rect.x1*bpp+rect.y1*rowstride; in rfbDoCopyRegion()
369 in = screen->frameBuffer+(rect.x1-dx)*bpp+(rect.y1-dy)*rowstride; in rfbDoCopyRegion()
371 for(j=rect.y1;j<rect.y2;j++,out+=rowstride,in+=rowstride) in rfbDoCopyRegion()
374 out += rowstride*(rect.y2-rect.y1-1); in rfbDoCopyRegion()
375 in += rowstride*(rect.y2-rect.y1-1); in rfbDoCopyRegion()
376 for(j=rect.y2-1;j>=rect.y1;j--,out-=rowstride,in-=rowstride) in rfbDoCopyRegion()
Dcursor.c477 rowstride=s->paddedWidthInBytes; in rfbHideCursor() local
504 memcpy(s->frameBuffer+(y1+j)*rowstride+x1*bpp, in rfbHideCursor()
519 rowstride=s->paddedWidthInBytes, in rfbShowCursor() local
558 const char* src=s->frameBuffer+(y1+j)*rowstride+x1*bpp; in rfbShowCursor()
599 dest = s->frameBuffer + (j+y1)*rowstride + (i+x1)*bpp; in rfbShowCursor()
664 memcpy(s->frameBuffer+(j+y1)*rowstride+(i+x1)*bpp, in rfbShowCursor()
/external/libyuv/files/source/
Dscale_argb.cc480 int rowstride = kRowSize; in ScaleARGBBilinearUp() local
487 ScaleARGBFilterCols(rowptr + rowstride, src, dst_width, x, dx); in ScaleARGBBilinearUp()
500 rowptr += rowstride; in ScaleARGBBilinearUp()
501 rowstride = -rowstride; in ScaleARGBBilinearUp()
510 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf); in ScaleARGBBilinearUp()
687 int rowstride = kRowSize; in ScaleYUVToARGBBilinearUp() local
699 ScaleARGBFilterCols(rowptr + rowstride, src_row_y, dst_width, x, dx); in ScaleYUVToARGBBilinearUp()
723 rowptr += rowstride; in ScaleYUVToARGBBilinearUp()
724 rowstride = -rowstride; in ScaleYUVToARGBBilinearUp()
737 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf); in ScaleYUVToARGBBilinearUp()
Dscale.cc1301 int rowstride = kRowSize; in ScalePlaneBilinearUp() local
1308 ScaleFilterCols(rowptr + rowstride, src, dst_width, x, dx); in ScalePlaneBilinearUp()
1321 rowptr += rowstride; in ScalePlaneBilinearUp()
1322 rowstride = -rowstride; in ScalePlaneBilinearUp()
1331 InterpolateRow(dst_ptr, rowptr, rowstride, dst_width, yf); in ScalePlaneBilinearUp()
1436 int rowstride = kRowSize; in ScalePlaneBilinearUp_16() local
1443 ScaleFilterCols(rowptr + rowstride, src, dst_width, x, dx); in ScalePlaneBilinearUp_16()
1456 rowptr += rowstride; in ScalePlaneBilinearUp_16()
1457 rowstride = -rowstride; in ScalePlaneBilinearUp_16()
1466 InterpolateRow(dst_ptr, rowptr, rowstride, dst_width, yf); in ScalePlaneBilinearUp_16()
/external/libvpx/libvpx/third_party/libyuv/source/
Dscale_argb.cc385 int rowstride = kRowSize; in ScaleARGBBilinearUp() local
392 ScaleARGBFilterCols(rowptr + rowstride, src, dst_width, x, dx); in ScaleARGBBilinearUp()
405 rowptr += rowstride; in ScaleARGBBilinearUp()
406 rowstride = -rowstride; in ScaleARGBBilinearUp()
415 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf); in ScaleARGBBilinearUp()
573 int rowstride = kRowSize; in ScaleYUVToARGBBilinearUp() local
585 ScaleARGBFilterCols(rowptr + rowstride, src_row_y, dst_width, x, dx); in ScaleYUVToARGBBilinearUp()
609 rowptr += rowstride; in ScaleYUVToARGBBilinearUp()
610 rowstride = -rowstride; in ScaleYUVToARGBBilinearUp()
623 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf); in ScaleYUVToARGBBilinearUp()
Dscale.cc1136 int rowstride = kRowSize; in ScalePlaneBilinearUp() local
1143 ScaleFilterCols(rowptr + rowstride, src, dst_width, x, dx); in ScalePlaneBilinearUp()
1156 rowptr += rowstride; in ScalePlaneBilinearUp()
1157 rowstride = -rowstride; in ScalePlaneBilinearUp()
1166 InterpolateRow(dst_ptr, rowptr, rowstride, dst_width, yf); in ScalePlaneBilinearUp()
1267 int rowstride = kRowSize; in ScalePlaneBilinearUp_16() local
1274 ScaleFilterCols(rowptr + rowstride, src, dst_width, x, dx); in ScalePlaneBilinearUp_16()
1287 rowptr += rowstride; in ScalePlaneBilinearUp_16()
1288 rowstride = -rowstride; in ScalePlaneBilinearUp_16()
1297 InterpolateRow(dst_ptr, rowptr, rowstride, dst_width, yf); in ScalePlaneBilinearUp_16()
/external/libvncserver/examples/
Dexample.c98 static void drawline(unsigned char* buffer,int rowstride,int bpp,int x1,int y1,int x2,int y2) in drawline() argument
104 buffer[y1*rowstride+x1*bpp+i]=0xff; in drawline()
113 buffer[j*rowstride+(x1+(j-y1)*(x2-x1)/(y2-y1))*bpp+i]=0xff; in drawline()
118 buffer[(y1+(i-x1)*(y2-y1)/(x2-x1))*rowstride+i*bpp+j]=0xff; in drawline()
/external/mesa3d/src/mesa/main/
Dtexgetimage.c140 GLint rowstride; in get_tex_depth_stencil() local
145 GL_MAP_READ_BIT, &srcMap, &rowstride); in get_tex_depth_stencil()
149 const GLubyte *src = srcMap + row * rowstride; in get_tex_depth_stencil()
187 GLint rowstride; in get_tex_stencil() local
193 &srcMap, &rowstride); in get_tex_stencil()
197 const GLubyte *src = srcMap + row * rowstride; in get_tex_stencil()
231 GLint rowstride; in get_tex_ycbcr() local
236 GL_MAP_READ_BIT, &srcMap, &rowstride); in get_tex_ycbcr()
240 const GLubyte *src = srcMap + row * rowstride; in get_tex_ycbcr()
460 GLint rowstride; in get_tex_rgba_uncompressed() local
[all …]
Dtexcompress_bptc.c1280 int rowstride; in _mesa_texstore_bptc_rgba_unorm() local
1303 rowstride = srcWidth * 4; in _mesa_texstore_bptc_rgba_unorm()
1307 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in _mesa_texstore_bptc_rgba_unorm()
1312 pixels, rowstride, in _mesa_texstore_bptc_rgba_unorm()
1592 int rowstride; in texstore_bptc_rgb_float() local
1614 rowstride = srcWidth * sizeof(float) * 3; in texstore_bptc_rgb_float()
1618 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in texstore_bptc_rgb_float()
1623 pixels, rowstride, in texstore_bptc_rgb_float()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c134 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset()
135 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset()
146 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); in compute_tex_image_offset()
423 assert(srclvl->rowstride == dstlvl->rowstride); in migrate_image_to_miptree()
Dradeon_mipmap_tree.h46 GLuint rowstride; /** in bytes */ member
Dradeon_tex_copy.c131 timg->mt->levels[level].rowstride / dst_bpp, in do_copy_texsubimage()
Dradeon_fbo.c802 imageOffset += radeon_image->mt->levels[att->TextureLevel].rowstride * in radeon_render_texture()
810 rrb->pitch = radeon_image->mt->levels[att->TextureLevel].rowstride; in radeon_render_texture()
Dradeon_texture.c189 *stride = lvl->rowstride; in radeon_map_texture_image()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c134 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset()
135 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset()
146 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); in compute_tex_image_offset()
423 assert(srclvl->rowstride == dstlvl->rowstride); in migrate_image_to_miptree()
Dradeon_mipmap_tree.h46 GLuint rowstride; /** in bytes */ member
Dradeon_tex_copy.c131 timg->mt->levels[level].rowstride / dst_bpp, in do_copy_texsubimage()
Dradeon_fbo.c802 imageOffset += radeon_image->mt->levels[att->TextureLevel].rowstride * in radeon_render_texture()
810 rrb->pitch = radeon_image->mt->levels[att->TextureLevel].rowstride; in radeon_render_texture()
Dradeon_texture.c189 *stride = lvl->rowstride; in radeon_map_texture_image()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_surfacedefs.h1117 const uint32 rowstride = DIV_ROUND_UP(width, bw) * desc->bytes_per_block; in svga3dsurface_get_pixel_offset() local
1118 const uint32 imgstride = DIV_ROUND_UP(height, bh) * rowstride; in svga3dsurface_get_pixel_offset()
1120 y / bh * rowstride + in svga3dsurface_get_pixel_offset()
/external/gemmlowp/standalone/
Dneon-gemm-kernel-benchmark.cc4931 void PrintMatrix(int rows, int cols, int rowstride, int colstride, in PrintMatrix() argument
4935 std::cerr << double(data[r * rowstride + c * colstride]) << " "; in PrintMatrix()