Home
last modified time | relevance | path

Searched refs:srcHeight (Results 1 – 25 of 26) sorted by relevance

12

/hardware/qcom/display/msm8226/libqdutils/
Dqd_utils.cpp98 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 …]
Dqd_utils.h52 int srcHeight, hwc_rect_t& rect);
/hardware/qcom/display/msm8994/libqdutils/
Dqd_utils.cpp97 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 …]
Dqd_utils.h60 int srcHeight, hwc_rect_t& rect);
/hardware/qcom/display/msm8909/libqdutils/
Dqd_utils.cpp97 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 …]
Dqd_utils.h60 int srcHeight, hwc_rect_t& rect);
/hardware/ti/omap4xxx/libI420colorconvert/
DColorConvert.cpp26 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/
DColorConvert.cpp26 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/
DC2DColorConverter.cpp57 …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()
DC2DColorConverter.h112 typedef C2DColorConverterBase* createC2DColorConverter_t(size_t srcWidth, size_t srcHeight, size_t …
/hardware/qcom/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.cpp57 …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()
DC2DColorConverter.h116 typedef C2DColorConverterBase* createC2DColorConverter_t(size_t srcWidth, size_t srcHeight, size_t …
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnOverlayPlane.cpp414 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/
DAnnOverlayPlane.cpp359 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/
Dhwc_utils.cpp437 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 …]
Dhwc_utils.h282 int srcHeight, hwc_rect_t& rect);
/hardware/intel/common/utils/ISV/include/
Disv_worker.h72 uint32_t srcHeight; member
/hardware/intel/common/utils/ISV/base/
Disv_worker.cpp342 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()
Disv_processor.cpp73 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/
DOverlayPlaneBase.cpp1012 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/
DOverlayPlaneBase.cpp1032 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/
Dqcamera_test.h335 size_t srcHeight; member
Dqcamera_test.cpp1084 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/
Dhwc_utils.cpp596 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/
Dhwc_utils.cpp829 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in calcExtDisplayPosition() local
831 swap(srcWidth, srcHeight); in calcExtDisplayPosition()
834 srcHeight, displayFrame); in calcExtDisplayPosition()

12