Home
last modified time | relevance | path

Searched refs:yStride (Results 1 – 23 of 23) sorted by relevance

/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DGrallocBufferBase.cpp45 int yStride, uvStride; in initStride() local
55 yStride = align_to(align_to(mWidth, 32), yStride_align); in initStride()
59 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
61 uvStride = align_to(yStride >> 1, 64); in initStride()
62 mStride.yuv.yStride = yStride; in initStride()
66 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
67 uvStride = yStride; in initStride()
68 mStride.yuv.yStride = yStride; in initStride()
73 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
74 uvStride = yStride; in initStride()
[all …]
DOverlayPlaneBase.cpp345 uint32_t yStride, uvStride; in getTTMMapper() local
386 yStride = align_to(align_to(w, 32), yStride_align); in getTTMMapper()
390 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
392 uvStride = align_to(yStride >> 1, 64); in getTTMMapper()
393 stride.yuv.yStride = yStride; in getTTMMapper()
397 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
398 uvStride = yStride; in getTTMMapper()
399 stride.yuv.yStride = yStride; in getTTMMapper()
404 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
405 uvStride = yStride; in getTTMMapper()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DGrallocBufferBase.cpp44 int yStride, uvStride; in initStride() local
54 yStride = align_to(align_to(mWidth, 32), yStride_align); in initStride()
58 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
60 uvStride = align_to(yStride >> 1, 64); in initStride()
61 mStride.yuv.yStride = yStride; in initStride()
65 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
66 uvStride = yStride; in initStride()
67 mStride.yuv.yStride = yStride; in initStride()
72 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
73 uvStride = yStride; in initStride()
[all …]
DOverlayPlaneBase.cpp349 uint32_t yStride, uvStride; in getTTMMapper() local
402 yStride = align_to(align_to(w, 32), yStride_align); in getTTMMapper()
406 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
408 uvStride = align_to(yStride >> 1, 64); in getTTMMapper()
409 stride.yuv.yStride = yStride; in getTTMMapper()
413 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
414 uvStride = yStride; in getTTMMapper()
415 stride.yuv.yStride = yStride; in getTTMMapper()
421 stride.yuv.yStride = payload->scaling_luma_stride; in getTTMMapper()
424 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
[all …]
DPlaneCapabilities.cpp128 if (stride.yuv.yStride > maxStride) { in isSizeSupported()
129 VTRACE("stride %d is too large", stride.yuv.yStride); in isSizeSupported()
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnOverlayPlane.cpp170 uint32_t yStride = mapper.getStride().yuv.yStride; in bufferOffsetSetup() local
199 vSurface = ySurface + yStride * h; in bufferOffsetSetup()
210 uSurface = ySurface + yStride * h; in bufferOffsetSetup()
223 backBuffer->OBUF_0U = yStride * h; in bufferOffsetSetup()
235 uSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
236 vSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
246 uSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
247 vSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
289 backBuffer->OBUF_0Y += srcY * yStride + srcX; in bufferOffsetSetup()
DPlaneCapabilities.cpp130 if (stride.yuv.yStride > maxStride) { in isSizeSupported()
131 VTRACE("stride %d is too large", stride.yuv.yStride); in isSizeSupported()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnOverlayPlane.cpp191 uint32_t yStride = mapper.getStride().yuv.yStride; in bufferOffsetSetup() local
219 vSurface = ySurface + yStride * h; in bufferOffsetSetup()
230 uSurface = ySurface + yStride * h; in bufferOffsetSetup()
243 backBuffer->OBUF_0U = yStride * h; in bufferOffsetSetup()
255 uSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
256 vSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
266 uSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
267 vSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
309 backBuffer->OBUF_0Y += srcY * yStride + srcX; in bufferOffsetSetup()
DPlaneCapabilities.cpp125 if (stride.yuv.yStride > maxStride) { in isSizeSupported()
126 VLOGTRACE("stride %d is too large", stride.yuv.yStride); in isSizeSupported()
/hardware/ti/omap4xxx/camera/
DAppCallbackNotifier.cpp455 int &yStride, in alignYV12() argument
461 yStride = ( width + 0xF ) & ~0xF; in alignYV12()
462 uvStride = ( yStride / 2 + 0xF ) & ~0xF; in alignYV12()
463 ySize = yStride * height; in alignYV12()
617 int yStride, uvStride, ySize, uvSize, size; in copy2Dto1D() local
618 alignYV12(width, height, yStride, uvStride, ySize, uvSize, size); in copy2Dto1D()
1484 int yStride, uvStride, ySize, uvSize; in startPreviewCallbacks() local
1485 alignYV12(w, h, yStride, uvStride, ySize, uvSize, size); in startPreviewCallbacks()
/hardware/intel/img/hwcomposer/merrifield/include/
DDataBuffer.h38 uint32_t yStride; member
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DDataBuffer.h38 uint32_t yStride; member
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMdssRot.cpp293 int yStride = (64 * 4 * yRauCount) + alignup(yRauCount, 8) / 8; in calcCompressedBufSize() local
297 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayMdssRot.cpp317 int yStride = (64 * 4 * yRauCount) + alignup(yRauCount, 8) / 8; in calcCompressedBufSize() local
321 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
/hardware/ti/omap4-aah/camera/
DAppCallbackNotifier.cpp467 size_t &yStride, in alignYV12() argument
473 yStride = ( width + 0xF ) & ~0xF; in alignYV12()
474 uvStride = ( yStride / 2 + 0xF ) & ~0xF; in alignYV12()
475 ySize = yStride * height; in alignYV12()
629 size_t yStride, uvStride, ySize, uvSize, size; in copy2Dto1D() local
630 alignYV12(width, height, yStride, uvStride, ySize, uvSize, size); in copy2Dto1D()
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngOverlayPlane.cpp145 mapper.getStride().yuv.yStride, in rotatedBufferReady()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayMdssRot.cpp354 int yStride = (64 * 4 * yRauCount) + alignup(yRauCount, 8) / 8; in calcCompressedBufSize() local
358 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp645 int32_t yStride = 0; in sendPreviewCallback() local
686 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
694 (yStride * yScanline + uStride * uScanline + vStride * vScanline); in sendPreviewCallback()
697 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
711 ((yStride * yScanline) + (uvStride * uvScanline)); in sendPreviewCallback()
731 srcOffset = i * yStride; in sendPreviewCallback()
739 srcBaseOffset = yStride * yScanline; in sendPreviewCallback()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit_c2d.cpp180 int yStride; //luma stride member
457 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
465 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
565 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit_c2d.cpp180 int yStride; //luma stride member
467 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
475 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
575 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
/hardware/qcom/display/msm8974/libcopybit/
Dcopybit_c2d.cpp182 int yStride; //luma stride member
468 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
476 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
576 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit_c2d.cpp180 int yStride; //luma stride member
473 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
481 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
581 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit_c2d.cpp179 int yStride; //luma stride member
476 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
484 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
584 surfaceDef.stride0 = yuvInfo.yStride; in set_image()