Home
last modified time | relevance | path

Searched refs:pixel_align (Results 1 – 6 of 6) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosLayer.cpp286 …mPreprocessedInfo.sourceCrop.left = pixel_align((int)mPreprocessedInfo.sourceCrop.left, srcCropXAl… in doPreProcess()
287 …mPreprocessedInfo.sourceCrop.top = pixel_align((int)mPreprocessedInfo.sourceCrop.top, srcCropYAlig… in doPreProcess()
309 pixel_align(WIDTH(mDisplayFrame), cropWidthAlign); in doPreProcess()
311 pixel_align(HEIGHT(mDisplayFrame), cropHeightAlign); in doPreProcess()
315 pixel_align(WIDTH(mPreprocessedInfo.displayFrame), cropWidthAlign); in doPreProcess()
333 pixel_align(WIDTH(mDisplayFrame), minDstWidth); in doPreProcess()
337 pixel_align(WIDTH(mPreprocessedInfo.displayFrame), minDstWidth); in doPreProcess()
346 pixel_align(HEIGHT(mDisplayFrame), minDstHeight); in doPreProcess()
350 pixel_align(HEIGHT(mPreprocessedInfo.displayFrame), minDstHeight); in doPreProcess()
DExynosDisplay.cpp2172 cfg.src.x = pixel_align(cfg.src.x, srcXAlign); in configureHandle()
2173 cfg.src.y = pixel_align(cfg.src.y, srcYAlign); in configureHandle()
2264 config.src.f_w = pixel_align(mXres, G2D_JUSTIFIED_DST_ALIGN); in configureOverlay()
2265 config.src.f_h = pixel_align(mYres, G2D_JUSTIFIED_DST_ALIGN); in configureOverlay()
2350 config.src.w = pixel_align(config.src.w, srcWidthAlign); in configureOverlay()
2351 config.src.h = pixel_align(config.src.h, srcHeightAlign); in configureOverlay()
/hardware/google/graphics/zuma/libhwc2.1/libresource/
DExynosResourceManagerModule.cpp302 int32_t width_y = pixel_align(width + kSramSBWCRotWidthAlign, kSramSBWCRotWidthAlign); in calculateHWResourceAmount()
304 pixel_align(width / 2 + kSramSBWCRotWidthAlign, kSramSBWCRotWidthAlign); in calculateHWResourceAmount()
316 width = pixel_align(width + kSramSBWCWidthMargin, kSramSBWCWidthAlign); in calculateHWResourceAmount()
320 width = pixel_align(width + kSramAFBC8B4BMargin, kSramAFBC8B4BAlign); in calculateHWResourceAmount()
323 width = pixel_align(width + kSramAFBC2BMargin, kSramAFBC2BAlign); in calculateHWResourceAmount()
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosResourceManager.cpp1170 image.w = pixel_align(image.w, widthAlign); in getAlignedImage()
1171 image.h = pixel_align(image.h, heighAlign); in getAlignedImage()
1360 dst_img.w = pixel_align(dst_img.w, srcCropWidthAlign); in getCandidateM2mMPPOutImages()
1361 dst_img.h = pixel_align(dst_img.h, srcCropHeightAlign); in getCandidateM2mMPPOutImages()
DExynosMPP.cpp1065 return pixel_align(dst.fullWidth, getDstStrideAlignment(dst.format)); in getAlignedDstFullWidth()
1400 mAcrylicHandle->setCanvasDimension(pixel_align(mAssignedDisplay->mXres, in setupDst()
1402 pixel_align(mAssignedDisplay->mYres, in setupDst()
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.h511 inline T pixel_align(const T x, const uint32_t a) { in pixel_align() function