/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1689 int stride = 0, scanline = 0; in mm_stream_calc_offset_preview() local 1697 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32); in mm_stream_calc_offset_preview() 1701 buf_planes->plane_info.mp[0].len = stride * scanline; in mm_stream_calc_offset_preview() 1704 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview() 1709 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32); in mm_stream_calc_offset_preview() 1713 stride * scanline; in mm_stream_calc_offset_preview() 1716 buf_planes->plane_info.mp[1].stride = stride; in mm_stream_calc_offset_preview() 1730 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32); in mm_stream_calc_offset_preview() 1734 PAD_TO_SIZE(stride * scanline, in mm_stream_calc_offset_preview() 1738 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview() [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1661 int stride = 0, scanline = 0; in mm_stream_calc_offset_preview() local 1669 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16); in mm_stream_calc_offset_preview() 1672 buf_planes->plane_info.mp[0].len = stride * scanline; in mm_stream_calc_offset_preview() 1675 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview() 1678 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16); in mm_stream_calc_offset_preview() 1682 stride * scanline; in mm_stream_calc_offset_preview() 1685 buf_planes->plane_info.mp[1].stride = stride; in mm_stream_calc_offset_preview() 1697 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32); in mm_stream_calc_offset_preview() 1701 PAD_TO_SIZE(stride * scanline, in mm_stream_calc_offset_preview() 1705 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 1654 int stride = 0, scanline = 0; in mm_stream_calc_offset_preview() local 1662 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16); in mm_stream_calc_offset_preview() 1665 buf_planes->plane_info.mp[0].len = stride * scanline; in mm_stream_calc_offset_preview() 1668 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview() 1671 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16); in mm_stream_calc_offset_preview() 1675 stride * scanline; in mm_stream_calc_offset_preview() 1678 buf_planes->plane_info.mp[1].stride = stride; in mm_stream_calc_offset_preview() 1690 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32); in mm_stream_calc_offset_preview() 1694 PAD_TO_SIZE(stride * scanline, in mm_stream_calc_offset_preview() 1698 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview() [all …]
|
/device/generic/goldfish/camera/fake-pipeline2/ |
D | Sensor.cpp | 323 i, b.streamId, b.width, b.height, b.format, b.stride, in threadLoop() 327 captureRaw(b.img, gain, b.stride); in threadLoop() 330 captureRGB(b.img, gain, b.stride); in threadLoop() 333 captureRGBA(b.img, gain, b.stride); in threadLoop() 344 bAux.stride = b.width; in threadLoop() 351 captureNV21(b.img, gain, b.stride); in threadLoop() 385 void Sensor::captureRaw(uint8_t *img, uint32_t gain, uint32_t stride) { in captureRaw() argument 395 uint16_t *px = (uint16_t*)img + y * stride; in captureRaw() 426 void Sensor::captureRGBA(uint8_t *img, uint32_t gain, uint32_t stride) { in captureRGBA() argument 430 uint32_t inc = kResolution[0] / stride; in captureRGBA() [all …]
|
D | Base.h | 40 uint32_t stride; member 50 uint32_t stride; member 57 uint32_t stride; member
|
D | Sensor.h | 233 void captureRaw(uint8_t *img, uint32_t gain, uint32_t stride); 234 void captureRGBA(uint8_t *img, uint32_t gain, uint32_t stride); 235 void captureRGB(uint8_t *img, uint32_t gain, uint32_t stride); 236 void captureNV21(uint8_t *img, uint32_t gain, uint32_t stride);
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
D | glUtils.cpp | 332 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()
|
D | GLClientState.h | 59 GLsizei stride; member 86 …void setState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const vo… 245 *ptr = (T)(vertexAttrib->stride); in getVertexAttribParameter() 288 *ptr = state->stride; in getClientStateParameter() 306 *ptr = state->stride; in getClientStateParameter() 318 *ptr = state->stride; in getClientStateParameter() 336 *ptr = state->stride; in getClientStateParameter() 348 *ptr = state->stride; in getClientStateParameter() 366 *ptr = state->stride; in getClientStateParameter() 384 *ptr = state->stride; in getClientStateParameter()
|
D | glUtils.h | 52 int size, GLenum type, unsigned int stride, 55 int size, GLenum type, unsigned int stride,
|
D | GLClientState.cpp | 85 …tState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const void *data) in setState() argument 92 m_states[location].stride = stride; in setState()
|
/device/generic/goldfish/opengl/system/GLESv1_enc/ |
D | GLEncoder.cpp | 266 void GLEncoder::s_glVertexPointer(void *self, int size, GLenum type, GLsizei stride, const void *da… in s_glVertexPointer() argument 270 ctx->m_state->setState(GLClientState::VERTEX_LOCATION, size, type, false, stride, data); in s_glVertexPointer() 273 void GLEncoder::s_glNormalPointer(void *self, GLenum type, GLsizei stride, const void *data) in s_glNormalPointer() argument 277 ctx->m_state->setState(GLClientState::NORMAL_LOCATION, 3, type, false, stride, data); in s_glNormalPointer() 280 void GLEncoder::s_glColorPointer(void *self, int size, GLenum type, GLsizei stride, const void *dat… in s_glColorPointer() argument 284 ctx->m_state->setState(GLClientState::COLOR_LOCATION, size, type, false, stride, data); in s_glColorPointer() 287 void GLEncoder::s_glPointSizePointerOES(void *self, GLenum type, GLsizei stride, const void *data) in s_glPointSizePointerOES() argument 291 ctx->m_state->setState(GLClientState::POINTSIZE_LOCATION, 1, type, false, stride, data); in s_glPointSizePointerOES() 301 void GLEncoder::s_glTexCoordPointer(void *self, int size, GLenum type, GLsizei stride, const void *… in s_glTexCoordPointer() argument 306 ctx->m_state->setState(loc, size, type, false, stride, data); in s_glTexCoordPointer() [all …]
|
D | GLEncoder.h | 111 …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_glPointSizePointerOES(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…
|
D | gl_entry.cpp | 62 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 …]
|
/device/generic/goldfish/opengl/system/egl/ |
D | ClientAPIExts.in | 37 (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))
|
/device/generic/goldfish/camera/ |
D | PreviewWindow.cpp | 140 int stride = 0; in onNextFrameAvailable() local 141 res = mPreviewWindow->dequeue_buffer(mPreviewWindow, &buffer, &stride); in onNextFrameAvailable()
|
D | EmulatedFakeCamera2.cpp | 446 newStream.stride = width; in allocateStream() 575 newStream.stride = baseStream.stride; in allocateReprocessStreamFromStream() 645 id, s.width, s.height, s.format, s.stride); in dump() 852 b.stride = s.stride; in setupCapture() 856 i, b.streamId, b.width, b.height, b.format, b.stride); in setupCapture() 974 b.stride = s.stride; in setupReprocess() 1004 b.stride = s.stride; in setupReprocess() 1008 i, b.streamId, b.width, b.height, b.format, b.stride); in setupReprocess() 1361 i, b.streamId, b.width, b.height, b.format, b.stride); in threadLoop()
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraAllocator.h | 46 int stride,
|
D | QCameraMem.cpp | 1316 int width, int height, int stride, int scanline, int format) in setWindowInfo() argument 1321 mStride = stride; in setWindowInfo() 1357 int stride = 0; in displayBuffer() local 1358 err = mWindow->dequeue_buffer(mWindow, &buffer_handle, &stride); in displayBuffer() 1451 int stride; in allocate() local 1452 err = mWindow->dequeue_buffer(mWindow, &mBufferHandle[cnt], &stride); in allocate()
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
D | gles.cpp | 326 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 …]
|
/device/generic/goldfish/opengl/system/gralloc/ |
D | gralloc.cpp | 189 int stride = w; in gralloc_alloc() local 265 stride = yStride / bpp; in gralloc_alloc() 269 stride = bpr / bpp; in gralloc_alloc() 274 ashmem_size, stride, gettid()); in gralloc_alloc() 350 *pStride = stride; in gralloc_alloc() 981 const_cast<int&>(dev->device.stride) = width; in gralloc_device_open()
|
/device/asus/fugu/kernel-headers/linux/ |
D | psb_drm.h | 57 uint32_t stride; member 212 uint32_t stride; member 646 uint32_t stride; member 1136 uint32_t stride; member 1156 uint32_t stride; member
|
/device/asus/fugu/original-kernel-headers/linux/ |
D | psb_drm.h | 82 uint32_t stride; /* Buffer stride in bytes */ member 251 uint32_t stride; member 703 uint32_t stride; member 1221 uint32_t stride; member 1239 uint32_t stride; member
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 993 int stride = 0; in displayBuffer() local 994 err = mWindow->dequeue_buffer(mWindow, &buffer_handle, &stride); in displayBuffer() 1079 int stride; in allocate() local 1080 err = mWindow->dequeue_buffer(mWindow, &mBufferHandle[cnt], &stride); in allocate()
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCameraMem.cpp | 993 int stride = 0; in displayBuffer() local 994 err = mWindow->dequeue_buffer(mWindow, &buffer_handle, &stride); in displayBuffer() 1079 int stride; in allocate() local 1080 err = mWindow->dequeue_buffer(mWindow, &mBufferHandle[cnt], &stride); in allocate()
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
D | GL2Encoder.cpp | 228 …elf, GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pt… in s_glVertexAttribPointer() argument 232 ctx->m_state->setState(indx, size, type, normalized, stride, ptr); in s_glVertexAttribPointer() 443 int stride = state->stride == 0 ? state->elementSize : state->stride; in sendVertexAttributes() local 444 int firstIndex = stride * first; in sendVertexAttributes() 448 …his->glVertexAttribPointerData(this, i, state->size, state->type, state->normalized, state->stride, in sendVertexAttributes() 451 …s->glVertexAttribPointerOffset(this, i, state->size, state->type, state->normalized, state->stride, in sendVertexAttributes()
|