Home
last modified time | relevance | path

Searched refs:rowstride (Results 1 – 18 of 18) 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/libvpx/libvpx/third_party/libyuv/source/
Dscale_argb.cc401 int rowstride = kRowSize; in ScaleARGBBilinearUp() local
408 ScaleARGBFilterCols(rowptr + rowstride, src, dst_width, x, dx); in ScaleARGBBilinearUp()
421 rowptr += rowstride; in ScaleARGBBilinearUp()
422 rowstride = -rowstride; in ScaleARGBBilinearUp()
431 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf); in ScaleARGBBilinearUp()
597 int rowstride = kRowSize; in ScaleYUVToARGBBilinearUp() local
609 ScaleARGBFilterCols(rowptr + rowstride, src_row_y, dst_width, x, dx); in ScaleYUVToARGBBilinearUp()
633 rowptr += rowstride; in ScaleYUVToARGBBilinearUp()
634 rowstride = -rowstride; in ScaleYUVToARGBBilinearUp()
647 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf); in ScaleYUVToARGBBilinearUp()
Dscale.cc1153 int rowstride = kRowSize; in ScalePlaneBilinearUp() local
1160 ScaleFilterCols(rowptr + rowstride, src, dst_width, x, dx); in ScalePlaneBilinearUp()
1173 rowptr += rowstride; in ScalePlaneBilinearUp()
1174 rowstride = -rowstride; in ScalePlaneBilinearUp()
1183 InterpolateRow(dst_ptr, rowptr, rowstride, dst_width, yf); in ScalePlaneBilinearUp()
1284 int rowstride = kRowSize; in ScalePlaneBilinearUp_16() local
1291 ScaleFilterCols(rowptr + rowstride, src, dst_width, x, dx); in ScalePlaneBilinearUp_16()
1304 rowptr += rowstride; in ScalePlaneBilinearUp_16()
1305 rowstride = -rowstride; in ScalePlaneBilinearUp_16()
1314 InterpolateRow(dst_ptr, rowptr, rowstride, dst_width, yf); in ScalePlaneBilinearUp_16()
/external/mesa3d/src/mesa/main/
Dtexgetimage.c136 GLint rowstride; in get_tex_depth_stencil() local
141 &srcMap, &rowstride); in get_tex_depth_stencil()
145 const GLubyte *src = srcMap + row * rowstride; in get_tex_depth_stencil()
181 GLint rowstride; in get_tex_ycbcr() local
186 &srcMap, &rowstride); in get_tex_ycbcr()
190 const GLubyte *src = srcMap + row * rowstride; in get_tex_ycbcr()
374 GLint rowstride; in get_tex_rgba_uncompressed() local
379 &srcMap, &rowstride); in get_tex_rgba_uncompressed()
382 const GLubyte *src = srcMap + row * rowstride; in get_tex_rgba_uncompressed()
/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/drivers/dri/r200/
Dradeon_mipmap_tree.c135 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset()
136 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset()
147 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); in compute_tex_image_offset()
433 assert(srclvl->rowstride == dstlvl->rowstride); in migrate_image_to_miptree()
459 copy_rows(dest, dstlvl->rowstride, image->base.Map, srcrowstride, in migrate_image_to_miptree()
Dradeon_mipmap_tree.h46 GLuint rowstride; /** in bytes */ member
Dradeon_texture.c172 image->base.RowStride = lvl->rowstride / _mesa_get_format_bytes(image->base.Base.TexFormat); in teximage_set_map_data()
257 *stride = lvl->rowstride; in radeon_map_texture_image()
725 rs = lvl->rowstride / texel_size; in radeon_swrast_map_image()
Dradeon_tex_copy.c131 timg->mt->levels[level].rowstride / dst_bpp, in do_copy_texsubimage()
Dradeon_fbo.c883 imageOffset += radeon_image->mt->levels[att->TextureLevel].rowstride * in radeon_render_texture()
891 rrb->pitch = radeon_image->mt->levels[att->TextureLevel].rowstride; in radeon_render_texture()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c135 …lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt-… in compute_tex_image_offset()
136 …lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebit… in compute_tex_image_offset()
147 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); in compute_tex_image_offset()
433 assert(srclvl->rowstride == dstlvl->rowstride); in migrate_image_to_miptree()
459 copy_rows(dest, dstlvl->rowstride, image->base.Map, srcrowstride, in migrate_image_to_miptree()
Dradeon_mipmap_tree.h46 GLuint rowstride; /** in bytes */ member
Dradeon_texture.c172 image->base.RowStride = lvl->rowstride / _mesa_get_format_bytes(image->base.Base.TexFormat); in teximage_set_map_data()
257 *stride = lvl->rowstride; in radeon_map_texture_image()
725 rs = lvl->rowstride / texel_size; in radeon_swrast_map_image()
Dradeon_tex_copy.c131 timg->mt->levels[level].rowstride / dst_bpp, in do_copy_texsubimage()
Dradeon_fbo.c883 imageOffset += radeon_image->mt->levels[att->TextureLevel].rowstride * in radeon_render_texture()
891 rrb->pitch = radeon_image->mt->levels[att->TextureLevel].rowstride; in radeon_render_texture()