Searched refs:stride (Results 26 - 50 of 158) sorted by relevance

1234567

/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 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...]
/frameworks/rs/driver/
H A DrsdAllocation.cpp97 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride;
98 ptr += yoff * alloc->mHal.drvState.lod[lod].stride;
270 state->lod[2].stride = rsRound(state->lod[0].stride >> 1, 16);
272 (state->lod[0].stride * state->lod[0].dimY);
273 uvSize += state->lod[2].stride * state->lod[2].dimY;
275 state->lod[1].stride = state->lod[2].stride;
277 (state->lod[2].stride * state->lod[2].dimY);
278 uvSize += state->lod[1].stride * stat
310 size_t stride = alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes(); local
555 size_t stride = alloc->mHal.state.elementSizeBytes; local
815 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
875 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
926 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
955 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A DrsdAllocation.h110 const void *data, size_t sizeBytes, size_t stride);
115 size_t stride);
125 void *data, size_t sizeBytes, size_t stride);
130 size_t stride);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java834 * @param stride Number of colors in the array between rows (must be >=
844 public static Bitmap createBitmap(int colors[], int offset, int stride, argument
846 return createBitmap(null, colors, offset, stride, width, height, config);
859 * @param stride Number of colors in the array between rows (must be >=
870 int offset, int stride, int width, int height, Config config) {
873 if (Math.abs(stride) < width) {
874 throw new IllegalArgumentException("abs(stride) must be >= width");
876 int lastScanline = offset + (height - 1) * stride;
885 Bitmap bm = nativeCreate(colors, offset, stride, width, height,
1314 * a packed int representing a {@link Color}. The stride paramete
869 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument
1335 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1375 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument
1449 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1607 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument
1626 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1631 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
[all...]
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp68 CHECK(format->findInt32("stride", &widthNew));
210 buf->stride, buf->height,
218 size_t dst_y_size = buf->stride * buf->height;
219 size_t dst_c_stride = ALIGN(buf->stride / 2, 16);
228 dst_y += buf->stride;
250 size_t dst_y_size = buf->stride * buf->height;
251 size_t dst_c_stride = ALIGN(buf->stride / 2, 16);
260 dst_y += buf->stride;
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp50 stride =
63 stride =
79 stride = inStride;
92 stride = buffer->stride;
155 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride);
277 buf[3] = stride;
319 width = height = stride = format = usage = 0;
340 stride = buf[3];
345 width = height = stride
[all...]
H A DGraphicBufferAllocator.cpp94 int usage, buffer_handle_t* handle, int32_t* stride)
105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
122 rec.s = *stride;
125 rec.size = h * stride[0] * bpp;
93 alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, buffer_handle_t* handle, int32_t* stride) argument
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java382 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
387 int stride,
395 int stride,
401 stride,
409 (stride >= 0)) {
945 // C function void glNormalPointer ( GLenum type, GLsizei stride, const GLvoid *pointer )
949 int stride,
956 int stride,
961 stride,
969 (stride >
384 glColorPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
392 glColorPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
947 glNormalPointerBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument
954 glNormalPointer( int type, int stride, java.nio.Buffer pointer ) argument
1138 glTexCoordPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
1146 glTexCoordPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
1283 glVertexPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
1291 glVertexPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
[all...]
H A DGLES11.java218 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
223 int stride,
546 // C function void glNormalPointer ( GLenum type, GLsizei stride, GLint offset )
550 int stride,
598 // C function void glPointSizePointerOES ( GLenum type, GLsizei stride, const GLvoid *pointer )
602 int stride,
609 int stride,
614 stride,
620 (stride >= 0)) {
625 // C function void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLin
220 glColorPointer( int size, int type, int stride, int offset ) argument
548 glNormalPointer( int type, int stride, int offset ) argument
600 glPointSizePointerOESBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument
607 glPointSizePointerOES( int type, int stride, java.nio.Buffer pointer ) argument
627 glTexCoordPointer( int size, int type, int stride, int offset ) argument
720 glVertexPointer( int size, int type, int stride, int offset ) argument
[all...]
H A DETC1Util.java84 int stride = pixelSize * width;
85 ByteBuffer decodedData = ByteBuffer.allocateDirect(stride*height)
87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride);
189 * @param stride the width of a line of the image in bytes
192 public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int stride){ argument
196 ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage);
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp101 || readInfo.stride != targetInfo.stride || readInfo.format != targetInfo.format
116 size_t byteCount = readInfo.stride * readInfo.height;
155 size_t byteCount = info.stride * info.height;
/frameworks/native/include/android/
H A Dnative_window.h47 int32_t stride; member in struct:ANativeWindow_Buffer
/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...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DBurstCapture.cpp88 imgEncoded->stride = imgBuffer->stride;
/frameworks/rs/
H A DrsAllocation.h78 size_t stride; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState
118 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride);
120 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride);
124 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride);
126 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride);
170 uint32_t z, uint32_t array, size_t *stride);
H A DrsAllocation.cpp98 uint32_t z, uint32_t array, size_t *stride) {
109 if ((stride != NULL) && mHal.drvState.lod[0].dimY) {
110 *stride = mHal.drvState.lod[lod].stride;
133 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
134 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
140 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
141 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
162 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) {
165 if (!stride) {
97 getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride) argument
132 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
138 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
161 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
179 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
527 size_t stride = 0; local
600 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
606 rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
760 rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
775 rsi_Allocation2DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A DrsGrallocConsumer.cpp132 mAlloc->mHal.drvState.lod[0].stride = mSlots[buf].mGraphicBuffer->getStride() *
153 mAlloc->mHal.drvState.lod[0].stride = ycbcr.ystride;
154 mAlloc->mHal.drvState.lod[1].stride = ycbcr.cstride;
155 mAlloc->mHal.drvState.lod[2].stride = ycbcr.cstride;
/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...]
H A DTextureObjectManager.cpp152 sur.stride= native_buffer->stride;
182 surface.stride = s;
214 mipmap.stride = s;
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DGLCHeader.cpp48 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
50 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
53 GLsizei stride, const GLvoid *pointer, GLsizei count);
55 GLsizei stride, const GLvoid *pointer, GLsizei count);
57 GLsizei stride, const GLvoid *pointer, GLsizei count);
59 GLsizei stride, const GLvoid *pointer, GLsizei count);
61 GLsizei stride, const GLvoid *pointer, GLsizei count);
/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp34 info->stride = bm->rowBytes();
/frameworks/native/include/gui/
H A DCpuConsumer.h51 uint32_t stride; member in struct:android::CpuConsumer::LockedBuffer
63 // contains the Y channel, and stride is the Y channel stride. For other
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h66 buffer_handle_t* handle, int32_t* stride);
/frameworks/native/services/surfaceflinger/tests/resize/
H A Dresize.cpp52 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format);

Completed in 590 milliseconds

1234567