Home
last modified time | relevance | path

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

123456

/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/
Dgles1.addon1 GL_ENTRY(void, glVertexPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
2 GL_ENTRY(void, glColorPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
3 GL_ENTRY(void, glNormalPointerOffset, GLenum type, GLsizei stride, GLuint offset)
4 GL_ENTRY(void, glPointSizePointerOffset, GLenum type, GLsizei stride, GLuint offset)
5 GL_ENTRY(void, glTexCoordPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
7 GL_ENTRY(void, glVertexPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint d…
8 GL_ENTRY(void, glColorPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint da…
9 GL_ENTRY(void, glNormalPointerData, GLenum type, GLsizei stride, void * data, GLuint datalen)
10 GL_ENTRY(void, glTexCoordPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint…
11 GL_ENTRY(void, glPointSizePointerData, GLenum type, GLsizei stride, void * data, GLuint datalen)
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c2474 int stride = 0, scanline = 0; in mm_stream_calc_offset_preview() local
2497 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview()
2501 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline); in mm_stream_calc_offset_preview()
2504 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview()
2509 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview()
2513 (uint32_t)(stride * scanline); in mm_stream_calc_offset_preview()
2516 buf_planes->plane_info.mp[1].stride = stride; in mm_stream_calc_offset_preview()
2531 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32); in mm_stream_calc_offset_preview()
2534 stride = PAD_TO_SIZE(dim->width, padding->width_padding); in mm_stream_calc_offset_preview()
2539 PAD_TO_SIZE((uint32_t)(stride * scanline), CAM_PAD_TO_4K); in mm_stream_calc_offset_preview()
[all …]
/device/google/cuttlefish_common/guest/hals/hwcomposer/cutf_cvm/
Dvsoc_composer.cpp147 int stride; member
154 BufferSpec(uint8_t* buffer, size_t size, int width, int height, int stride) in BufferSpec()
159 stride(stride), in BufferSpec()
169 int stride_in_pixels = src.stride / formatToBytesPerPixel(src.format); in ConvertFromYV12()
185 uint8_t* dst_buffer = dst.buffer + dst.crop_y * dst.stride + in ConvertFromYV12()
190 dst_buffer, dst.stride, dst.crop_width, in ConvertFromYV12()
200 uint8_t* src_buffer = src.buffer + src.crop_y * src.stride + in DoCopy()
202 uint8_t* dst_buffer = dst.buffer + dst.crop_y * dst.stride + in DoCopy()
215 return libyuv::ARGBCopy(src_buffer, src.stride, dst_buffer, dst.stride, width, in DoCopy()
222 uint8_t* src_buffer = src.buffer + src.crop_y * src.stride + in DoRotation()
[all …]
/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc/
Dvsoc_composer.cpp149 int stride; member
156 BufferSpec(uint8_t* buffer, size_t size, int width, int height, int stride) in BufferSpec()
161 stride(stride), in BufferSpec()
171 int stride_in_pixels = src.stride / formatToBytesPerPixel(src.format); in ConvertFromYV12()
187 uint8_t* dst_buffer = dst.buffer + dst.crop_y * dst.stride + in ConvertFromYV12()
192 dst_buffer, dst.stride, dst.crop_width, in ConvertFromYV12()
202 uint8_t* src_buffer = src.buffer + src.crop_y * src.stride + in DoCopy()
204 uint8_t* dst_buffer = dst.buffer + dst.crop_y * dst.stride + in DoCopy()
217 return libyuv::ARGBCopy(src_buffer, src.stride, dst_buffer, dst.stride, width, in DoCopy()
224 uint8_t* src_buffer = src.buffer + src.crop_y * src.stride + in DoRotation()
[all …]
/device/google/crosshatch/sdm845/kernel-headers/media/
Dmsm_media_info.h837 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
848 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
852 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
853 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
857 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE()
861 stride = MSM_MEDIA_ALIGN(width*2, alignment); in VENUS_Y_STRIDE()
867 return stride; in VENUS_Y_STRIDE()
879 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
890 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
894 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE()
[all …]
/device/google/bonito/sdm710/kernel-headers/media/
Dmsm_media_info.h837 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
848 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
852 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
853 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
857 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE()
861 stride = MSM_MEDIA_ALIGN(width*2, alignment); in VENUS_Y_STRIDE()
867 return stride; in VENUS_Y_STRIDE()
879 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
890 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
894 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE()
[all …]
/device/google/bonito/sdm710/original-kernel-headers/media/
Dmsm_media_info.h837 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
848 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
852 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
853 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
857 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE()
861 stride = MSM_MEDIA_ALIGN(width*2, alignment); in VENUS_Y_STRIDE()
867 return stride; in VENUS_Y_STRIDE()
879 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
890 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
894 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE()
[all …]
/device/google/crosshatch/sdm845/original-kernel-headers/media/
Dmsm_media_info.h837 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local
848 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
852 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
853 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
857 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE()
861 stride = MSM_MEDIA_ALIGN(width*2, alignment); in VENUS_Y_STRIDE()
867 return stride; in VENUS_Y_STRIDE()
879 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local
890 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
894 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE()
[all …]
/device/google/cuttlefish_common/guest/hals/camera/fake-pipeline2/
DSensor.cpp309 i, b.streamId, b.width, b.height, b.format, b.stride, b.buffer, in threadLoop()
314 captureRaw(b.img, gain, b.stride); in threadLoop()
318 captureRGB(b.img, gain, b.stride); in threadLoop()
321 captureRGBA(b.img, gain, b.stride); in threadLoop()
335 bAux.stride = b.width; in threadLoop()
348 captureNV21(b.img, gain, b.stride); in threadLoop()
355 captureDepth(b.img, gain, b.stride); in threadLoop()
384 void Sensor::captureRaw(uint8_t *img, uint32_t gain, uint32_t stride) { in captureRaw() argument
394 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
[all …]
DSensor.h234 void captureRaw(uint8_t *img, uint32_t gain, uint32_t stride);
235 void captureRGBA(uint8_t *img, uint32_t gain, uint32_t stride);
236 void captureRGB(uint8_t *img, uint32_t gain, uint32_t stride);
237 void captureNV21(uint8_t *img, uint32_t gain, uint32_t stride);
238 void captureDepth(uint8_t *img, uint32_t gain, uint32_t stride);
DBase.h44 uint32_t stride; member
54 uint32_t stride; member
61 uint32_t stride; member
/device/google/marlin/camera/QCamera2/stack/mm-lib2d-interface/test/
Dmm_lib2d_test.c113 int32_t stride; member
142 int height, int stride, char *fname) in lib2d_dump_tga() argument
162 pd[(i*stride>>2)+j] & 0xff, // b in lib2d_dump_tga()
163 (pd[(i*stride>>2)+j] >> 8) & 0xff, // g in lib2d_dump_tga()
164 (pd[(i*stride>>2)+j] >> 16) & 0xff, // r in lib2d_dump_tga()
165 (pd[(i*stride>>2)+j] >> 24) & 0xff); // a in lib2d_dump_tga()
332 int32_t stride = 0; in main() local
408 input_yuv_stride = input_nv21[index].stride; in main()
420 filename, filename_in, width, height, stride); in main()
447 stride = width * 4; in main()
[all …]
/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferallocation.cpp106 int stride; in get_rgb_stride_and_size() local
108 stride = width * pixel_size; in get_rgb_stride_and_size()
112 stride = GRALLOC_ALIGN(stride, 64); in get_rgb_stride_and_size()
116 *size = stride *height; in get_rgb_stride_and_size()
121 *byte_stride = stride; in get_rgb_stride_and_size()
126 *pixel_stride = stride / pixel_size; in get_rgb_stride_and_size()
162 stride = w_aligned * pixel_size; in get_rgb_stride_and_size()
163 stride = GRALLOC_ALIGN(stride, 64); in get_rgb_stride_and_size()
167 *byte_stride = stride; in get_rgb_stride_and_size()
172 *pixel_stride = stride / pixel_size; in get_rgb_stride_and_size()
[all …]
/device/linaro/hikey/gralloc/
Dalloc_device.cpp451 size_t stride; in alloc_device_alloc() local
467 stride = GRALLOC_ALIGN(w, 16); in alloc_device_alloc()
468 size = GRALLOC_ALIGN(h, 16) * (stride + GRALLOC_ALIGN(stride / 2, 16)); in alloc_device_alloc()
479 stride = GRALLOC_ALIGN(w, (h % 8 == 0) ? GRALLOC_ALIGN_BASE_16 : in alloc_device_alloc()
481 size = GRALLOC_ALIGN(h, 2) * (stride + GRALLOC_ALIGN(stride / 2, 16)); in alloc_device_alloc()
487 stride = GRALLOC_ALIGN(w, 16); in alloc_device_alloc()
488 size = GRALLOC_ALIGN(h, 16) * (stride + GRALLOC_ALIGN(stride / 2, 16)); in alloc_device_alloc()
492 stride = GRALLOC_ALIGN(w, 16); in alloc_device_alloc()
493 size = h * stride * 2; in alloc_device_alloc()
538 stride = 0; /* No 'rows', it's effectively a long one dimensional array */ in alloc_device_alloc()
[all …]
/device/generic/goldfish/camera/fake-pipeline2/
DBase.h40 uint32_t stride; member
50 uint32_t stride; member
57 uint32_t stride; member
/device/generic/goldfish/camera/qemu-pipeline3/
DQemuSensor.cpp276 i, b.streamId, b.width, b.height, b.format, b.stride, in threadLoop()
280 captureRGB(b.img, b.width, b.height, b.stride, &timestamp); in threadLoop()
283 captureRGBA(b.img, b.width, b.height, b.stride, &timestamp); in threadLoop()
298 bAux.stride = b.width; in threadLoop()
306 captureNV21(b.img, b.width, b.height, b.stride, &timestamp); in threadLoop()
345 uint32_t stride, int64_t *timestamp) { in captureRGBA() argument
392 if (width != stride) { in captureRGBA()
394 width, stride); in captureRGBA()
410 void QemuSensor::captureRGB(uint8_t *img, uint32_t width, uint32_t height, uint32_t stride, int64_t… in captureRGB() argument
414 void QemuSensor::captureNV21(uint8_t *img, uint32_t width, uint32_t height, uint32_t stride, int64_… in captureNV21() argument
[all …]
DQemuSensor.h190 uint32_t stride, int64_t *timestamp);
192 uint32_t stride, int64_t *timestamp);
194 uint32_t stride, int64_t *timestamp);
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp277 void GLEncoder::s_glVertexPointer(void *self, int size, GLenum type, GLsizei stride, const void *da… in s_glVertexPointer() argument
281 …ctx->m_state->setVertexAttribState(GLClientState::VERTEX_LOCATION, size, type, false, stride, data… in s_glVertexPointer()
284 void GLEncoder::s_glNormalPointer(void *self, GLenum type, GLsizei stride, const void *data) in s_glNormalPointer() argument
288 … ctx->m_state->setVertexAttribState(GLClientState::NORMAL_LOCATION, 3, type, false, stride, data); in s_glNormalPointer()
291 void GLEncoder::s_glColorPointer(void *self, int size, GLenum type, GLsizei stride, const void *dat… in s_glColorPointer() argument
295 …ctx->m_state->setVertexAttribState(GLClientState::COLOR_LOCATION, size, type, false, stride, data); in s_glColorPointer()
298 void GLEncoder::s_glPointSizePointerOES(void *self, GLenum type, GLsizei stride, const void *data) in s_glPointSizePointerOES() argument
302 …ctx->m_state->setVertexAttribState(GLClientState::POINTSIZE_LOCATION, 1, type, false, stride, data… in s_glPointSizePointerOES()
312 void GLEncoder::s_glTexCoordPointer(void *self, int size, GLenum type, GLsizei stride, const void *… in s_glTexCoordPointer() argument
317 ctx->m_state->setVertexAttribState(loc, size, type, false, stride, data); in s_glTexCoordPointer()
[all …]
Dgl_entry.cpp61 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
118 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid* pointer);
137 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
149 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
151 void glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid* pointer);
152 void glVertexPointerOffset(GLint size, GLenum type, GLsizei stride, GLuint offset);
153 void glColorPointerOffset(GLint size, GLenum type, GLsizei stride, GLuint offset);
154 void glNormalPointerOffset(GLenum type, GLsizei stride, GLuint offset);
155 void glPointSizePointerOffset(GLenum type, GLsizei stride, GLuint offset);
156 void glTexCoordPointerOffset(GLint size, GLenum type, GLsizei stride, GLuint offset);
[all …]
DGLEncoder.h123 …static void s_glVertexPointer(void *self, int size, GLenum type, GLsizei stride, const void *data);
124 static void s_glNormalPointer(void *self, GLenum type, GLsizei stride, const void *data);
125 … static void s_glColorPointer(void *self, int size, GLenum type, GLsizei stride, const void *data);
126 static void s_glPointSizePointerOES(void *self, GLenum type, GLsizei stride, const void *data);
128 …static void s_glTexCoordPointer(void *self, int size, GLenum type, GLsizei stride, const void *dat…
129 …static void s_glMatrixIndexPointerOES(void *self, int size, GLenum type, GLsizei stride, const voi…
130 …static void s_glWeightPointerOES(void *self, int size, GLenum type, GLsizei stride, const void * d…
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DglUtils.cpp427 int size, GLenum type, unsigned int stride, in glUtilsPackPointerData() argument
440 if (stride == 0) stride = vsize; in glUtilsPackPointerData()
442 if (stride == vsize) { in glUtilsPackPointerData()
448 src += stride; in glUtilsPackPointerData()
454 int size, GLenum type, unsigned int stride, in glUtilsWritePackPointerData() argument
460 if (stride == 0) stride = vsize; in glUtilsWritePackPointerData()
462 if (stride == vsize) { in glUtilsWritePackPointerData()
467 src += stride; in glUtilsWritePackPointerData()
/device/google/cuttlefish_common/guest/libs/eglwrapper/
Dgles1_wrapper_entry.cpp61 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
118 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid* pointer);
137 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
149 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
151 void glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid* pointer);
152 void glVertexPointerOffset(GLint size, GLenum type, GLsizei stride, GLuint offset);
153 void glColorPointerOffset(GLint size, GLenum type, GLsizei stride, GLuint offset);
154 void glNormalPointerOffset(GLenum type, GLsizei stride, GLuint offset);
155 void glPointSizePointerOffset(GLenum type, GLsizei stride, GLuint offset);
156 void glTexCoordPointerOffset(GLint size, GLenum type, GLsizei stride, GLuint offset);
[all …]
/device/google/cuttlefish_common/host/frontend/vnc_server/
Djpeg_compressor.cpp46 int stride) { in Compress() argument
58 &frame[(y * stride) + in Compress()
59 (cinfo.next_scanline * stride) + in Compress()
/device/generic/goldfish-opengl/system/include/ETC1/
Detc1.h68 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut);
80 etc1_uint32 pixelSize, etc1_uint32 stride);
/device/generic/goldfish-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))

123456