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

12

/hardware/libhardware/include/hardware/
H A Dfb.h48 /* frambuffer stride in pixels */
49 const int stride; member in struct:framebuffer_device_t
/hardware/ti/omap4xxx/ion/
H A Domap_ion.h30 size_t stride; member in struct:omap_ion_tiler_alloc_data
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/qcom/display/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);
H A Dc2d2.h317 int32 stride; /* defines stride in bytes, negative stride is allowed */ member in struct:__anon404
327 int32 stride0; /* stride in bytes if YUV format is not planar */
330 int32 stride1; /* stride for UV or VU plane for planar interleaved */
333 int32 stride2; /* stride for the 3. plane, ignored if YUV format is not planar */
467 * one or all plane and stride fields in definition structure
473 * all plane and stride fields in definition structure are ignored */
509 * be configured in surface_definition using width, height and stride.
524 * be configured in surface_definition using width, height and stride
[all...]
/hardware/qcom/media/libc2dcolorconvert/
H A DC2DColorConverter.h83 int32_t stride; member in struct:android::__anon460
H A DC2DColorConverter.cpp300 printf("half stride for Cb Cr planes \n");
316 surfaceDef->stride = calcStride(format, width);
528 req->stride = calcStride(mSrcFormat, mSrcWidth);
538 req->stride = calcStride(mDstFormat, mDstWidth);
576 size_t stride, sliceHeight; local
593 stride = dstSurfaceDef->stride0;
599 base += stride;
607 stride = dstSurfaceDef->stride1;
611 base += stride;
616 stride
[all...]
/hardware/libhardware/modules/gralloc/
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/libhardware/tests/camera2/
H A DCameraBurstTests.cpp95 size_t stride = imgBuffer.stride; local
105 const uint8_t p = buf[y * stride + x];
/hardware/msm7k/libgralloc/
H A Dframebuffer.cpp355 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); local
359 const_cast<int&>(dev->device.stride) = stride;
/hardware/msm7k/libgralloc-qsd8k/
H A Dframebuffer.cpp391 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); local
395 const_cast<int&>(dev->device.stride) = stride;
/hardware/qcom/display/libgralloc/
H A Dalloc_controller.cpp105 int stride = ALIGN(width, 32); local
126 // 32 pixels, hence we pass stride instead of width.
127 stride = LINK_adreno_compute_padding(stride, bpp,
136 stride = ALIGN(width, 32);
139 stride = ALIGN(width, 128);
147 stride = ALIGN(width, 16);
150 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width);
153 stride = width;
158 return stride;
[all...]
H A Dframebuffer.cpp383 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); local
387 const_cast<int&>(dev->device.stride) = stride;
H A Dmapper.cpp364 int *stride = va_arg(args, int *); local
365 *stride = AdrenoMemInfo::getInstance().getStride(width, format);
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Android.cpp173 *pStride = pANB->stride;
208 OMX_U32 stride; local
250 &stride, planes);
/hardware/samsung_slsi/exynos5/gralloc/
H A Dframebuffer.cpp259 int stride = m->line_length / (bits_per_pixel >> 3); local
263 const_cast<int&>(dev->stride) = stride;
H A Dgralloc.cpp135 unsigned int ion_flags, private_handle_t **hnd, int *stride)
157 *stride = w;
172 *stride = bpr / bpp;
183 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride,
191 private_handle_t **hnd, int *stride)
199 *stride = ALIGN(w, 16);
200 size = (*stride * h) + (ALIGN(*stride / 2, 16) * h);
203 *stride = w;
204 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
189 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
219 gralloc_alloc_yuv(int ionfd, int w, int h, int format, int usage, unsigned int ion_flags, private_handle_t **hnd, int *stride) argument
326 int stride; local
[all...]
/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::__anon818::__anon819
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
H A Ds3c-fb.h70 __u32 stride; member in struct:s3c_fb_win_config::__anon1234::__anon1235
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
H A DExynos_OMX_Vdec.c289 OMX_U32 stride; local
290 Exynos_OSAL_LockANB(pOutputBuf, width, height, exynosOutputPort->portDefinition.format.video.eColorFormat, &stride, planes);
291 width = stride;
H A DExynos_OMX_VdecControl.c1525 OMX_U32 stride; local
1530 Exynos_OSAL_LockANB(pUseBuffer->bufferHeader->pBuffer, width, height, pExynosPort->portDefinition.format.video.eColorFormat, &stride, planes);
/hardware/ti/omap4xxx/camera/
H A DANativeWindowDisplayAdapter.cpp604 int stride; // dummy variable to get stride local
605 // TODO(XXX): Do we need to keep stride information in camera hal?
607 err = mANativeWindow->dequeue_buffer(mANativeWindow, (buffer_handle_t**) &hndl2hndl, &stride);
1163 int stride; // dummy variable to get stride local
1168 // TODO(XXX): Do we need to keep stride information in camera hal?
1174 err = mANativeWindow->dequeue_buffer(mANativeWindow, &buf, &stride);
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...]
/hardware/qcom/display/libhwcomposer/
H A Dhwc_utils.h76 uint32_t stride; member in struct:qhwc::DisplayAttributes

Completed in 363 milliseconds

12