Searched defs:srcHeight (Results 1 - 14 of 14) sorted by relevance

/hardware/qcom/display/msm8226/libqdutils/
H A Dqd_utils.cpp98 int srcHeight, hwc_rect_t& rect) {
101 if (srcWidth * destHeight > destWidth * srcHeight) {
102 srcHeight = destWidth * srcHeight / srcWidth;
104 } else if (srcWidth * destHeight < destWidth * srcHeight) {
105 srcWidth = destHeight * srcWidth / srcHeight;
106 srcHeight = destHeight;
109 srcHeight = destHeight;
112 if (srcHeight > destHeight) srcHeight
97 getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, int srcHeight, hwc_rect_t& rect) argument
[all...]
/hardware/qcom/display/msm8994/libqdutils/
H A Dqd_utils.cpp97 int srcHeight, hwc_rect_t& rect) {
100 if (srcWidth * destHeight > destWidth * srcHeight) {
101 srcHeight = destWidth * srcHeight / srcWidth;
103 } else if (srcWidth * destHeight < destWidth * srcHeight) {
104 srcWidth = destHeight * srcWidth / srcHeight;
105 srcHeight = destHeight;
108 srcHeight = destHeight;
111 if (srcHeight > destHeight) srcHeight
96 getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, int srcHeight, hwc_rect_t& rect) argument
[all...]
/hardware/intel/common/utils/ISV/include/
H A Disv_worker.h72 uint32_t srcHeight; member in struct:__anon773
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
H A DAnnOverlayPlane.cpp359 uint32_t srcHeight = mapper.getCrop().h; local
367 srcWidth, srcHeight,
375 uint32_t tmp = srcHeight;
376 srcHeight = srcWidth;
381 if (srcWidth == dstWidth && srcHeight == dstHeight) {
386 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
H A DAnnOverlayPlane.cpp414 uint32_t srcHeight = mapper.getCrop().h; local
423 srcWidth, srcHeight,
428 float scaleY = (float)(srcHeight >> 1) / dstHeight;
439 uint32_t tmp = srcHeight;
440 srcHeight = srcWidth;
449 if (srcWidth == dstWidth && srcHeight == dstHeight) {
454 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor);
/hardware/qcom/media/msm8974/libc2dcolorconvert/
H A DC2DColorConverter.cpp57 C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags,size_t srcStride);
112 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) argument
141 mSrcHeight = srcHeight;
147 mSrcSize = calcSize(srcFormat, srcWidth, srcHeight);
149 mSrcYSize = calcYSize(srcFormat, srcWidth, srcHeight);
154 mSrcSurfaceDef = getDummySurfaceDef(srcFormat, srcWidth, srcHeight, true);
161 mBlit.source_rect.height = srcHeight << 16;
715 extern "C" C2DColorConverterBase* createC2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) argument
717 return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags, srcStride);
/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DOverlayPlaneBase.cpp1032 uint32_t srcHeight = mapper.getCrop().h; local
1040 srcWidth, srcHeight,
1044 if (srcWidth == dstWidth && srcHeight == dstHeight) {
1049 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
H A DOverlayPlaneBase.cpp1012 uint32_t srcHeight = mapper.getCrop().h; local
1017 srcWidth, srcHeight,
1021 if (srcWidth == dstWidth && srcHeight == dstHeight) {
1026 yscaleFract = ((srcHeight - 1) << 12) / (dstHeight * deinterlace_factor);
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
H A Dqcamera_test.h334 size_t srcHeight; member in struct:qcamera::TestContext::ViVBuff_t
/hardware/qcom/media/msm8996/libc2dcolorconvert/
H A DC2DColorConverter.cpp58 C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags,size_t srcStride);
116 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) argument
164 mSrcHeight = srcHeight;
170 mSrcSize = calcSize(srcFormat, srcWidth, srcHeight);
172 mSrcYSize = calcYSize(srcFormat, srcWidth, srcHeight);
177 mSrcSurfaceDef = getDummySurfaceDef(srcFormat, srcWidth, srcHeight, true);
184 mBlit.source_rect.height = srcHeight << 16;
771 extern "C" C2DColorConverterBase* createC2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) argument
773 return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags, srcStride);
/hardware/qcom/media/msm8998/libc2dcolorconvert/
H A DC2DColorConverter.cpp58 C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags,size_t srcStride);
116 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) argument
166 mSrcHeight = srcHeight;
172 mSrcSize = calcSize(srcFormat, srcWidth, srcHeight);
174 mSrcYSize = calcYSize(srcFormat, srcWidth, srcHeight);
179 mSrcSurfaceDef = getDummySurfaceDef(srcFormat, srcWidth, srcHeight, true);
186 mBlit.source_rect.height = srcHeight << 16;
777 extern "C" C2DColorConverterBase* createC2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) argument
779 return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags, srcStride);
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_utils.cpp437 int srcHeight, hwc_rect_t& rect) {
440 if (srcWidth * destHeight > destWidth * srcHeight) {
441 srcHeight = destWidth * srcHeight / srcWidth;
443 } else if (srcWidth * destHeight < destWidth * srcHeight) {
444 srcWidth = destHeight * srcWidth / srcHeight;
445 srcHeight = destHeight;
448 srcHeight = destHeight;
451 if (srcHeight > destHeight) srcHeight
436 getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, int srcHeight, hwc_rect_t& rect) argument
609 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; local
836 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; local
[all...]
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_utils.cpp596 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; local
598 swap(srcWidth, srcHeight);
601 srcHeight, displayFrame);
/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_utils.cpp762 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; local
764 swap(srcWidth, srcHeight);
767 srcHeight, displayFrame);

Completed in 448 milliseconds