Home
last modified time | relevance | path

Searched refs:align_to (Results 1 – 15 of 15) sorted by relevance

/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DGrallocBufferBase.cpp56 yStride = align_to(align_to(mWidth, 32), yStride_align); in initStride()
60 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
62 uvStride = align_to(yStride >> 1, 64); in initStride()
67 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
74 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
81 yStride = align_to((align_to(mWidth, 32) << 1), 64); in initStride()
87 mStride.rgb.stride = align_to(((mBpp >> 3) * align_to(mWidth, 32)), 64); in initStride()
DWsbmWrapper.c36 static inline uint32_t align_to(uint32_t arg, uint32_t align) in align_to() function
162 ALOGTRACE("size %d", align_to(size, 4096)); in psbWsbmAllocateFromUB()
180 align_to(size, 4096), NULL, NULL, 0, in psbWsbmAllocateFromUB()
200 ALOGTRACE("size %d", align_to(size, 4096)); in psbWsbmAllocateTTMBuffer()
217 ret = wsbmBOData(wsbmBuf, align_to(size, 4096), NULL, NULL, 0); in psbWsbmAllocateTTMBuffer()
DOverlayPlaneBase.cpp387 yStride = align_to(align_to(w, 32), yStride_align); in getTTMMapper()
391 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
393 uvStride = align_to(yStride >> 1, 64); in getTTMMapper()
398 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
405 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
412 yStride = align_to((align_to(w, 32) << 1), 64); in getTTMMapper()
702 backBuffer->OBUF_0V = yStride * align_to(h, 32); in bufferOffsetSetup()
703 backBuffer->OBUF_0U = backBuffer->OBUF_0V + (uvStride * (align_to(h, 32) / 2)); in bufferOffsetSetup()
722 backBuffer->OBUF_0U = yStride * align_to(h, 32); in bufferOffsetSetup()
728 backBuffer->OBUF_0U = yStride * align_to(h, 32); in bufferOffsetSetup()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DGrallocBufferBase.cpp54 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()
65 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
72 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
79 yStride = align_to((align_to(mWidth, 32) << 1), 64); in initStride()
85 mStride.rgb.stride = align_to(((mBpp >> 3) * align_to(mWidth, 32)), 64); in initStride()
DWsbmWrapper.c35 static inline uint32_t align_to(uint32_t arg, uint32_t align) in align_to() function
162 ATRACE("size %d", align_to(size, 4096)); in psbWsbmAllocateFromUB()
180 align_to(size, 4096), NULL, NULL, 0, in psbWsbmAllocateFromUB()
201 ATRACE("size %d", align_to(size, 4096)); in psbWsbmAllocateTTMBuffer()
218 ret = wsbmBOData(wsbmBuf, align_to(size, 4096), NULL, NULL, 0); in psbWsbmAllocateTTMBuffer()
DOverlayPlaneBase.cpp402 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()
413 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
424 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
432 yStride = align_to((align_to(w, 32) << 1), 64); in getTTMMapper()
743 backBuffer->OBUF_0U = yStride * align_to(h, 32); in bufferOffsetSetup()
749 backBuffer->OBUF_0U = yStride * align_to(h, 32); in bufferOffsetSetup()
751 backBuffer->OSTART_0U += yStride * align_to(h, 32); in bufferOffsetSetup()
752 backBuffer->OSTART_0V += yStride * align_to(h, 32); in bufferOffsetSetup()
DVideoPayloadManager.cpp67 metadata->scalingBuffer.bufWidth = align_to(p->scaling_width, 32); in getMetaData()
68 metadata->scalingBuffer.bufHeight = align_to(p->scaling_height, 32); in getMetaData()
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnRGBPlane.cpp162 mContext.ctx.sp_ctx.stride = align_to(srcW, 32) * 4; in setDataBuffer()
163 mContext.ctx.sp_ctx.linoff = (align_to(srcW, 32) * srcH / 64) - 1; in setDataBuffer()
284 stride = align_to((4 * align_to(mPosition.w, 32)), 64); in setFramebufferTarget()
DAnnOverlayPlane.cpp235 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()
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngPrimaryPlane.cpp58 mContext.ctx.prim_ctx.stride = align_to((4 * align_to(mPosition.w, 32)), 64); in setFramebufferTarget()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnRGBPlane.cpp221 mContext.ctx.sp_ctx.stride = align_to(srcW, 32) * 4; in setDataBuffer()
222 mContext.ctx.sp_ctx.linoff = (align_to(srcW, 32) * srcH / 64) - 1; in setDataBuffer()
342 stride = align_to((4 * align_to(mPosition.w, 32)), 64); in setFramebufferTarget()
DAnnOverlayPlane.cpp230 vSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
231 uSurface = vSurface + uvStride * (align_to(h, 32) / 2); in bufferOffsetSetup()
266 uSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
267 vSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
277 uSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
278 vSurface = ySurface + yStride * align_to(h, 32); in bufferOffsetSetup()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DDataBuffer.h106 static inline uint32_t align_to(uint32_t arg, uint32_t align) in align_to() function
/hardware/intel/img/hwcomposer/merrifield/include/
DDataBuffer.h106 static inline uint32_t align_to(uint32_t arg, uint32_t align) in align_to() function
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DVirtualDevice.cpp51 return align_to(val, 64); in align_width()
56 return align_to(val, 16); in align_height()