Searched defs:stride (Results 26 - 50 of 94) sorted by relevance

1234

/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicConvolve3x3.cpp196 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
200 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2);
201 const uchar4 *py1 = (const uchar4 *)(pin + stride * p->y);
202 const uchar4 *py2 = (const uchar4 *)(pin + stride * y1);
243 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
247 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2);
248 const uchar2 *py1 = (const uchar2 *)(pin + stride * p->y);
249 const uchar2 *py2 = (const uchar2 *)(pin + stride * y
288 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
333 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
378 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
422 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp358 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
366 const uchar4 *py0 = (const uchar4 *)(pin + stride * y0);
367 const uchar4 *py1 = (const uchar4 *)(pin + stride * y1);
368 const uchar4 *py2 = (const uchar4 *)(pin + stride * y2);
369 const uchar4 *py3 = (const uchar4 *)(pin + stride * y3);
370 const uchar4 *py4 = (const uchar4 *)(pin + stride * y4);
418 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
426 const uchar2 *py0 = (const uchar2 *)(pin + stride * y
467 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
516 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
565 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
614 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
[all...]
H A DrsCpuIntrinsicBlur.cpp158 extern "C" void rsdIntrinsicBlurVFU4_K(void *dst, const void *pin, int stride, const void *gptr, int rct, int x1, int ct);
293 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
301 rsdIntrinsicBlurU4_K(out, (uchar4 const *)(pin + stride * p->y), p->dimX, p->dimY,
302 stride, x1, p->y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius);
319 const uchar *pi = pin + (y - cp->mIradius) * stride;
320 OneVFU4(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, 0, p->dimX);
324 OneVU4(p, fout, x1, y, pin, stride, cp->mFp, cp->mIradius);
363 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
[all...]
H A DrsCpuIntrinsicResize.cpp190 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
201 const uchar4 *yp0 = (const uchar4 *)(pin + stride * ys0);
202 const uchar4 *yp1 = (const uchar4 *)(pin + stride * ys1);
203 const uchar4 *yp2 = (const uchar4 *)(pin + stride * ys2);
204 const uchar4 *yp3 = (const uchar4 *)(pin + stride * ys3);
230 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
241 const uchar2 *yp0 = (const uchar2 *)(pin + stride * ys0);
242 const uchar2 *yp1 = (const uchar2 *)(pin + stride * ys
270 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
317 const size_t stride = mAlloc->mHal.drvState.lod[0].stride; local
[all...]
H A DrsCpuScript.cpp892 mtls->fep.yStrideIn = ain->mHal.drvState.lod[0].stride;
900 mtls->fep.yStrideOut = aout->mHal.drvState.lod[0].stride;
1032 ain->mHal.drvState.lod[0].stride;
1041 mtls->fep.yStrideOut = aout->mHal.drvState.lod[0].stride;
1193 size_t stride = elem->getSizeBytes(); local
1197 cVal += stride;
1204 oldVal += stride;
/frameworks/rs/driver/runtime/
H A Drs_allocation.c112 const uint32_t stride = (uint32_t)alloc->mHal.drvState.lod[0].stride; local
114 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +
115 (z * stride * dimY)];
127 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local
130 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +
131 (z * stride * dimY)];
202 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local
211 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local
228 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local
237 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local
315 const size_t stride = alloc->mHal.drvState.lod[1].stride; local
329 const size_t stride = alloc->mHal.drvState.lod[2].stride; local
[all...]
H A Drs_sample.c84 getElementAt1(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument
85 p += y * stride;
91 getElementAt2(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument
92 p += y * stride;
99 getElementAt3(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument
100 p += y * stride;
107 getElementAt4(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument
108 p += y * stride;
115 getElementAt565(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument
116 p += y * stride;
188 getSample_A(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
201 getSample_L(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
214 getSample_LA(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
227 getSample_RGB(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
240 getSample_RGBA(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
252 getSample_565(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
323 size_t stride = alloc->mHal.drvState.lod[lod].stride; local
389 size_t stride = alloc->mHal.drvState.lod[lod].stride; local
[all...]
H A Drs_structs.h53 size_t stride; member in struct:Allocation::__anon1483::DrvState::LodState
/frameworks/rs/
H A DrsAllocation.h78 size_t stride; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState
116 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride);
118 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride);
122 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride);
124 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride);
168 uint32_t z, uint32_t array, size_t *stride);
H A DrsMesh.cpp218 uint32_t stride = 0; local
221 // First we need to find the position ptr and stride
229 stride = bufferElem->getSizeBytes() / sizeof(float);
258 posPtr += stride;
H A DrsType.cpp290 uint32_t stride = e->getSizeBytes(); local
292 p += stride * startOff;
296 p += stride;
307 uint32_t stride = e->getSizeBytes(); local
309 p += stride * startOff;
313 p += stride;
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfRenderer.cpp238 const int stride = skBitmap->width() * 4; local
241 FPDFBitmap_BGRA, skBitmap->getPixels(), stride);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10Ext.cpp45 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
47 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
50 GLsizei stride, const GLvoid *pointer, GLsizei count);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
54 GLsizei stride, const GLvoid *pointer, GLsizei count);
56 GLsizei stride, const GLvoid *pointer, GLsizei count);
58 GLsizei stride, const GLvoid *pointer, GLsizei count);
62 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
63 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
68 GLsizei stride, cons
61 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
67 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[all...]
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp278 uint32_t stride = buf->getStride(); local
279 LOG_ALWAYS_FATAL_IF(stride % 16, "Stride is not 16 pixel aligned %d", stride);
281 uint32_t cStride = ALIGN(stride / 2, 16);
285 uint8_t* crPlane = img + static_cast<uint32_t>(height) * stride;
289 crPlane, cbPlane, chromaStep, stride, cStride);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp301 jint stride,
319 stride,
294 Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame( JNIEnv* env, jobject thiz, jstring attr_name, jobject vertex_frame, jint type, jint component_count, jint stride, jint offset, jboolean normalize) argument
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtransform.c440 Word16 stride) /*!< Stride of input vector */
447 absVal = abs_s(vector[i*stride]);
438 getScalefactorOfShortVectorStride(const Word16 *vector, Word16 len, Word16 stride) argument
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.cpp127 status_t SoftHEVC::setParams(size_t stride) { argument
131 s_ctl_ip.u4_disp_wd = (UWORD32)stride;
141 ALOGV("Set the run-time (dynamic) parameters stride = %u", stride);
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp355 static void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) ;
357 int stride, const android_native_rect_t& rect) ;
540 void SurfaceMediaSourceTest::fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { argument
544 int yuvTexStrideY = stride;
571 int h, int stride, const android_native_rect_t& rect) {
573 int yuvTexStrideY = stride;
570 fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, const android_native_rect_t& rect) argument
/frameworks/av/services/audioflinger/
H A DAudioResamplerDyn.cpp406 // stride is the minimum number of filter coefficients processed per loop iteration.
407 // We currently only allow a stride of 16 to match with SIMD processing.
411 // Note: A stride of 2 is achieved with non-SIMD processing.
412 int stride = ((c.mHalfNumCoefs & 7) == 0) ? 16 : 2; local
413 LOG_ALWAYS_FATAL_IF(stride < 16, "Resampler stride must be 16 or more");
416 // stride 16 (falls back to stride 2 for machines that do not support NEON)
473 printf("channels:%d %s stride:%d %s coef:%d shift:%d\n",
475 stride, useS3
[all...]
/frameworks/base/libs/hwui/
H A DCaches.cpp495 void Caches::bindPositionVertexPointer(bool force, const GLvoid* vertices, GLsizei stride) { argument
496 if (force || vertices != mCurrentPositionPointer || stride != mCurrentPositionStride) {
498 glVertexAttribPointer(slot, 2, GL_FLOAT, GL_FALSE, stride, vertices);
500 mCurrentPositionStride = stride;
504 void Caches::bindTexCoordsVertexPointer(bool force, const GLvoid* vertices, GLsizei stride) { argument
505 if (force || vertices != mCurrentTexCoordsPointer || stride != mCurrentTexCoordsStride) {
507 glVertexAttribPointer(slot, 2, GL_FLOAT, GL_FALSE, stride, vertices);
509 mCurrentTexCoordsStride = stride;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java260 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument
268 image.setRGB(0, 0, width, height, colors, offset, stride);
410 int stride, int x, int y, int width, int height) {
416 delegate.getImage().getRGB(x, y, width, height, pixels, offset, stride);
432 int stride, int x, int y, int width, int height) {
438 delegate.getImage().setRGB(x, y, width, height, colors, offset, stride);
409 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
431 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp172 bPtr += y * buf.stride + x;
191 bPtr += y * buf.stride + x;
197 // stride is in pixels, not in bytes
198 uint16_t *bPtr = ((uint16_t*)buf.data) + y * buf.stride + x;
206 bPtr += (y * buf.stride + x) * bytesPerPixel;
221 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride);
225 void fillGreyscaleBuffer(T* buf, int w, int h, int stride, int bpp) { argument
233 // stride is in pixels, not in bytes
234 int yuvTexStrideY = stride;
254 void fillRgba8888Buffer(uint8_t* buf, int w, int h, int stride) argument
281 fillBayerRawBuffer(uint8_t* buf, int w, int h, int stride) argument
484 produceOneFrame(const sp<ANativeWindow>& anw, const CpuConsumerTestParams& params, int64_t timestamp, uint32_t *stride) argument
553 uint32_t stride; local
588 uint32_t stride[numInQueue]; local
630 uint32_t stride; local
[all...]
/frameworks/native/opengl/libagl/
H A Ddxt.cpp195 void *surface, int stride,
212 for (int base_y = 0; base_y < height; base_y += 4, rowPtr += 4*stride) {
287 for (int y = 0; y < 4; y++, blockRowPtr += stride) {
308 void *surface, int stride)
324 for (int base_y = 0; base_y < height; base_y += 4, rowPtr += 4*stride) {
393 for (int y = 0; y < 4; y++, blockRowPtr += stride) {
417 void *surface, int stride)
448 for (int base_y = 0; base_y < height; base_y += 4, rowPtr += 4*stride) {
550 for (int y = 0; y < 4; y++, blockRowPtr += stride) {
581 * 'stride'
194 decodeDXT1(const GLvoid *data, int width, int height, void *surface, int stride, bool hasAlpha) argument
307 decodeDXT3(const GLvoid *data, int width, int height, void *surface, int stride) argument
416 decodeDXT5(const GLvoid *data, int width, int height, void *surface, int stride) argument
599 decodeDXT(const GLvoid *data, int width, int height, void *surface, int stride, int format) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp1891 int format, int stride) {
1900 size_t ySize = stride * height;
1901 size_t uvStride = (stride / 2 + 0xF) & ~0xF;
1890 calculateBufferSize(int width, int height, int format, int stride) argument
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h576 buffer_handle_t** buffer, int *stride)
584 *stride = anb->stride;
575 __dequeue_buffer(struct preview_stream_ops* w, buffer_handle_t** buffer, int *stride) argument

Completed in 488 milliseconds

1234