/hardware/qcom/display/msm8226/libqdutils/ |
D | qd_utils.cpp | 98 int srcHeight, hwc_rect_t& rect) { in getAspectRatioPosition() argument 101 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 102 srcHeight = destWidth * srcHeight / srcWidth; in getAspectRatioPosition() 104 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 105 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 106 srcHeight = destHeight; in getAspectRatioPosition() 109 srcHeight = destHeight; in getAspectRatioPosition() 112 if (srcHeight > destHeight) srcHeight = destHeight; in getAspectRatioPosition() 114 y = (destHeight - srcHeight) / 2; in getAspectRatioPosition() 116 __FUNCTION__, x, y, srcWidth , srcHeight); in getAspectRatioPosition() [all …]
|
D | qd_utils.h | 52 int srcHeight, hwc_rect_t& rect);
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | qd_utils.cpp | 97 int srcHeight, hwc_rect_t& rect) { in getAspectRatioPosition() argument 100 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 101 srcHeight = destWidth * srcHeight / srcWidth; in getAspectRatioPosition() 103 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 104 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 105 srcHeight = destHeight; in getAspectRatioPosition() 108 srcHeight = destHeight; in getAspectRatioPosition() 111 if (srcHeight > destHeight) srcHeight = destHeight; in getAspectRatioPosition() 113 y = (destHeight - srcHeight) / 2; in getAspectRatioPosition() 115 __FUNCTION__, x, y, srcWidth , srcHeight); in getAspectRatioPosition() [all …]
|
D | qd_utils.h | 60 int srcHeight, hwc_rect_t& rect);
|
/hardware/qcom/display/msm8909/libqdutils/ |
D | qd_utils.cpp | 97 int srcHeight, hwc_rect_t& rect) { in getAspectRatioPosition() argument 100 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 101 srcHeight = destWidth * srcHeight / srcWidth; in getAspectRatioPosition() 103 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 104 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 105 srcHeight = destHeight; in getAspectRatioPosition() 108 srcHeight = destHeight; in getAspectRatioPosition() 111 if (srcHeight > destHeight) srcHeight = destHeight; in getAspectRatioPosition() 113 y = (destHeight - srcHeight) / 2; in getAspectRatioPosition() 115 __FUNCTION__, x, y, srcWidth , srcHeight); in getAspectRatioPosition() [all …]
|
D | qd_utils.h | 60 int srcHeight, hwc_rect_t& rect);
|
/hardware/ti/omap4xxx/libI420colorconvert/ |
D | ColorConvert.cpp | 26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) { in convertDecoderOutputToI420() argument 31 srcWidth * (srcHeight - srcRect.top / 2); in convertDecoderOutputToI420() 66 void* srcBits, int srcWidth, int srcHeight, in convertI420ToEncoderInput() argument 71 for(int i=0; i < srcHeight; i++) { in convertI420ToEncoderInput() 76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight); in convertI420ToEncoderInput() 77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2); in convertI420ToEncoderInput() 80 for(int i=0; i < srcHeight / 2; i++) { in convertI420ToEncoderInput()
|
/hardware/ti/omap4-aah/libI420colorconvert/ |
D | ColorConvert.cpp | 26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) { in convertDecoderOutputToI420() argument 31 srcWidth * (srcHeight - srcRect.top / 2); in convertDecoderOutputToI420() 66 void* srcBits, int srcWidth, int srcHeight, in convertI420ToEncoderInput() argument 71 for(int i=0; i < srcHeight; i++) { in convertI420ToEncoderInput() 76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight); in convertI420ToEncoderInput() 77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2); in convertI420ToEncoderInput() 80 for(int i=0; i < srcHeight / 2; i++) { in convertI420ToEncoderInput()
|
/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 141 mSrcHeight = srcHeight; 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() 161 mBlit.source_rect.height = srcHeight << 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/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 163 mSrcHeight = srcHeight; 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() 183 mBlit.source_rect.height = srcHeight << 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/moorefield_hdmi/ips/anniedale/ |
D | AnnOverlayPlane.cpp | 414 uint32_t srcHeight = mapper.getCrop().h; in scalingSetup() local 423 srcWidth, srcHeight, in scalingSetup() 428 float scaleY = (float)(srcHeight >> 1) / dstHeight; in scalingSetup() 439 uint32_t tmp = srcHeight; in scalingSetup() 440 srcHeight = srcWidth; in scalingSetup() 449 if (srcWidth == dstWidth && srcHeight == dstHeight) { in scalingSetup() 454 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor); in scalingSetup()
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
D | AnnOverlayPlane.cpp | 359 uint32_t srcHeight = mapper.getCrop().h; in scalingSetup() local 367 srcWidth, srcHeight, in scalingSetup() 375 uint32_t tmp = srcHeight; in scalingSetup() 376 srcHeight = srcWidth; in scalingSetup() 381 if (srcWidth == dstWidth && srcHeight == dstHeight) { in scalingSetup() 386 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor); in scalingSetup()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 437 int srcHeight, hwc_rect_t& rect) { in getAspectRatioPosition() argument 440 if (srcWidth * destHeight > destWidth * srcHeight) { in getAspectRatioPosition() 441 srcHeight = destWidth * srcHeight / srcWidth; in getAspectRatioPosition() 443 } else if (srcWidth * destHeight < destWidth * srcHeight) { in getAspectRatioPosition() 444 srcWidth = destHeight * srcWidth / srcHeight; in getAspectRatioPosition() 445 srcHeight = destHeight; in getAspectRatioPosition() 448 srcHeight = destHeight; in getAspectRatioPosition() 451 if (srcHeight > destHeight) srcHeight = destHeight; in getAspectRatioPosition() 453 y = (destHeight - srcHeight) / 2; in getAspectRatioPosition() 455 __FUNCTION__, x, y, srcWidth , srcHeight); in getAspectRatioPosition() [all …]
|
D | hwc_utils.h | 282 int srcHeight, hwc_rect_t& rect);
|
/hardware/intel/common/utils/ISV/include/ |
D | isv_worker.h | 72 uint32_t srcHeight; member
|
/hardware/intel/common/utils/ISV/base/ |
D | isv_worker.cpp | 342 mFilterParam.srcHeight = filterParam->srcHeight; in configFilters() 772 src_region.height = mFilterParam.srcHeight; in process() 931 …ret = writeNV12(mFilterParam.srcWidth, mFilterParam.srcHeight, data_ptr, image.pitches[0], image.p… in dumpYUVFrameData()
|
D | isv_processor.cpp | 73 mFilterParam.srcHeight = mFilterParam.dstHeight = height; 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 | 1012 uint32_t srcHeight = mapper.getCrop().h; in scalingSetup() local 1017 srcWidth, srcHeight, in scalingSetup() 1021 if (srcWidth == dstWidth && srcHeight == dstHeight) { in scalingSetup() 1026 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor); in scalingSetup()
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
D | OverlayPlaneBase.cpp | 1032 uint32_t srcHeight = mapper.getCrop().h; in scalingSetup() local 1040 srcWidth, srcHeight, in scalingSetup() 1044 if (srcWidth == dstWidth && srcHeight == dstHeight) { in scalingSetup() 1049 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor); in scalingSetup()
|
/hardware/qcom/camera/QCamera2/HAL/test/ |
D | qcamera_test.h | 335 size_t srcHeight; member
|
D | qcamera_test.cpp | 1084 mInterpr->mViVBuff.srcHeight = (size_t)currentVideoSize.height; in dataCallbackTimestamp() 1109 for (i = 0; i < mInterpr->mViVBuff.srcHeight; i++) { in dataCallbackTimestamp() 1118 for (i = 0; i < mInterpr->mViVBuff.srcHeight / 2; i++) { in dataCallbackTimestamp()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 596 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in calcExtDisplayPosition() local 598 swap(srcWidth, srcHeight); in calcExtDisplayPosition() 601 srcHeight, displayFrame); in calcExtDisplayPosition()
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
D | hwc_utils.cpp | 829 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in calcExtDisplayPosition() local 831 swap(srcWidth, srcHeight); in calcExtDisplayPosition() 834 srcHeight, displayFrame); in calcExtDisplayPosition()
|