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

123456

/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp341 dataSize = buffer->stride * buffer->height;
348 cr = buffer->data + (buffer->stride * buffer->height);
363 // Y and C stride need to be 16 pixel aligned.
364 LOG_ALWAYS_FATAL_IF(buffer->stride % 16,
365 "Stride is not 16 pixel aligned %d", buffer->stride);
367 ySize = buffer->stride * buffer->height;
368 cStride = ALIGN(buffer->stride / 2, 16);
386 dataSize = buffer->stride * buffer->height;
393 dataSize = buffer->stride * buffer->height * 2;
415 dataSize = buffer->stride * buffe
[all...]
/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);
H A DGLES11Ext.java879 // C function void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
884 int stride,
892 int stride,
898 stride,
909 (stride >= 0)) {
914 // C function void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
919 int stride,
927 int stride,
933 stride,
881 glMatrixIndexPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
889 glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument
916 glWeightPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
924 glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument
H A DGLErrorWrapper.java161 public void glColorPointer(int size, int type, int stride, Buffer pointer) { argument
163 mgl.glColorPointer(size, type, stride, pointer);
601 public void glNormalPointer(int type, int stride, Buffer pointer) { argument
603 mgl.glNormalPointer(type, stride, pointer);
737 int stride, Buffer pointer) {
739 mgl.glTexCoordPointer(size, type, stride, pointer);
834 int stride, Buffer pointer) {
836 mgl.glVertexPointer(size, type, stride, pointer);
985 public void glColorPointer(int size, int type, int stride, int offset) { argument
987 mgl11.glColorPointer(size, type, stride, offse
736 glTexCoordPointer(int size, int type, int stride, Buffer pointer) argument
833 glVertexPointer(int size, int type, int stride, Buffer pointer) argument
1232 glNormalPointer(int type, int stride, int offset) argument
1274 glPointSizePointerOES(int type, int stride, Buffer pointer) argument
1280 glTexCoordPointer(int size, int type, int stride, int offset) argument
1335 glVertexPointer(int size, int type, int stride, int offset) argument
1353 glMatrixIndexPointerOES(int size, int type, int stride, Buffer pointer) argument
1360 glMatrixIndexPointerOES(int size, int type, int stride, int offset) argument
1367 glWeightPointerOES(int size, int type, int stride, Buffer pointer) argument
1374 glWeightPointerOES(int size, int type, int stride, int offset) argument
[all...]
/frameworks/native/include/android/
H A Dnative_window.h47 int32_t stride; member in struct:ANativeWindow_Buffer
/frameworks/native/libs/ui/
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/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/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/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);
H A DrsAllocation.cpp113 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
114 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
120 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
121 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
140 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) {
143 if (!stride) {
144 stride = lineSize;
153 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
157 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) {
160 if (!stride) {
112 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
118 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
139 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
156 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
499 size_t stride = 0; local
559 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
565 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
725 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.cpp127 mAlloc->mHal.drvState.lod[0].stride = mSlots[buf].mGraphicBuffer->getStride() *
148 mAlloc->mHal.drvState.lod[0].stride = ycbcr.ystride;
149 mAlloc->mHal.drvState.lod[1].stride = ycbcr.cstride;
150 mAlloc->mHal.drvState.lod[2].stride = ycbcr.cstride;
/frameworks/rs/cpp/
H A DAllocation.cpp263 const void *data, size_t stride) {
267 w * h * mType->getElement()->getSizeBytes(), stride));
270 void Allocation::copy2DStridedFrom(const void* data, size_t stride) { argument
271 copy2DStridedFrom(0, 0, mCurrentDimX, mCurrentDimY, data, stride);
275 void *data, size_t stride) {
279 w * h * mType->getElement()->getSizeBytes(), stride));
282 void Allocation::copy2DStridedTo(void* data, size_t stride) { argument
283 copy2DStridedTo(0, 0, mCurrentDimX, mCurrentDimY, data, stride);
262 copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data, size_t stride) argument
274 copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, void *data, size_t stride) argument
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicBlur.cpp150 extern "C" void rsdIntrinsicBlurVFU4_K(void *dst, const void *pin, int stride, const void *gptr, int rct, int x1, int ct);
284 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
300 const uchar *pi = pin + (y - cp->mIradius) * stride;
301 OneVFU4(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, x1, x2);
304 OneVU4(p, fout, x1, y, pin, stride, cp->mFp, cp->mIradius);
343 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
352 const uchar *pi = pin + (y - cp->mIradius) * stride;
353 OneVFU1(fout, pi, stride, c
[all...]
/frameworks/base/libs/hwui/
H A DTextureCache.h128 void uploadToTexture(bool resize, GLenum format, GLsizei stride,
/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
59 // 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);
/frameworks/rs/driver/
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/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java198 int stride,
430 int stride,
468 int stride,
475 int stride,
546 int stride,
195 glColorPointer( int size, int type, int stride, int offset ) argument
428 glNormalPointer( int type, int stride, int offset ) argument
466 glPointSizePointerOES( int type, int stride, java.nio.Buffer pointer ) argument
472 glTexCoordPointer( int size, int type, int stride, int offset ) argument
543 glVertexPointer( int size, int type, int stride, int offset ) argument

Completed in 1351 milliseconds

123456