Home
last modified time | relevance | path

Searched refs:bytesPerRow (Results 1 – 14 of 14) sorted by relevance

/external/libvncserver/libvncclient/
Dcursor.c49 size_t bytesPerRow, bytesMaskData; in HandleCursorShape() local
57 bytesPerRow = (width + 7) / 8; in HandleCursorShape()
58 bytesMaskData = bytesPerRow * height; in HandleCursorShape()
104 *ptr = buf[y * bytesPerRow + x] >> b & 1; in HandleCursorShape()
109 *ptr = buf[y * bytesPerRow + x] >> b & 1; in HandleCursorShape()
162 *ptr++ = buf[y * bytesPerRow + x] >> b & 1; in HandleCursorShape()
166 *ptr++ = buf[y * bytesPerRow + x] >> b & 1; in HandleCursorShape()
/external/mesa3d/src/mesa/main/
Dimage.c281 GLint bytesPerRow, remainder; in _mesa_image_row_stride() local
287 bytesPerRow = (width + 7) / 8; in _mesa_image_row_stride()
290 bytesPerRow = (packing->RowLength + 7) / 8; in _mesa_image_row_stride()
299 bytesPerRow = bytesPerPixel * width; in _mesa_image_row_stride()
302 bytesPerRow = bytesPerPixel * packing->RowLength; in _mesa_image_row_stride()
306 remainder = bytesPerRow % packing->Alignment; in _mesa_image_row_stride()
308 bytesPerRow += (packing->Alignment - remainder); in _mesa_image_row_stride()
313 bytesPerRow = -bytesPerRow; in _mesa_image_row_stride()
316 return bytesPerRow; in _mesa_image_row_stride()
329 GLint bytesPerRow, bytesPerImage, remainder; in _mesa_image_image_stride() local
[all …]
Dtexgetimage.c487 const GLuint bytesPerRow = texImage->Width * bpp; in get_tex_memcpy() local
502 if (bytesPerRow == dstRowStride && bytesPerRow == srcRowStride) { in get_tex_memcpy()
503 memcpy(dst, src, bytesPerRow * texImage->Height); in get_tex_memcpy()
508 memcpy(dst, src, bytesPerRow); in get_tex_memcpy()
Dtexstore.c942 const GLint bytesPerRow = srcWidth * texelBytes; in memcpy_texture() local
945 dstRowStride == bytesPerRow) { in memcpy_texture()
950 memcpy(dstImage, srcImage, bytesPerRow * srcHeight); in memcpy_texture()
961 memcpy(dstRow, srcRow, bytesPerRow); in memcpy_texture()
3062 GLint bytesPerRow; in _mesa_texstore_rgba_float32() local
3066 bytesPerRow = srcWidth * components * sizeof(GLfloat); in _mesa_texstore_rgba_float32()
3070 memcpy(dstRow, srcRow, bytesPerRow); in _mesa_texstore_rgba_float32()
4479 GLint bytesPerRow, dstRowStride, srcRowStride; in _mesa_store_compressed_texsubimage() local
4510 bytesPerRow = srcRowStride; /* bytes per row of blocks */ in _mesa_store_compressed_texsubimage()
4515 memcpy(dstMap, src, bytesPerRow); in _mesa_store_compressed_texsubimage()
Dpack.c5844 GLint bytesPerRow, compsPerRow; in _mesa_unpack_image() local
5854 bytesPerRow = (width + 7) >> 3; in _mesa_unpack_image()
5869 bytesPerRow = bytesPerPixel * width; in _mesa_unpack_image()
5880 = (GLubyte *) malloc(bytesPerRow * height * depth); in _mesa_unpack_image()
5951 memcpy(dst, src, bytesPerRow); in _mesa_unpack_image()
5956 flip_bytes((GLubyte *) dst, bytesPerRow); in _mesa_unpack_image()
5964 dst += bytesPerRow; in _mesa_unpack_image()
/external/skia/src/core/
DSkConfig8888.cpp129 static void rect_memcpy(void* dst, size_t dstRB, const void* src, size_t srcRB, size_t bytesPerRow, in rect_memcpy() argument
131 SkASSERT(bytesPerRow <= srcRB); in rect_memcpy()
132 SkASSERT(bytesPerRow <= dstRB); in rect_memcpy()
134 memcpy(dst, src, bytesPerRow); in rect_memcpy()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c357 GLint bytesPerRow, i; in compute_row_addresses() local
367 bytesPerRow = rowlength * _mesa_get_format_bytes(osmesa->srb->Base.Format); in compute_row_addresses()
372 osmesa->rowaddr[i] = (GLvoid *) ((GLubyte *) origin + i * bytesPerRow); in compute_row_addresses()
379 osmesa->rowaddr[i] = (GLvoid *) ((GLubyte *) origin + j * bytesPerRow); in compute_row_addresses()
/external/clang/test/ARCMT/
Dobjcmt-arc-cf-annotations.m1181 size_t bytesPerRow,
1210 size_t bytesPerRow,
1218 size_t bytesPerRow,
1229 baseAddress, bytesPerRow, releaseCallback,
1264 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1269 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1278 bytesPerRow, space, bitmapInfo, releaseCallback, number);
Dobjcmt-arc-cf-annotations.m.result1223 size_t bytesPerRow,
1252 size_t bytesPerRow,
1260 size_t bytesPerRow,
1271 baseAddress, bytesPerRow, releaseCallback,
1306 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1311 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1320 bytesPerRow, space, bitmapInfo, releaseCallback, number);
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c627 const uint bytesPerRow = width * util_format_get_blocksize(stImage->pt->format); in decompress_with_blit() local
633 memcpy(dest, map, bytesPerRow); in decompress_with_blit()
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
Dtight-vncviewer-full.patch2920 - size_t bytesPerRow, bytesMaskData;
2929 - bytesPerRow = (width + 7) / 8;
2930 - bytesMaskData = bytesPerRow * height;
2935 + size_t bytesPerRow, bytesMaskData;
2944 + bytesPerRow = (width + 7) / 8;
2945 + bytesMaskData = bytesPerRow * height;
3008 - *ptr = buf[y * bytesPerRow + x] >> b & 1;
3013 - *ptr = buf[y * bytesPerRow + x] >> b & 1;
3046 + *ptr = buf[y * bytesPerRow + x] >> b & 1;
3051 + *ptr = buf[y * bytesPerRow + x] >> b & 1;
[all …]
/external/clang/test/Analysis/
Dretain-release.m1176 size_t bytesPerRow,
1205 size_t bytesPerRow,
1213 size_t bytesPerRow,
1224 baseAddress, bytesPerRow, releaseCallback,
1259 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1264 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1273 bytesPerRow, space, bitmapInfo, releaseCallback, number);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...