Home
last modified time | relevance | path

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

12

/external/OpenCL-CTS/test_common/harness/
DtypeWrappers.cpp64 size_t rowStride = rowBytes + kPageSize; in Create() local
67 backingStoreSize = rowStride + 8 * rowStride; in Create()
73 char *imagePtr = (char*) backingStore + 4 * rowStride; in Create()
76 mprotect( p, rowStride, PROT_NONE ); p += rowStride; in Create()
79 mprotect( p, kPageSize, PROT_NONE ); p += rowStride; in Create()
83 mprotect( p, rowStride, PROT_NONE ); p += rowStride; in Create()
97 …image = create_image_1d( context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, rowStride, imagePtr… in Create()
144 size_t rowStride = rowBytes + kPageSize; in Create() local
147 backingStoreSize = height * rowStride + 8 * rowStride; in Create()
153 char *imagePtr = (char*) backingStore + 4 * rowStride; in Create()
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_bptc.c39 GLint rowStride, GLint i, GLint j, in fetch_bptc_rgb_float() argument
45 block = map + (((rowStride + 3) / 4) * (j / 4) + (i / 4)) * 16; in fetch_bptc_rgb_float()
52 GLint rowStride, GLint i, GLint j, in fetch_bptc_rgb_signed_float() argument
55 fetch_bptc_rgb_float(map, rowStride, i, j, texel, true); in fetch_bptc_rgb_signed_float()
60 GLint rowStride, GLint i, GLint j, in fetch_bptc_rgb_unsigned_float() argument
63 fetch_bptc_rgb_float(map, rowStride, i, j, texel, false); in fetch_bptc_rgb_unsigned_float()
68 GLint rowStride, GLint i, GLint j, in fetch_bptc_rgba_unorm_bytes() argument
73 block = map + (((rowStride + 3) / 4) * (j / 4) + (i / 4)) * 16; in fetch_bptc_rgba_unorm_bytes()
80 GLint rowStride, GLint i, GLint j, in fetch_bptc_rgba_unorm() argument
85 fetch_bptc_rgba_unorm_bytes(map, rowStride, i, j, texel_bytes); in fetch_bptc_rgba_unorm()
[all …]
Dtexcompress_rgtc.c316 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_red_rgtc1() argument
319 util_format_unsigned_fetch_texel_rgtc(rowStride, map, i, j, &red, 1); in fetch_red_rgtc1()
328 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_l_latc1() argument
331 util_format_unsigned_fetch_texel_rgtc(rowStride, map, i, j, &red, 1); in fetch_l_latc1()
340 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_signed_red_rgtc1() argument
343 util_format_signed_fetch_texel_rgtc(rowStride, (const GLbyte *) map, in fetch_signed_red_rgtc1()
353 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_signed_l_latc1() argument
356 util_format_signed_fetch_texel_rgtc(rowStride, (GLbyte *) map, in fetch_signed_l_latc1()
366 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_rg_rgtc2() argument
369 util_format_unsigned_fetch_texel_rgtc(rowStride, in fetch_rg_rgtc2()
[all …]
Dtexcompress_s3tc.c265 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_rgb_dxt1() argument
268 fetch_2d_texel_rgb_dxt1(rowStride, map, i, j, tex); in fetch_rgb_dxt1()
277 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_rgba_dxt1() argument
280 fetch_2d_texel_rgba_dxt1(rowStride, map, i, j, tex); in fetch_rgba_dxt1()
289 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_rgba_dxt3() argument
292 fetch_2d_texel_rgba_dxt3(rowStride, map, i, j, tex); in fetch_rgba_dxt3()
301 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_rgba_dxt5() argument
304 fetch_2d_texel_rgba_dxt5(rowStride, map, i, j, tex); in fetch_rgba_dxt5()
314 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_srgb_dxt1() argument
317 fetch_2d_texel_rgb_dxt1(rowStride, map, i, j, tex); in fetch_srgb_dxt1()
[all …]
Dtexcompress_etc.c1271 GLint rowStride, GLint i, GLint j, in fetch_etc1_rgb8() argument
1278 src = map + (((rowStride + 3) / 4) * (j / 4) + (i / 4)) * 8; in fetch_etc1_rgb8()
1292 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_etc2_rgb8() argument
1298 src = map + (((rowStride + 3) / 4) * (j / 4) + (i / 4)) * 8; in fetch_etc2_rgb8()
1313 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_etc2_srgb8() argument
1319 src = map + (((rowStride + 3) / 4) * (j / 4) + (i / 4)) * 8; in fetch_etc2_srgb8()
1334 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_etc2_rgba8_eac() argument
1340 src = map + (((rowStride + 3) / 4) * (j / 4) + (i / 4)) * 16; in fetch_etc2_rgba8_eac()
1353 GLint rowStride, GLint i, GLint j, GLfloat *texel) in fetch_etc2_srgb8_alpha8_eac() argument
1359 src = map + (((rowStride + 3) / 4) * (j / 4) + (i / 4)) * 16; in fetch_etc2_srgb8_alpha8_eac()
[all …]
Dtexcompress.h53 GLint rowStride,
/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()
544 GLint rowStride, i, j; in _swrast_clear_depth_buffer() local
567 mapMode, &map, &rowStride, in _swrast_clear_depth_buffer()
[all …]
Ds_stencil.c303 const GLint rowStride = srb->RowStride; in get_s8_values() local
306 stencil[i] = *(map + y[i] * rowStride + x[i]); in get_s8_values()
312 const GLint rowStride = srb->RowStride; in get_s8_values() local
315 const GLubyte *src = map + y[i] * rowStride + x[i] * bpp; in get_s8_values()
559 GLint rowStride, i, j; in _swrast_clear_stencil_buffer() local
582 mapMode, &map, &rowStride, in _swrast_clear_stencil_buffer()
601 map += rowStride; in _swrast_clear_stencil_buffer()
604 else if (rowStride == width) { in _swrast_clear_stencil_buffer()
612 map += rowStride; in _swrast_clear_stencil_buffer()
626 map += rowStride; in _swrast_clear_stencil_buffer()
[all …]
Ds_copypix.c501 GLint rowStride; in swrast_fast_copy_pixels() local
506 &map, &rowStride, srcFb->FlipY); in swrast_fast_copy_pixels()
512 srcMap = map + srcY * rowStride + srcX * pixelBytes; in swrast_fast_copy_pixels()
513 dstMap = map + dstY * rowStride + dstX * pixelBytes; in swrast_fast_copy_pixels()
518 srcMap += rowStride * (height - 1); in swrast_fast_copy_pixels()
519 dstMap += rowStride * (height - 1); in swrast_fast_copy_pixels()
520 srcRowStride = -rowStride; in swrast_fast_copy_pixels()
521 dstRowStride = -rowStride; in swrast_fast_copy_pixels()
525 srcRowStride = rowStride; in swrast_fast_copy_pixels()
526 dstRowStride = rowStride; in swrast_fast_copy_pixels()
Ds_clear.c129 GLint rowStride; in clear_rgba_buffer() local
139 mapMode, &map, &rowStride, in clear_rgba_buffer()
168 map += rowStride; \ in clear_rgba_buffer()
203 map += rowStride; \ in clear_rgba_buffer()
Ds_blit.c250 GLint rowStride; in blit_nearest() local
256 &map, &rowStride, readFb->FlipY); in blit_nearest()
261 srcMap = map + srcYpos * rowStride + srcXpos * formatSize; in blit_nearest()
262 dstMap = map + dstYpos * rowStride + dstXpos * formatSize; in blit_nearest()
267 srcMap += rowStride * (readRb->Height - 1); in blit_nearest()
268 dstMap += rowStride * (readRb->Height - 1); in blit_nearest()
269 srcRowStride = -rowStride; in blit_nearest()
270 dstRowStride = -rowStride; in blit_nearest()
274 srcRowStride = rowStride; in blit_nearest()
275 dstRowStride = rowStride; in blit_nearest()
Ds_texture.c298 GLint rowStride; in _swrast_map_texture() local
307 &map, &rowStride); in _swrast_map_texture()
315 swImage->RowStride = rowStride; in _swrast_map_texture()
317 assert(swImage->RowStride == rowStride); in _swrast_map_texture()
Ds_context.h485 const GLint rowStride = srb->RowStride; in _swrast_pixel_address() local
494 return (GLubyte *) srb->Map + y * rowStride + x * bpp; in _swrast_pixel_address()
/external/eigen/Eigen/src/Core/
DMapBase.h80 using Base::rowStride;
105 return m_data[colId * colStride() + rowId * rowStride()]; in coeff()
120 return this->m_data[colId * colStride() + rowId * rowStride()]; in coeffRef()
136 (m_data + (colId * colStride() + rowId * rowStride())); in packet()
237 using Base::rowStride;
254 return this->m_data[col * colStride() + row * rowStride()]; in coeffRef()
268 (this->m_data + (col * colStride() + row * rowStride()), val); in writePacket()
DDenseCoeffsBase.h284 void rowStride();
523 inline Index rowStride() const in rowStride() function
597 inline Index rowStride() const in rowStride() function
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DObjectTracker.java97 private final int rowStride; field in ObjectTracker
207 final int frameWidth, final int frameHeight, final int rowStride, final boolean alwaysTrack) { in getInstance() argument
216 instance = new ObjectTracker(frameWidth, frameHeight, rowStride, alwaysTrack); in getInstance()
232 final int frameWidth, final int frameHeight, final int rowStride, final boolean alwaysTrack) { in ObjectTracker() argument
235 this.rowStride = rowStride; in ObjectTracker()
276 frameWidth, frameHeight, rowStride, frameData, DOWNSAMPLE_FACTOR, downsampledFrame); in nextFrame()
605 frameWidth, frameHeight, rowStride, frameData, DOWNSAMPLE_FACTOR, downsampledFrame); in trackObject()
660 int width, int height, int rowStride, byte[] input, int factor, byte[] output); in downsampleImageNative() argument
/external/swiftshader/third_party/llvm-7.0/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/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/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c588 GLint rowStride; /* in bytes */ in osmesa_MapRenderbuffer() local
591 rowStride = osmesa->userRowLength * bpp; in osmesa_MapRenderbuffer()
593 rowStride = rb->Width * bpp; in osmesa_MapRenderbuffer()
598 *rowStrideOut = -rowStride; in osmesa_MapRenderbuffer()
601 *rowStrideOut = rowStride; in osmesa_MapRenderbuffer()
604 *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/mesa3d/include/android_stub/android/
Dhardware_buffer.h318 uint32_t rowStride; ///< Distance in bytes from the first value of one row of the image to member
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c104 GLint rowStride = srb->RowStride; in intel_map_renderbuffer() local
105 *out_map = (GLubyte *) srb->Buffer + y * rowStride + x * bpp; in intel_map_renderbuffer()
106 *out_stride = rowStride; in intel_map_renderbuffer()

12