Home
last modified time | relevance | path

Searched refs:rowStride (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_depth.c221 const GLint rowStride = srb->RowStride; in get_z32_values() local
224 zbuffer[i] = *((GLuint *) (map + y[i] * rowStride + x[i] * 4)); in get_z32_values()
230 const GLint rowStride = srb->RowStride; in get_z32_values() local
233 const GLubyte *src = map + y[i] * rowStride+ x[i] * bpp; in get_z32_values()
256 const GLint rowStride = srb->RowStride; in put_z32_values() local
259 GLuint *dst = (GLuint *) (map + y[i] * rowStride + x[i] * 4); in put_z32_values()
267 const GLint rowStride = srb->RowStride; in put_z32_values() local
270 void *dst = map + y[i] * rowStride + x[i] * bpp; in put_z32_values()
534 GLint rowStride, i, j; in _swrast_clear_depth_buffer() local
557 mapMode, &map, &rowStride); in _swrast_clear_depth_buffer()
[all …]
Ds_stencil.c302 const GLint rowStride = srb->RowStride; in get_s8_values() local
305 stencil[i] = *(map + y[i] * rowStride + x[i]); in get_s8_values()
311 const GLint rowStride = srb->RowStride; in get_s8_values() local
314 const GLubyte *src = map + y[i] * rowStride + x[i] * bpp; in get_s8_values()
558 GLint rowStride, i, j; in _swrast_clear_stencil_buffer() local
581 mapMode, &map, &rowStride); in _swrast_clear_stencil_buffer()
599 map += rowStride; in _swrast_clear_stencil_buffer()
602 else if (rowStride == width) { in _swrast_clear_stencil_buffer()
610 map += rowStride; in _swrast_clear_stencil_buffer()
624 map += rowStride; in _swrast_clear_stencil_buffer()
[all …]
Ds_copypix.c512 GLint rowStride; in swrast_fast_copy_pixels() local
517 &map, &rowStride); in swrast_fast_copy_pixels()
523 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels()
524 dstMap = map + dstY * rowStride + dstX * pixelBytes; in swrast_fast_copy_pixels()
529 srcMap += rowStride * (height - 1); in swrast_fast_copy_pixels()
530 dstMap += rowStride * (height - 1); in swrast_fast_copy_pixels()
531 srcRowStride = -rowStride; in swrast_fast_copy_pixels()
532 dstRowStride = -rowStride; in swrast_fast_copy_pixels()
536 srcRowStride = rowStride; in swrast_fast_copy_pixels()
537 dstRowStride = rowStride; in swrast_fast_copy_pixels()
Ds_clear.c59 GLint rowStride; in clear_rgba_buffer() local
69 mapMode, &map, &rowStride); in clear_rgba_buffer()
97 map += rowStride; \ in clear_rgba_buffer()
132 map += rowStride; \ in clear_rgba_buffer()
Ds_blit.c217 GLint rowStride; in blit_nearest() local
223 &map, &rowStride); in blit_nearest()
229 srcMap = map + srcYpos * rowStride + srcXpos * formatSize; in blit_nearest()
230 dstMap = map + dstYpos * rowStride + dstXpos * formatSize; in blit_nearest()
235 srcMap += rowStride * (readRb->Height - 1); in blit_nearest()
236 dstMap += rowStride * (readRb->Height - 1); in blit_nearest()
237 srcRowStride = -rowStride; in blit_nearest()
238 dstRowStride = -rowStride; in blit_nearest()
242 srcRowStride = rowStride; in blit_nearest()
243 dstRowStride = rowStride; in blit_nearest()
Ds_context.h465 const GLint rowStride = srb->RowStride; in _swrast_pixel_address() local
474 return (GLubyte *) srb->Map + y * rowStride + x * bpp; in _swrast_pixel_address()
/external/eigen/Eigen/src/Core/
DMapBase.h71 using Base::rowStride;
92 return m_data[colId * colStride() + rowId * rowStride()]; in coeff()
103 return this->m_data[colId * colStride() + rowId * rowStride()]; in coeffRef()
116 (m_data + (colId * colStride() + rowId * rowStride())); in packet()
190 using Base::rowStride;
204 return this->m_data[col * colStride() + row * rowStride()]; in coeffRef()
217 (this->m_data + (col * colStride() + row * rowStride()), val); in writePacket()
DDenseCoeffsBase.h258 void rowStride();
609 inline Index rowStride() const in rowStride() function
680 inline Index rowStride() const in rowStride() function
DDenseBase.h96 using Base::rowStride;
/external/llvm/test/Transforms/LoopStrengthReduce/
D2011-10-14-IntPtr.ll11 define void @test(i32 %rowStride) ssp align 2 {
13 %cond = select i1 undef, i32 %rowStride, i32 4
/external/libvncserver/client_examples/
DSDLvncviewer.c25 static int realWidth, realHeight, bytesPerPixel, rowStride; variable
191 case 1: ((uint8_t *)sdlPixels)[x + y * rowStride] = v; break; in put()
192 case 2: ((uint16_t *)sdlPixels)[x + y * rowStride] = v; break; in put()
193 case 4: ((uint32_t *)sdlPixels)[x + y * rowStride] = v; break; in put()
268 rowStride = client->width; in setRealDimension()
286 rowStride = sdl->pitch / (depth / 8); in setRealDimension()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c546 GLint rowStride; /* in bytes */ in osmesa_MapRenderbuffer() local
549 rowStride = osmesa->userRowLength * bpp; in osmesa_MapRenderbuffer()
551 rowStride = rb->Width * bpp; in osmesa_MapRenderbuffer()
556 *rowStrideOut = -rowStride; in osmesa_MapRenderbuffer()
559 *rowStrideOut = rowStride; in osmesa_MapRenderbuffer()
562 *mapOut = (GLubyte *) srb->Buffer + y * rowStride + x * bpp; in osmesa_MapRenderbuffer()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.h98 unsigned rowStride,
Dradeon_mipmap_tree.c75 unsigned rowStride, in get_texture_image_size() argument
85 return rowStride * ((height + blockHeight - 1) / blockHeight) * depth; in get_texture_image_size()
96 return rowStride * height * depth; in get_texture_image_size()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.h98 unsigned rowStride,
Dradeon_mipmap_tree.c75 unsigned rowStride, in get_texture_image_size() argument
85 return rowStride * ((height + blockHeight - 1) / blockHeight) * depth; in get_texture_image_size()
96 return rowStride * height * depth; in get_texture_image_size()
/external/eigen/test/
Dblock.cpp188 Index rowStride = m.rowStride(); in compare_using_data_and_stride() local
194 VERIFY(m.coeff(i,j) == data[i*rowStride + j*colStride]); in compare_using_data_and_stride()
/external/skia/src/gpu/gl/debug/
DGrGLCreateDebugInterface.cpp175 GrGLint rowStride = 0; // number of components (not bytes) to skip in debugGLReadPixels() local
177 rowStride = componentsPerPixel * pixelsInRow; in debugGLReadPixels()
182 rowStride = static_cast<GrGLint>(alignment * fTemp / componentSize); in debugGLReadPixels()
188 scanline += rowStride; in debugGLReadPixels()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_fbo.c121 GLint rowStride = srb->RowStride; in intel_map_renderbuffer() local
122 *out_map = (GLubyte *) srb->Buffer + y * rowStride + x * bpp; in intel_map_renderbuffer()
123 *out_stride = rowStride; in intel_map_renderbuffer()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c121 GLint rowStride = srb->RowStride; in intel_map_renderbuffer() local
122 *out_map = (GLubyte *) srb->Buffer + y * rowStride + x * bpp; in intel_map_renderbuffer()
123 *out_stride = rowStride; in intel_map_renderbuffer()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_fbo.c121 GLint rowStride = srb->RowStride; in intel_map_renderbuffer() local
122 *out_map = (GLubyte *) srb->Buffer + y * rowStride + x * bpp; in intel_map_renderbuffer()
123 *out_stride = rowStride; in intel_map_renderbuffer()
/external/opencv3/modules/features2d/src/
Dfast_score.cpp50 void makeOffsets(int pixel[25], int rowStride, int patternSize) in makeOffsets() argument
78 pixel[k] = offsets[k][0] + offsets[k][1] * rowStride; in makeOffsets()
Dagast_score.cpp54 void makeAgastOffsets(int pixel[16], int rowStride, int type) in makeAgastOffsets() argument
89 pixel[k] = offsets[k][0] + offsets[k][1] * rowStride; in makeAgastOffsets()
/external/deqp/framework/qphelper/
DqpTestLog.c717 … (Buffer* buffer, qpImageFormat imageFormat, int width, int height, int rowStride, const void* dat… in compressImagePNG() argument
735 rowPointers[ndx] = (png_byte*)((const deUint8*)data + ndx*rowStride); in compressImagePNG()