Searched refs:stride (Results 1 - 25 of 83) sorted by relevance

1234

/hardware/ti/omap4xxx/ion/
H A Domap_ion.h30 size_t stride; member in struct:omap_ion_tiler_alloc_data
H A Dion.h29 struct ion_handle **handle, size_t *stride);
H A Dion.c76 struct ion_handle **handle, size_t *stride)
94 *stride = alloc_data.stride;
75 ion_alloc_tiler(int fd, size_t w, size_t h, int fmt, unsigned int flags, struct ion_handle **handle, size_t *stride) argument
/hardware/samsung_slsi/exynos5/include/
H A Dgralloc_priv.h90 int stride; member in struct:private_handle_t
110 int h, int format, int stride, int vstride) :
112 offset(0), format(format), width(w), height(h), stride(stride),
122 int h, int format, int stride, int vstride) :
124 offset(0), format(format), width(w), height(h), stride(stride),
134 int h, int format, int stride, int vstride) :
136 offset(0), format(format), width(w), height(h), stride(stride),
109 private_handle_t(int fd, int size, int flags, int w, int h, int format, int stride, int vstride) argument
121 private_handle_t(int fd, int fd1, int size, int flags, int w, int h, int format, int stride, int vstride) argument
133 private_handle_t(int fd, int fd1, int fd2, int size, int flags, int w, int h, int format, int stride, int vstride) argument
[all...]
H A Ds3c-fb.h77 __u32 stride; member in struct:s3c_fb_win_config::__anon1471::__anon1472
/hardware/samsung_slsi/exynos5/gralloc/
H A Dgralloc.cpp135 unsigned int ion_flags, private_handle_t **hnd, int *stride)
170 *stride = w;
185 *stride = bpr / bpp;
196 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride,
204 private_handle_t **hnd, int *stride)
212 *stride = ALIGN(w, 16);
213 size = (*stride * h) + (ALIGN(*stride / 2, 16) * h);
216 *stride = w;
217 size = *stride *
134 gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage, unsigned int ion_flags, private_handle_t **hnd, int *stride) argument
202 gralloc_alloc_framework_yuv(int ionfd, int w, int h, int format, int usage, unsigned int ion_flags, private_handle_t **hnd, int *stride) argument
232 gralloc_alloc_yuv(int ionfd, int w, int h, int format, int usage, unsigned int ion_flags, private_handle_t **hnd, int *stride) argument
339 int stride; local
[all...]
H A Dmapper.cpp51 hnd->width, hnd->height, hnd->stride);
68 hnd->width, hnd->height, hnd->stride);
108 hnd->width, hnd->height, hnd->stride);
136 hnd->width, hnd->height, hnd->stride);
H A Dframebuffer.cpp259 int stride = m->line_length / (bits_per_pixel >> 3); local
263 const_cast<int&>(dev->stride) = stride;
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_stream.c1662 int stride = 0, scanline = 0; local
1670 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
1673 buf_planes->plane_info.mp[0].len = stride * scanline;
1676 buf_planes->plane_info.mp[0].stride = stride;
1679 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
1683 stride * scanline;
1686 buf_planes->plane_info.mp[1].stride = stride;
1698 stride
1822 int stride = 0, scanline = 0; local
1974 int stride = 0; local
2169 int stride = 0, scanline = 0; local
2200 int stride = 0, scanline = 0; local
[all...]
/hardware/qcom/display/msm8974/libgralloc/
H A Dalloc_controller.cpp105 int stride = ALIGN(width, 32); local
114 return stride;
133 // 32 pixels, hence we pass stride instead of width.
134 stride = LINK_adreno_compute_padding(stride, bpp,
143 stride = ALIGN(width, 32);
146 stride = ALIGN(width, 128);
153 stride = ALIGN(width, 16);
157 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width);
160 stride
[all...]
H A Dmapper.cpp367 int *stride = va_arg(args, int *); local
368 *stride = AdrenoMemInfo::getInstance().getStride(width, format);
374 int *stride = va_arg(args, int *); local
380 *stride = metadata->bufferDim.sliceWidth;
382 *stride = hnd->width;
/hardware/qcom/display/msm8960/libgralloc/
H A Dalloc_controller.cpp105 int stride = ALIGN(width, 32); local
124 // 32 pixels, hence we pass stride instead of width.
125 stride = LINK_adreno_compute_padding(stride, bpp,
134 stride = ALIGN(width, 32);
137 stride = ALIGN(width, 128);
145 stride = ALIGN(width, 16);
148 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width);
151 stride = width;
156 return stride;
[all...]
H A Dmapper.cpp364 int *stride = va_arg(args, int *); local
365 *stride = AdrenoMemInfo::getInstance().getStride(width, format);
371 int *stride = va_arg(args, int *); local
377 *stride = metadata->bufferDim.sliceWidth;
379 *stride = hnd->width;
/hardware/qcom/display/msm8x26/libgralloc/
H A Dalloc_controller.cpp105 int stride = ALIGN(width, 32); local
124 // 32 pixels, hence we pass stride instead of width.
125 stride = LINK_adreno_compute_padding(stride, bpp,
134 stride = ALIGN(width, 32);
137 stride = ALIGN(width, 128);
145 stride = ALIGN(width, 16);
148 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width);
151 stride = width;
156 return stride;
[all...]
/hardware/libhardware/tests/camera2/
H A DCameraStreamFixture.h201 uint32_t stride; local
207 stride = img.stride;
214 stride = img.width;
221 stride = img.stride;
224 dataCr = img.data + img.stride * img.height;
239 reinterpret_cast<const char*>(img.data + stride * y),
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
H A Ds3c-fb.h70 __u32 stride; member in struct:s3c_fb_win_config::__anon1887::__anon1888
/hardware/qcom/media/libc2dcolorconvert/
H A DC2DColorConverter.cpp292 printf("half stride for Cb Cr planes \n");
308 surfaceDef->stride = calcStride(format, width);
531 req->stride = calcStride(mSrcFormat, mSrcWidth);
541 req->stride = calcStride(mDstFormat, mDstWidth);
582 size_t stride, sliceHeight; local
599 stride = dstSurfaceDef->stride0;
605 base += stride;
613 stride = dstSurfaceDef->stride1;
617 base += stride;
622 stride
[all...]
H A DC2DColorConverter.h86 int32_t stride; member in struct:android::__anon960
/hardware/libhardware/include/hardware/
H A Dfb.h48 /* frambuffer stride in pixels */
49 const int stride; member in struct:framebuffer_device_t
/hardware/libhardware/modules/gralloc/
H A Dgralloc.cpp206 size_t size, stride;
228 stride = bpr / bpp;
241 *pStride = stride;
H A Dframebuffer.cpp331 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); local
338 const_cast<int&>(dev->device.stride) = stride;
/hardware/qcom/display/msm8960/libcopybit/
H A Dsoftware_converter.cpp48 // In a copybit_image_t, w is the stride and
49 // stride - horiz_padding is the actual width
50 // vertical stride is the same as height, so not considered
51 unsigned int stride = src->w; local
54 unsigned int y_size = stride * src->h;
55 unsigned int c_width = ALIGN(stride/2, 16);
/hardware/qcom/display/msm8974/libcopybit/
H A Dsoftware_converter.cpp48 // In a copybit_image_t, w is the stride and
49 // stride - horiz_padding is the actual width
50 // vertical stride is the same as height, so not considered
51 unsigned int stride = src->w; local
54 unsigned int y_size = stride * src->h;
55 unsigned int c_width = ALIGN(stride/2, 16);
/hardware/qcom/display/msm8x26/libcopybit/
H A Dsoftware_converter.cpp48 // In a copybit_image_t, w is the stride and
49 // stride - horiz_padding is the actual width
50 // vertical stride is the same as height, so not considered
51 unsigned int stride = src->w; local
54 unsigned int y_size = stride * src->h;
55 unsigned int c_width = ALIGN(stride/2, 16);
/hardware/ti/omap4xxx/camera/
H A DAppCallbackNotifier.cpp472 size_t stride,
492 uint32_t xOff = offset % stride;
493 uint32_t yOff = offset / stride;
494 uint8_t *bufferSrcUV = ((uint8_t*)y_uv[1] + (stride/2)*yOff + xOff);
525 bufferSrcUV += ( stride - width);
530 bufferSrc += ( stride - width);
542 alignedRow = stride-width;
543 int stride_bytes = stride / 8;
544 uint32_t xOff = offset % stride;
545 uint32_t yOff = offset / stride;
468 copy2Dto1D(void *dst, void *src, int width, int height, size_t stride, uint32_t offset, unsigned int bytesPerPixel, size_t length, const char *pixelFormat) argument
[all...]

Completed in 580 milliseconds

1234