/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TanhTest.java | 66 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 67 float[] ref = new float[input_size * stride]; 69 for (int j = 0; j < stride - skip; j++) { 70 int idx= i * stride + j; 71 int idxRef = i * (stride - skip) + j;
|
TruncTest.java | 66 protected float[] getRefArray(float[] inArray, int input_size, int stride, int skip) { 67 float[] ref = new float[input_size * stride]; 69 for (int j = 0; j < stride - skip; j++) { 70 int idxSrc = i * stride + j; 71 int idxDst = i * (stride - skip) + j;
|
Atan2PiTest.java | 68 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 69 float[] ref = new float[input_size * stride]; 71 for (int j = 0; j < stride - skip; j++) { 72 int idx = i * stride * 2 + j; 73 ref[i * (stride - skip) + j] = (float)(Math.atan2((double)in[idx],(double)in[idx+stride]) / Math.PI);
|
Atan2Test.java | 68 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 69 float[] ref = new float[input_size * stride]; 71 for (int j = 0; j < stride - skip; j++) { 72 int idx = i * stride * 2 + j; 73 ref[i * (stride - skip) + j] = (float)Math.atan2((double)in[idx],(double)in[idx+stride]);
|
FdimTest.java | 67 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 68 float[] ref = new float[input_size * stride]; 70 for (int j = 0; j < stride - skip; j++) { 71 int idx = i * stride * 2 + j; 72 ref[i * (stride - skip) + j] = (float)(Math.max(0.0, (double)in[idx] - (double)in[idx+stride]));
|
FmaxTest.java | 67 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 68 float[] ref = new float[input_size * stride]; 70 for (int j = 0; j < stride - skip; j++) { 71 int idx = i * stride * 2 + j; 72 ref[i * (stride - skip) + j] = Math.max(in[idx], in[idx+stride]);
|
FminTest.java | 67 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 68 float[] ref = new float[input_size * stride]; 70 for (int j = 0; j < stride - skip; j++) { 71 int idx = i * stride * 2 + j; 72 ref[i * (stride - skip) + j] = Math.min(in[idx], in[idx+stride]);
|
FmodTest.java | 68 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 69 float[] ref = new float[input_size * stride]; 71 for (int j = 0; j < stride - skip; j++) { 72 int idx = i * stride * 2 + j; 73 ref[i * (stride - skip) + j] = (float)((double)in[idx] % (double)in[idx+stride]);
|
HypotTest.java | 68 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 69 float[] ref = new float[input_size * stride]; 71 for (int j = 0; j < stride - skip; j++) { 72 int idx = i * stride * 2 + j; 73 ref[i * (stride - skip) + j] = (float)Math.hypot((double)in[idx], (double)in[idx+stride]);
|
NextafterTest.java | 68 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 69 float[] ref = new float[input_size * stride]; 71 for (int j = 0; j < stride - skip; j++) { 72 int idx = i * stride * 2 + j; 73 ref[i * (stride - skip) + j] = Math.nextAfter(in[idx],(double)in[idx+stride]);
|
RemainderTest.java | 68 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 69 float[] ref = new float[input_size * stride]; 71 for (int j = 0; j < stride - skip; j++) { 72 int idx = i * stride * 2 + j; 74 double den = (double)in[idx+stride]; 75 ref[i * (stride - skip) + j] = (float)(num - Math.round(num / den) * den);
|
StepTest.java | 67 protected float[] getRefArray(float[] in, int input_size, int stride, int skip) { 68 float[] ref = new float[input_size * stride]; 70 for (int j = 0; j < stride - skip; j++) { 71 int idx = i * stride * 2 + j; 72 ref[i * (stride - skip) + j] = in[idx+stride] < in[idx] ? 0.0f : 1.0f;
|
/hardware/samsung_slsi/exynos5/gralloc/ |
gralloc.cpp | 135 unsigned int ion_flags, private_handle_t **hnd, int *stride) 170 *stride = w; 185 *stride = bpr / bpp; 196 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, 204 private_handle_t **hnd, int *stride) 212 *stride = ALIGN(w, 16); 213 size = (*stride * h) + (ALIGN(*stride / 2, 16) * h); 216 *stride = w; 217 size = *stride * h * 3 / 2 339 int stride; local [all...] |
/system/extras/tests/framebuffer/ |
fb_test.c | 35 int stride; member in struct:simple_fb 98 fb->stride = fi.line_length / bytes_per_pixel; 106 fb->stride = fi.line_length / bytes_per_pixel; 210 int stride = fi.line_length / (vi.bits_per_pixel >> 3); local 217 loc[i + j*(stride)] = red; 219 loc32[i + j*(stride)] = red32; 222 loc[i + j*(stride)] = green; 224 loc32[i + j*(stride)] = green32; 230 loc[i + j*(stride)] = blue; 232 loc32[i + j*(stride)] = blue32 245 int stride = fi.line_length \/ (vi.bits_per_pixel >> 3); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_pipe.c | 178 verts + stride * (i0), \ 179 verts + stride * (i1), \ 180 verts + stride * (i2) ); \ 187 verts + stride * (i0), \ 188 verts + stride * (i1) ); \ 193 do_point( draw, verts + stride * (i0) ); \ 204 unsigned stride, \ 231 draw->pipeline.vertex_stride = vert_info->stride; 263 vert_info->stride, 280 verts + stride * (i0), [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe.c | 178 verts + stride * (i0), \ 179 verts + stride * (i1), \ 180 verts + stride * (i2) ); \ 187 verts + stride * (i0), \ 188 verts + stride * (i1) ); \ 193 do_point( draw, verts + stride * (i0) ); \ 204 unsigned stride, \ 231 draw->pipeline.vertex_stride = vert_info->stride; 263 vert_info->stride, 280 verts + stride * (i0), [all...] |
/external/skia/gm/ |
texdata.cpp | 46 static const int stride = 2 * S; local 58 gTextureData[offset + y * stride + x] = gray; 65 gTextureData[offset + y * stride + x] = white; 69 offset = S * stride; 72 gTextureData[offset + y * stride + x] = black; 76 offset = S * stride + S; 79 gTextureData[offset + y * stride + x] = gray; 125 gTextureData[offset + y * stride + x] = 131 4 * stride);
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/wayland/ |
wayland_sw_winsys.c | 49 unsigned stride; member in struct:wayland_sw_displaytarget 158 unsigned *stride) 178 wldt->stride = align(format_stride, alignment); 181 wldt->size = wldt->stride * nblocksy; 198 *stride = wldt->stride; 207 unsigned *stride) 220 wldt->stride = whandle->stride; 227 wldt->size = wldt->stride * nblocksy [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/wrapper/ |
wrapper_sw_winsys.c | 65 unsigned stride; /**< because we get stride at create */ member in struct:wrapper_sw_displaytarget 88 wsw_dt_get_stride(struct wrapper_sw_displaytarget *wdt, unsigned *stride) 100 *stride = tr->stride; 101 wdt->stride = tr->stride; 110 struct pipe_resource *tex, unsigned *stride) 119 if (!wsw_dt_get_stride(wdt, stride)) 137 unsigned *stride) [all...] |
/external/libvpx/libvpx/test/ |
fdct4x4_test.cc | 29 int stride, int /*tx_type*/) { 30 vp9_short_fdct4x4_c(in, out, stride); 33 int stride, int /*tx_type*/) { 34 vp9_short_idct4x4_add_c(out, dst, stride >> 1); 37 int stride, int tx_type) { 38 vp9_short_fht4x4_c(in, out, stride >> 1, tx_type); 41 int stride, int tx_type) { 42 vp9_short_iht4x4_add_c(out, dst, stride >> 1, tx_type); 61 int stride, int tx_type) { 62 (*fwd_txfm_)(in, out, dst, stride, tx_type) [all...] |
/external/mesa3d/src/gallium/winsys/sw/wayland/ |
wayland_sw_winsys.c | 49 unsigned stride; member in struct:wayland_sw_displaytarget 158 unsigned *stride) 178 wldt->stride = align(format_stride, alignment); 181 wldt->size = wldt->stride * nblocksy; 198 *stride = wldt->stride; 207 unsigned *stride) 220 wldt->stride = whandle->stride; 227 wldt->size = wldt->stride * nblocksy [all...] |
/external/mesa3d/src/gallium/winsys/sw/wrapper/ |
wrapper_sw_winsys.c | 65 unsigned stride; /**< because we get stride at create */ member in struct:wrapper_sw_displaytarget 88 wsw_dt_get_stride(struct wrapper_sw_displaytarget *wdt, unsigned *stride) 100 *stride = tr->stride; 101 wdt->stride = tr->stride; 110 struct pipe_resource *tex, unsigned *stride) 119 if (!wsw_dt_get_stride(wdt, stride)) 137 unsigned *stride) [all...] |
/frameworks/rs/driver/runtime/ |
rs_sample.c | 85 getElementAt1(const uint8_t *p, size_t stride, int32_t x, int32_t y) { 86 p += y * stride; 92 getElementAt2(const uint8_t *p, size_t stride, int32_t x, int32_t y) { 93 p += y * stride; 100 getElementAt3(const uint8_t *p, size_t stride, int32_t x, int32_t y) { 101 p += y * stride; 108 getElementAt4(const uint8_t *p, size_t stride, int32_t x, int32_t y) { 109 p += y * stride; 116 getElementAt565(const uint8_t *p, size_t stride, int32_t x, int32_t y) { 117 p += y * stride; 324 size_t stride = alloc->mHal.drvState.lod[lod].stride; local 390 size_t stride = alloc->mHal.drvState.lod[lod].stride; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_vdecl.c | 87 if (vb->stride) 88 tmp_neg_bias = (tmp_neg_bias + vb->stride - 1) / vb->stride; 111 decl.array.stride = vb->stride; 118 + neg_bias * vb->stride
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
eval.c | 40 __glFillMap1f(GLint k, GLint order, GLint stride, 43 if (stride == k) { 52 points += stride; 59 __glFillMap1d(GLint k, GLint order, GLint stride, 62 if (stride == k) { 70 points += stride;
|