/hardware/qcom/display/msm8226/libqdutils/ |
D | qd_utils.cpp | 97 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, in getAspectRatioPosition() argument 101 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 102 srcHeight = destWidth * srcHeight / srcWidth; in getAspectRatioPosition() 103 srcWidth = destWidth; in getAspectRatioPosition() 104 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 105 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 108 srcWidth = destWidth; in getAspectRatioPosition() 111 if (srcWidth > destWidth) srcWidth = destWidth; in getAspectRatioPosition() 113 x = (destWidth - srcWidth) / 2; in getAspectRatioPosition() 116 __FUNCTION__, x, y, srcWidth , srcHeight); in getAspectRatioPosition() [all …]
|
D | qd_utils.h | 51 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | qd_utils.cpp | 96 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, in getAspectRatioPosition() argument 100 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 101 srcHeight = destWidth * srcHeight / srcWidth; in getAspectRatioPosition() 102 srcWidth = destWidth; in getAspectRatioPosition() 103 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 104 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 107 srcWidth = destWidth; in getAspectRatioPosition() 110 if (srcWidth > destWidth) srcWidth = destWidth; in getAspectRatioPosition() 112 x = (destWidth - srcWidth) / 2; in getAspectRatioPosition() 115 __FUNCTION__, x, y, srcWidth , srcHeight); in getAspectRatioPosition() [all …]
|
D | qd_utils.h | 59 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
|
/hardware/qcom/display/msm8909/libqdutils/ |
D | qd_utils.cpp | 110 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, in getAspectRatioPosition() argument 114 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 115 srcHeight = destWidth * srcHeight / srcWidth; in getAspectRatioPosition() 116 srcWidth = destWidth; in getAspectRatioPosition() 117 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 118 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 121 srcWidth = destWidth; in getAspectRatioPosition() 124 if (srcWidth > destWidth) srcWidth = destWidth; in getAspectRatioPosition() 126 x = (destWidth - srcWidth) / 2; in getAspectRatioPosition() 129 __FUNCTION__, x, y, srcWidth , srcHeight); in getAspectRatioPosition() [all …]
|
D | qd_utils.h | 59 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
|
/hardware/qcom/media/msm8974/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 57 …C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConve… 112 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dst… in C2DColorConverter() argument 140 mSrcWidth = srcWidth; in C2DColorConverter() 147 mSrcSize = calcSize(srcFormat, srcWidth, srcHeight); in C2DColorConverter() 149 mSrcYSize = calcYSize(srcFormat, srcWidth, srcHeight); in C2DColorConverter() 154 mSrcSurfaceDef = getDummySurfaceDef(srcFormat, srcWidth, srcHeight, true); in C2DColorConverter() 160 mBlit.source_rect.width = srcWidth << 16; in C2DColorConverter() 708 extern "C" C2DColorConverterBase* createC2DColorConverter(size_t srcWidth, size_t srcHeight, size_t… in createC2DColorConverter() argument 710 …return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags… in createC2DColorConverter()
|
D | C2DColorConverter.h | 112 typedef C2DColorConverterBase* createC2DColorConverter_t(size_t srcWidth, size_t srcHeight, size_t …
|
/hardware/qcom/media/msm8998/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 58 …C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConve… 116 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dst… in C2DColorConverter() argument 165 mSrcWidth = srcWidth; in C2DColorConverter() 172 mSrcSize = calcSize(srcFormat, srcWidth, srcHeight); in C2DColorConverter() 174 mSrcYSize = calcYSize(srcFormat, srcWidth, srcHeight); in C2DColorConverter() 179 mSrcSurfaceDef = getDummySurfaceDef(srcFormat, srcWidth, srcHeight, true); in C2DColorConverter() 185 mBlit.source_rect.width = srcWidth << 16; in C2DColorConverter() 770 extern "C" C2DColorConverterBase* createC2DColorConverter(size_t srcWidth, size_t srcHeight, size_t… in createC2DColorConverter() argument 772 …return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags… in createC2DColorConverter()
|
D | C2DColorConverter.h | 116 typedef C2DColorConverterBase* createC2DColorConverter_t(size_t srcWidth, size_t srcHeight, size_t …
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 57 …C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConve… 115 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dst… in C2DColorConverter() argument 162 mSrcWidth = srcWidth; in C2DColorConverter() 169 mSrcSize = calcSize(srcFormat, srcWidth, srcHeight); in C2DColorConverter() 171 mSrcYSize = calcYSize(srcFormat, srcWidth, srcHeight); in C2DColorConverter() 176 mSrcSurfaceDef = getDummySurfaceDef(srcFormat, srcWidth, srcHeight, true); in C2DColorConverter() 182 mBlit.source_rect.width = srcWidth << 16; in C2DColorConverter() 763 extern "C" C2DColorConverterBase* createC2DColorConverter(size_t srcWidth, size_t srcHeight, size_t… in createC2DColorConverter() argument 765 …return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags… in createC2DColorConverter()
|
D | C2DColorConverter.h | 116 typedef C2DColorConverterBase* createC2DColorConverter_t(size_t srcWidth, size_t srcHeight, size_t …
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
D | AnnOverlayPlane.cpp | 358 uint32_t srcWidth = mapper.getCrop().w; in scalingSetup() local 367 srcWidth, srcHeight, in scalingSetup() 376 srcHeight = srcWidth; in scalingSetup() 377 srcWidth = tmp; in scalingSetup() 381 if (srcWidth == dstWidth && srcHeight == dstHeight) { in scalingSetup() 385 xscaleFract = ((srcWidth - 1) << 12) / dstWidth; in scalingSetup()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
D | AnnOverlayPlane.cpp | 413 uint32_t srcWidth = mapper.getCrop().w; in scalingSetup() local 423 srcWidth, srcHeight, in scalingSetup() 440 srcHeight = srcWidth; in scalingSetup() 441 srcWidth = tmp; in scalingSetup() 449 if (srcWidth == dstWidth && srcHeight == dstHeight) { in scalingSetup() 453 xscaleFract = ((srcWidth - 1) << 12) / dstWidth; in scalingSetup()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 436 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, in getAspectRatioPosition() argument 440 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 441 srcHeight = destWidth * srcHeight / srcWidth; in getAspectRatioPosition() 442 srcWidth = destWidth; in getAspectRatioPosition() 443 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 444 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 447 srcWidth = destWidth; in getAspectRatioPosition() 450 if (srcWidth > destWidth) srcWidth = destWidth; in getAspectRatioPosition() 452 x = (destWidth - srcWidth) / 2; in getAspectRatioPosition() 455 __FUNCTION__, x, y, srcWidth , srcHeight); in getAspectRatioPosition() [all …]
|
D | hwc_utils.h | 281 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
|
/hardware/intel/common/utils/ISV/include/ |
D | isv_worker.h | 71 uint32_t srcWidth; member
|
/hardware/intel/common/utils/ISV/base/ |
D | isv_worker.cpp | 341 mFilterParam.srcWidth = filterParam->srcWidth; in configFilters() 771 src_region.width = mFilterParam.srcWidth; in process() 931 …ret = writeNV12(mFilterParam.srcWidth, mFilterParam.srcHeight, data_ptr, image.pitches[0], image.p… in dumpYUVFrameData()
|
D | isv_processor.cpp | 72 mFilterParam.srcWidth = mFilterParam.dstWidth = width; in ISVProcessor() 103 if (STATUS_OK != mISVWorker->init(mFilterParam.srcWidth, mFilterParam.srcHeight)) in start()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
D | OverlayPlaneBase.cpp | 1011 uint32_t srcWidth = mapper.getCrop().w; in scalingSetup() local 1017 srcWidth, srcHeight, in scalingSetup() 1021 if (srcWidth == dstWidth && srcHeight == dstHeight) { in scalingSetup() 1025 xscaleFract = ((srcWidth - 1) << 12) / dstWidth; in scalingSetup()
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
D | OverlayPlaneBase.cpp | 1031 uint32_t srcWidth = mapper.getCrop().w; in scalingSetup() local 1040 srcWidth, srcHeight, in scalingSetup() 1044 if (srcWidth == dstWidth && srcHeight == dstHeight) { in scalingSetup() 1048 xscaleFract = ((srcWidth - 1) << 12) / dstWidth; in scalingSetup()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 595 int srcWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in calcExtDisplayPosition() local 598 swap(srcWidth, srcHeight); in calcExtDisplayPosition() 600 getAspectRatioPosition(dstWidth, dstHeight, srcWidth, in calcExtDisplayPosition()
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
D | hwc_utils.cpp | 828 int srcWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in calcExtDisplayPosition() local 831 swap(srcWidth, srcHeight); in calcExtDisplayPosition() 833 qdutils::getAspectRatioPosition(dstWidth, dstHeight, srcWidth, in calcExtDisplayPosition()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 761 int srcWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in calcExtDisplayPosition() local 764 swap(srcWidth, srcHeight); in calcExtDisplayPosition() 766 qdutils::getAspectRatioPosition(dstWidth, dstHeight, srcWidth, in calcExtDisplayPosition()
|