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.cpp55 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()
66 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
73 yStride = align_to(align_to(mWidth, 32), 64); in initStride()
80 yStride = align_to((align_to(mWidth, 32) << 1), 64); in initStride()
86 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.cpp386 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()
397 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
404 yStride = align_to(align_to(w, 32), 64); in getTTMMapper()
411 yStride = align_to((align_to(w, 32) << 1), 64); in getTTMMapper()
715 backBuffer->OBUF_0U = yStride * align_to(h, 32); in bufferOffsetSetup()
721 backBuffer->OBUF_0U = yStride * align_to(h, 32); in bufferOffsetSetup()
723 backBuffer->OSTART_0U += yStride * align_to(h, 32); in bufferOffsetSetup()
724 backBuffer->OSTART_0V += yStride * align_to(h, 32); in bufferOffsetSetup()
/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.c34 static inline uint32_t align_to(uint32_t arg, uint32_t align) in align_to() function
161 ATRACE("size %d", align_to(size, 4096)); in psbWsbmAllocateFromUB()
179 align_to(size, 4096), NULL, NULL, 0, in psbWsbmAllocateFromUB()
200 ATRACE("size %d", align_to(size, 4096)); in psbWsbmAllocateTTMBuffer()
217 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.cpp59 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.cpp255 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()
/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/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/common/devices/
DVirtualDevice.cpp51 return align_to(val, 64); in align_width()
56 return align_to(val, 16); in align_height()