Searched defs:stride (Results 1 - 25 of 36) sorted by relevance

12

/device/generic/goldfish/camera/fake-pipeline2/
H A DBase.h40 uint32_t stride; member in struct:android::StreamBuffer
50 uint32_t stride; member in struct:android::Stream
57 uint32_t stride; member in struct:android::ReprocessStream
H A DSensor.cpp322 " %d x %d, format %x, stride %d, buf %p, img %p",
323 i, b.streamId, b.width, b.height, b.format, b.stride,
327 captureRaw(b.img, gain, b.stride);
330 captureRGB(b.img, gain, b.stride);
333 captureRGBA(b.img, gain, b.stride);
344 bAux.stride = b.width;
351 captureNV21(b.img, gain, b.stride);
385 void Sensor::captureRaw(uint8_t *img, uint32_t gain, uint32_t stride) { argument
395 uint16_t *px = (uint16_t*)img + y * stride;
426 void Sensor::captureRGBA(uint8_t *img, uint32_t gain, uint32_t stride) { argument
[all...]
/device/generic/goldfish/camera/
H A DPreviewWindow.cpp140 int stride = 0; local
141 res = mPreviewWindow->dequeue_buffer(mPreviewWindow, &buffer, &stride);
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
H A DglUtils.cpp332 int size, GLenum type, unsigned int stride,
336 if (stride == 0) stride = vsize;
338 if (stride == vsize) {
344 src += stride;
350 int size, GLenum type, unsigned int stride,
356 if (stride == 0) stride = vsize;
358 if (stride == vsize) {
363 src += stride;
331 glUtilsPackPointerData(unsigned char *dst, unsigned char *src, int size, GLenum type, unsigned int stride, unsigned int datalen) argument
349 glUtilsWritePackPointerData(void* _stream, unsigned char *src, int size, GLenum type, unsigned int stride, unsigned int datalen) argument
[all...]
H A DGLClientState.cpp85 void GLClientState::setState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const void *data) argument
92 m_states[location].stride = stride;
H A DGLClientState.h59 GLsizei stride; member in struct:GLClientState::__anon471
86 void setState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const void *data);
245 *ptr = (T)(vertexAttrib->stride);
288 *ptr = state->stride;
306 *ptr = state->stride;
318 *ptr = state->stride;
336 *ptr = state->stride;
348 *ptr = state->stride;
366 *ptr = state->stride;
384 *ptr = state->stride;
[all...]
/device/generic/goldfish/opengl/system/GLESv1_enc/
H A DGLEncoder.cpp266 void GLEncoder::s_glVertexPointer(void *self, int size, GLenum type, GLsizei stride, const void *data) argument
270 ctx->m_state->setState(GLClientState::VERTEX_LOCATION, size, type, false, stride, data);
273 void GLEncoder::s_glNormalPointer(void *self, GLenum type, GLsizei stride, const void *data) argument
277 ctx->m_state->setState(GLClientState::NORMAL_LOCATION, 3, type, false, stride, data);
280 void GLEncoder::s_glColorPointer(void *self, int size, GLenum type, GLsizei stride, const void *data) argument
284 ctx->m_state->setState(GLClientState::COLOR_LOCATION, size, type, false, stride, data);
287 void GLEncoder::s_glPointSizePointerOES(void *self, GLenum type, GLsizei stride, const void *data) argument
291 ctx->m_state->setState(GLClientState::POINTSIZE_LOCATION, 1, type, false, stride, data);
301 void GLEncoder::s_glTexCoordPointer(void *self, int size, GLenum type, GLsizei stride, const void *data) argument
306 ctx->m_state->setState(loc, size, type, false, stride, dat
309 s_glMatrixIndexPointerOES(void *self, int size, GLenum type, GLsizei stride, const void * data) argument
317 s_glWeightPointerOES(void * self, int size, GLenum type, GLsizei stride, const void * data) argument
[all...]
H A Dgl_enc.cpp2401 void glVertexPointerOffset_enc(void *self , GLint size, GLenum type, GLsizei stride, GLuint offset) argument
2415 memcpy(ptr, &stride, 4); ptr += 4;
2419 void glColorPointerOffset_enc(void *self , GLint size, GLenum type, GLsizei stride, GLuint offset) argument
2433 memcpy(ptr, &stride, 4); ptr += 4;
2437 void glNormalPointerOffset_enc(void *self , GLenum type, GLsizei stride, GLuint offset) argument
2450 memcpy(ptr, &stride, 4); ptr += 4;
2454 void glPointSizePointerOffset_enc(void *self , GLenum type, GLsizei stride, GLuint offset) argument
2467 memcpy(ptr, &stride, 4); ptr += 4;
2471 void glTexCoordPointerOffset_enc(void *self , GLint size, GLenum type, GLsizei stride, GLuint offset) argument
2485 memcpy(ptr, &stride,
2489 glWeightPointerOffset_enc(void *self , GLint size, GLenum type, GLsizei stride, GLuint offset) argument
2507 glMatrixIndexPointerOffset_enc(void *self , GLint size, GLenum type, GLsizei stride, GLuint offset) argument
2525 glVertexPointerData_enc(void *self , GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) argument
2546 glColorPointerData_enc(void *self , GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) argument
2567 glNormalPointerData_enc(void *self , GLenum type, GLsizei stride, void* data, GLuint datalen) argument
2587 glTexCoordPointerData_enc(void *self , GLint unit, GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) argument
2609 glPointSizePointerData_enc(void *self , GLenum type, GLsizei stride, void* data, GLuint datalen) argument
2629 glWeightPointerData_enc(void *self , GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) argument
2650 glMatrixIndexPointerData_enc(void *self , GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) argument
[all...]
/device/asus/flo/camera/QCamera2/HAL/
H A DQCameraMem.cpp993 int stride = 0; local
994 err = mWindow->dequeue_buffer(mWindow, &buffer_handle, &stride);
1079 int stride; local
1080 err = mWindow->dequeue_buffer(mWindow, &mBufferHandle[cnt], &stride);
/device/lge/hammerhead/camera/QCamera2/HAL/
H A DQCameraMem.cpp993 int stride = 0; local
994 err = mWindow->dequeue_buffer(mWindow, &buffer_handle, &stride);
1079 int stride; local
1080 err = mWindow->dequeue_buffer(mWindow, &mBufferHandle[cnt], &stride);
/device/lge/mako/camera/
H A DQCameraHWI_Preview.cpp157 int stride; local
160 &mHalCamCtrl->mPreviewMemory.stride[cnt]);
H A DQCameraHWI_Preview_7x27A.cpp135 int stride; local
138 &mHalCamCtrl->mPreviewMemory.stride[cnt]);
H A DQCameraHWI.h135 int stride[MM_CAMERA_MAX_NUM_FRAMES]; member in struct:__anon1074
/device/moto/shamu/camera/QCamera/HAL/core/src/
H A DQCameraHWI_Preview.cpp100 int stride; local
103 &mHalCamCtrl->mPreviewMemory.stride[cnt]);
/device/moto/shamu/camera/QCamera2/HAL/
H A DQCameraMem.cpp1309 * @stride : stride of preview frame
1316 int width, int height, int stride, int scanline, int format)
1321 mStride = stride;
1357 int stride = 0; local
1358 err = mWindow->dequeue_buffer(mWindow, &buffer_handle, &stride);
1451 int stride; local
1452 err = mWindow->dequeue_buffer(mWindow, &mBufferHandle[cnt], &stride);
1315 setWindowInfo(preview_stream_ops_t *window, int width, int height, int stride, int scanline, int format) argument
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_stream.c1661 int stride = 0, scanline = 0; local
1669 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
1672 buf_planes->plane_info.mp[0].len = stride * scanline;
1675 buf_planes->plane_info.mp[0].stride = stride;
1678 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
1682 stride * scanline;
1685 buf_planes->plane_info.mp[1].stride = stride;
1697 stride
1821 int stride = 0, scanline = 0; local
1973 int stride = 0; local
2168 int stride = 0, scanline = 0; local
2199 int stride = 0, scanline = 0; local
[all...]
/device/generic/goldfish/opengl/system/gralloc/
H A Dgralloc.cpp189 int stride = w; local
265 stride = yStride / bpp;
269 stride = bpr / bpp;
273 D("gralloc_alloc format=%d, ashmem_size=%d, stride=%d, tid %d\n", format,
274 ashmem_size, stride, gettid());
350 *pStride = stride;
981 const_cast<int&>(dev->device.stride) = width;
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_stream.c1654 int stride = 0, scanline = 0; local
1662 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
1665 buf_planes->plane_info.mp[0].len = stride * scanline;
1668 buf_planes->plane_info.mp[0].stride = stride;
1671 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
1675 stride * scanline;
1678 buf_planes->plane_info.mp[1].stride = stride;
1690 stride
1814 int stride = 0, scanline = 0; local
1966 int stride = 0; local
2162 int stride = 0, scanline = 0; local
2193 int stride = 0, scanline = 0; local
[all...]
/device/lge/mako/camera/QCamera/HAL/core/src/
H A DQCameraHWI_Preview.cpp156 int stride; local
159 &mHalCamCtrl->mPreviewMemory.stride[cnt]);
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
H A DQCameraStream.h71 int stride[MM_CAMERA_MAX_NUM_FRAMES]; member in struct:android::__anon1323
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_stream.c1689 int stride = 0, scanline = 0; local
1697 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32);
1701 buf_planes->plane_info.mp[0].len = stride * scanline;
1704 buf_planes->plane_info.mp[0].stride = stride;
1709 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32);
1713 stride * scanline;
1716 buf_planes->plane_info.mp[1].stride = stride;
1730 stride
1896 int stride = 0, scanline = 0; local
2107 int stride = 0, scanline = 0; local
2273 int stride = 0; local
2497 int stride = 0, scanline = 0; local
2532 int stride = 0, scanline = 0; local
[all...]
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
H A DQualcommUsbCamera.cpp856 int stride; local
860 &camHal->previewMem.stride[cnt]);
1776 int stride = 0, cnt = 0; local
1794 &stride);
1817 ALOGD("%s: fd = %d, size = %d, offset = %d, stride = %d",
1819 private_buffer_handle->size, private_buffer_handle->offset, stride);
/device/moto/shamu/camera/QCamera2/HAL/test/
H A Dqcamera_test.cpp1291 * DESCRIPTION: Temp buffer stride calculation.
1300 size_t alignment, stride = 0; local
1302 return stride;
1305 stride = VIDEO_BUF_ALLIGN(width, alignment);
1307 return stride;
/device/generic/goldfish/opengl/system/GLESv2_enc/
H A Dgl2_enc.cpp2783 void glVertexAttribPointerData_enc(void *self , GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, void* data, GLuint datalen) argument
2800 memcpy(ptr, &stride, 4); ptr += 4;
2802 glUtilsPackPointerData((unsigned char *)ptr, (unsigned char *)data, size, type, stride, datalen);ptr += __size_data;
2806 void glVertexAttribPointerOffset_enc(void *self , GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint offset) argument
2822 memcpy(ptr, &stride, 4); ptr += 4;
/device/lge/mako/camera/QCamera/HAL/core/inc/
H A DQCameraHWI.h135 int stride[MM_CAMERA_MAX_NUM_FRAMES]; member in struct:__anon921

Completed in 496 milliseconds

12