Home
last modified time | relevance | path

Searched refs:stride (Results 1 – 25 of 39) sorted by relevance

12

/development/tools/emulator/system/camera/fake-pipeline2/
DBase.h40 uint32_t stride; member
50 uint32_t stride; member
57 uint32_t stride; member
DSensor.cpp302 i, b.streamId, b.width, b.height, b.format, b.stride, in threadLoop()
306 captureRaw(b.img, gain, b.stride); in threadLoop()
309 captureRGB(b.img, gain, b.stride); in threadLoop()
312 captureRGBA(b.img, gain, b.stride); in threadLoop()
323 bAux.stride = b.width; in threadLoop()
330 captureNV21(b.img, gain, b.stride); in threadLoop()
364 void Sensor::captureRaw(uint8_t *img, uint32_t gain, uint32_t stride) { in captureRaw() argument
374 uint16_t *px = (uint16_t*)img + y * stride; in captureRaw()
405 void Sensor::captureRGBA(uint8_t *img, uint32_t gain, uint32_t stride) { in captureRGBA() argument
409 uint32_t inc = kResolution[0] / stride; in captureRGBA()
[all …]
DSensor.h213 void captureRaw(uint8_t *img, uint32_t gain, uint32_t stride);
214 void captureRGBA(uint8_t *img, uint32_t gain, uint32_t stride);
215 void captureRGB(uint8_t *img, uint32_t gain, uint32_t stride);
216 void captureNV21(uint8_t *img, uint32_t gain, uint32_t stride);
/development/tools/emulator/opengl/shared/OpenglCodecCommon/
DglUtils.cpp332 int size, GLenum type, unsigned int stride, in glUtilsPackPointerData() argument
336 if (stride == 0) stride = vsize; in glUtilsPackPointerData()
338 if (stride == vsize) { in glUtilsPackPointerData()
344 src += stride; in glUtilsPackPointerData()
350 int size, GLenum type, unsigned int stride, in glUtilsWritePackPointerData() argument
356 if (stride == 0) stride = vsize; in glUtilsWritePackPointerData()
358 if (stride == vsize) { in glUtilsWritePackPointerData()
363 src += stride; in glUtilsWritePackPointerData()
DGLClientState.h59 GLsizei stride; member
86 …void setState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const vo…
239 *ptr = (T)(vertexAttrib->stride); in getVertexAttribParameter()
282 *ptr = state->stride; in getClientStateParameter()
300 *ptr = state->stride; in getClientStateParameter()
312 *ptr = state->stride; in getClientStateParameter()
330 *ptr = state->stride; in getClientStateParameter()
342 *ptr = state->stride; in getClientStateParameter()
360 *ptr = state->stride; in getClientStateParameter()
378 *ptr = state->stride; in getClientStateParameter()
DglUtils.h52 int size, GLenum type, unsigned int stride,
55 int size, GLenum type, unsigned int stride,
DGLClientState.cpp84 …tState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const void *data) in setState() argument
91 m_states[location].stride = stride; in setState()
/development/tools/emulator/opengl/system/GLESv1_enc/
DGLEncoder.cpp264 void GLEncoder::s_glVertexPointer(void *self, int size, GLenum type, GLsizei stride, const void *da… in s_glVertexPointer() argument
268 ctx->m_state->setState(GLClientState::VERTEX_LOCATION, size, type, false, stride, data); in s_glVertexPointer()
271 void GLEncoder::s_glNormalPointer(void *self, GLenum type, GLsizei stride, const void *data) in s_glNormalPointer() argument
275 ctx->m_state->setState(GLClientState::NORMAL_LOCATION, 3, type, false, stride, data); in s_glNormalPointer()
278 void GLEncoder::s_glColorPointer(void *self, int size, GLenum type, GLsizei stride, const void *dat… in s_glColorPointer() argument
282 ctx->m_state->setState(GLClientState::COLOR_LOCATION, size, type, false, stride, data); in s_glColorPointer()
285 void GLEncoder::s_glPointsizePointer(void *self, GLenum type, GLsizei stride, const void *data) in s_glPointsizePointer() argument
289 ctx->m_state->setState(GLClientState::POINTSIZE_LOCATION, 1, type, false, stride, data); in s_glPointsizePointer()
299 void GLEncoder::s_glTexcoordPointer(void *self, int size, GLenum type, GLsizei stride, const void *… in s_glTexcoordPointer() argument
304 ctx->m_state->setState(loc, size, type, false, stride, data); in s_glTexcoordPointer()
[all …]
DGLEncoder.h111 …static void s_glVertexPointer(void *self, int size, GLenum type, GLsizei stride, const void *data);
112 static void s_glNormalPointer(void *self, GLenum type, GLsizei stride, const void *data);
113 … static void s_glColorPointer(void *self, int size, GLenum type, GLsizei stride, const void *data);
114 static void s_glPointsizePointer(void *self, GLenum type, GLsizei stride, const void *data);
116 …static void s_glTexcoordPointer(void *self, int size, GLenum type, GLsizei stride, const void *dat…
117 …static void s_glMatrixIndexPointerOES(void *self, int size, GLenum type, GLsizei stride, const voi…
118 …static void s_glWeightPointerOES(void *self, int size, GLenum type, GLsizei stride, const void * d…
Dgl_entry.cpp62 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
119 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid* pointer);
138 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
150 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
152 void glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid* pointer);
153 void glVertexPointerOffset(GLint size, GLenum type, GLsizei stride, GLuint offset);
154 void glColorPointerOffset(GLint size, GLenum type, GLsizei stride, GLuint offset);
155 void glNormalPointerOffset(GLenum type, GLsizei stride, GLuint offset);
156 void glPointSizePointerOffset(GLenum type, GLsizei stride, GLuint offset);
157 void glTexCoordPointerOffset(GLint size, GLenum type, GLsizei stride, GLuint offset);
[all …]
Dgl_enc.h77 …void glColorPointer_enc(void *self , GLint size, GLenum type, GLsizei stride, const GLvoid* pointe…
134 void glNormalPointer_enc(void *self , GLenum type, GLsizei stride, const GLvoid* pointer);
153 …void glTexCoordPointer_enc(void *self , GLint size, GLenum type, GLsizei stride, const GLvoid* poi…
165 …void glVertexPointer_enc(void *self , GLint size, GLenum type, GLsizei stride, const GLvoid* point…
167 void glPointSizePointerOES_enc(void *self , GLenum type, GLsizei stride, const GLvoid* pointer);
168 …void glVertexPointerOffset_enc(void *self , GLint size, GLenum type, GLsizei stride, GLuint offset…
169 void glColorPointerOffset_enc(void *self , GLint size, GLenum type, GLsizei stride, GLuint offset);
170 void glNormalPointerOffset_enc(void *self , GLenum type, GLsizei stride, GLuint offset);
171 void glPointSizePointerOffset_enc(void *self , GLenum type, GLsizei stride, GLuint offset);
172 …void glTexCoordPointerOffset_enc(void *self , GLint size, GLenum type, GLsizei stride, GLuint offs…
[all …]
/development/tools/emulator/opengl/system/egl/
DClientAPIExts.in37 (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer),
38 (size, type, stride, pointer))
41 (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer),
42 (size, type, stride, pointer))
69 (GLenum type, GLsizei stride, const GLvoid *pointer),
70 (type, stride, pointer))
/development/tools/etc1tool/
Detc1tool.cpp145 png_uint_32 stride = 0; in read_PNG_File() local
200 stride = 3 * width; in read_PNG_File()
202 pSourceImage = new etc1_byte[stride * height]; in read_PNG_File()
209 memcpy(pSourceImage + y * stride, row_pointers[y], stride); in read_PNG_File()
244 png_uint_32 stride = 0; in readPKMFile() local
283 stride = width * 3; in readPKMFile()
284 pImageData = new png_byte[stride * height]; in readPKMFile()
290 etc1_decode_image(pEncodedData, pImageData, width, height, 3, stride); in readPKMFile()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCompressedTextureActivity.java135 int stride = 3 * width; in createImage() local
136 ByteBuffer image = ByteBuffer.allocateDirect(height * stride) in createImage()
146 image.position(stride*y+x*3); in createImage()
/development/ndk/platforms/android-8/include/android/
Dbitmap.h43 uint32_t stride; member
/development/ndk/platforms/android-9/include/android/
Dbitmap.h42 uint32_t stride; member
Dnative_window.h47 int32_t stride; member
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java142 public void glColorPointer(int size, int type, int stride, Buffer pointer) { in glColorPointer() argument
143 mgl.glColorPointer(size, type, stride, pointer); in glColorPointer()
486 public void glNormalPointer(int type, int stride, Buffer pointer) { in glNormalPointer() argument
487 mgl.glNormalPointer(type, stride, pointer); in glNormalPointer()
594 int stride, Buffer pointer) { in glTexCoordPointer() argument
595 mgl.glTexCoordPointer(size, type, stride, pointer); in glTexCoordPointer()
665 int stride, Buffer pointer) { in glVertexPointer() argument
666 mgl.glVertexPointer(size, type, stride, pointer); in glVertexPointer()
941 public void glPointSizePointerOES(int type, int stride, Buffer pointer) { in glPointSizePointerOES() argument
977 public void glColorPointer(int size, int type, int stride, int offset) { in glColorPointer() argument
[all …]
/development/ndk/platforms/android-9/arch-mips/include/asm/sn/
Daddrs.h146 #define LAUNCH_OFFSET(nasid, slice) (KLD_LAUNCH(nasid)->offset + KLD_LAUNCH(nasid)->stride * (s…
150 #define NMI_OFFSET(nasid, slice) (KLD_NMI(nasid)->offset + KLD_NMI(nasid)->stride * (slice))
160 …_OFFSET(nasid, slice) (KLD_SYMMON_STK(nasid)->offset + KLD_SYMMON_STK(nasid)->stride * (slice))
161 #define SYMMON_STK_STRIDE(nasid) KLD_SYMMON_STK(nasid)->stride
164 #define SYMMON_STK_SIZE(nasid) KLD_SYMMON_STK(nasid)->stride
Dkldir.h87 size_t stride; member
/development/tools/emulator/system/camera/
DPreviewWindow.cpp140 int stride = 0; in onNextFrameAvailable() local
141 res = mPreviewWindow->dequeue_buffer(mPreviewWindow, &buffer, &stride); in onNextFrameAvailable()
DEmulatedFakeCamera2.cpp359 newStream.stride = width; in allocateStream()
478 newStream.stride = baseStream.stride; in allocateReprocessStreamFromStream()
607 id, s.width, s.height, s.format, s.stride); in dump()
813 b.stride = s.stride; in setupCapture()
817 i, b.streamId, b.width, b.height, b.format, b.stride); in setupCapture()
943 b.stride = s.stride; in setupReprocess()
973 b.stride = s.stride; in setupReprocess()
977 i, b.streamId, b.width, b.height, b.format, b.stride); in setupReprocess()
1347 i, b.streamId, b.width, b.height, b.format, b.stride); in threadLoop()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dimportgl.h84 FNDEF(void, glColorPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer));
98 FNDEF(void, glNormalPointer, (GLenum type, GLsizei stride, const GLvoid *pointer));
105 FNDEF(void, glVertexPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer));
/development/tools/emulator/opengl/system/gralloc/
Dgralloc.cpp186 int stride = w; in gralloc_alloc() local
272 stride = yStride / bpp; in gralloc_alloc()
276 stride = bpr / bpp; in gralloc_alloc()
281 ashmem_size, stride, gettid()); in gralloc_alloc()
353 *pStride = stride; in gralloc_alloc()
858 const_cast<int&>(dev->device.stride) = width; in gralloc_device_open()
/development/tools/emulator/opengl/tests/gles_android_wrapper/
Dgles.cpp326 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) in glColorPointer() argument
328 getDispatch()->glColorPointer(size, type, stride, pointer); in glColorPointer()
611 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) in glNormalPointer() argument
613 getDispatch()->glNormalPointer(type, stride, pointer); in glNormalPointer()
706 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) in glTexCoordPointer() argument
708 getDispatch()->glTexCoordPointer(size, type, stride, pointer); in glTexCoordPointer()
766 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) in glVertexPointer() argument
768 getDispatch()->glVertexPointer(size, type, stride, pointer); in glVertexPointer()
776 void glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid *pointer) in glPointSizePointerOES() argument
778 getDispatch()->glPointSizePointerOES(type, stride, pointer); in glPointSizePointerOES()
[all …]

12