Home
last modified time | relevance | path

Searched refs:dst_h (Results 1 – 25 of 42) sorted by relevance

12

/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.cpp252 const int& dst_w, const int& dst_h) { in getDownscaleFactor() argument
259 if (dst_w && dst_h) in getDownscaleFactor()
261 float fDscale = (float)(src_w * src_h) / (float)(dst_w * dst_h); in getDownscaleFactor()
282 const int& dst_w, const int& dst_h, uint8_t& horzDeci, in getDecimationFactor() argument
287 float verDscale = ceilf((float)src_h / (float)dst_h); in getDecimationFactor()
DoverlayUtils.h383 const int& dst_w, const int& dst_h);
385 const int& dst_w, const int& dst_h, uint8_t& horzDeci,
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.cpp258 const int& dst_w, const int& dst_h) { in getDownscaleFactor() argument
265 if (dst_w && dst_h) in getDownscaleFactor()
267 float fDscale = (float)(src_w * src_h) / (float)(dst_w * dst_h); in getDownscaleFactor()
288 const int& dst_w, const int& dst_h, float& horDscale, in getDecimationFactor() argument
291 verDscale = ceilf((float)src_h / (float)dst_h); in getDecimationFactor()
DoverlayUtils.h414 const int& dst_w, const int& dst_h);
416 const int& dst_w, const int& dst_h, float& horDscale,
/hardware/qcom/display/msm8084/libqdutils/
Dcb_utils.cpp88 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion() local
90 if (!(dst_w || dst_h)) in getuiClearRegion()
/hardware/qcom/display/msm8226/libqdutils/
Dcb_utils.cpp88 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion() local
90 if (!(dst_w || dst_h)) in getuiClearRegion()
/hardware/qcom/display/msm8994/libqdutils/
Dcb_utils.cpp90 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion() local
92 if (!(dst_w || dst_h)) in getuiClearRegion()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayMdpRot.cpp292 const int& dst_w, const int& dst_h, const uint32_t& /*mdpFormat*/, in getDownscaleFactor() argument
300 if (dst_w && dst_h) in getDownscaleFactor()
302 float fDscale = (float)(src_w * src_h) / (float)(dst_w * dst_h); in getDownscaleFactor()
DoverlayUtils.cpp273 const int& dst_w, const int& dst_h, uint8_t& horzDeci, in getDecimationFactor() argument
278 float verDscale = ceilf((float)src_h / (float)dst_h); in getDecimationFactor()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.cpp184 const int& dst_w, const int& dst_h) { in getDownscaleFactor() argument
194 if (dst_w && dst_h) in getDownscaleFactor()
196 float fDscale = sqrtf((float)(src_w * src_h) / (float)(dst_w * dst_h)) + in getDownscaleFactor()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_copybit.cpp175 int dst_h, dst_w, src_h, src_w; in prepare() local
189 dst_h = layer->displayFrame.bottom - layer->displayFrame.top; in prepare()
192 if(src_w <=0 || src_h<=0 ||dst_w<=0 || dst_h<=0 ) { in prepare()
195 __FUNCTION__, dst_w,src_w,dst_h,src_h); in prepare()
199 dy = (float)dst_h/(float)src_h; in prepare()
Dhwc_utils.cpp701 int dst_w, dst_h, src_w, src_h; in isDownscaleRequired() local
703 dst_h = displayFrame.bottom - displayFrame.top; in isDownscaleRequired()
707 if(((src_w > dst_w) || (src_h > dst_h))) in isDownscaleRequired()
713 int dst_w, dst_h, src_w, src_h; in needsScaling() local
718 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
722 if(((src_w != dst_w) || (src_h != dst_h))) in needsScaling()
1059 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects() local
1080 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; in calculate_crop_rects()
1085 bottomCutRatio = (double)(dst_b - sci_b) / (double)dst_h; in calculate_crop_rects()
1573 int dst_h = dst.bottom - dst.top; in configColorLayer() local
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp688 int dst_w, dst_h, src_w, src_h; in isDownscaleRequired() local
690 dst_h = displayFrame.bottom - displayFrame.top; in isDownscaleRequired()
694 if(((src_w > dst_w) || (src_h > dst_h))) in isDownscaleRequired()
700 int dst_w, dst_h, src_w, src_h; in needsScaling() local
705 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
709 if(((src_w != dst_w) || (src_h != dst_h))) in needsScaling()
1046 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects() local
1067 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; in calculate_crop_rects()
1072 bottomCutRatio = (double)(dst_b - sci_b) / (double)dst_h; in calculate_crop_rects()
1579 int dst_h = dst.bottom - dst.top; in configColorLayer() local
[all …]
Dhwc_copybit.cpp313 int dst_h, dst_w, src_h, src_w; in prepare() local
327 dst_h = layer->displayFrame.bottom - layer->displayFrame.top; in prepare()
330 if(src_w <=0 || src_h<=0 ||dst_w<=0 || dst_h<=0 ) { in prepare()
333 __FUNCTION__, dst_w,src_w,dst_h,src_h); in prepare()
337 dy = (float)dst_h/(float)src_h; in prepare()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp361 int dst_w, dst_h, src_w, src_h; in needsScaling() local
367 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
372 if(((src_w != dst_w) || (src_h != dst_h))) in needsScaling()
569 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects() local
590 topCutRatio = (float)(sci_t - dst_t) / (float)dst_h; in calculate_crop_rects()
595 bottomCutRatio = (float)(dst_b - sci_b) / (float)dst_h; in calculate_crop_rects()
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsmb_pproc.h122 uint32_t dst_h; member
/hardware/qcom/msm8998/kernel-headers/media/
Dmsmb_pproc.h136 uint32_t dst_h; member
/hardware/qcom/msm8996/kernel-headers/media/
Dmsmb_pproc.h135 uint32_t dst_h; member
/hardware/qcom/msm8998/original-kernel-headers/media/
Dmsmb_pproc.h123 uint32_t dst_h; member
/hardware/qcom/msm8960/original-kernel-headers/media/
Dmsm_isp.h333 uint32_t dst_h; member
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp863 int dst_w, dst_h, src_w, src_h; in isDownscaleRequired() local
865 dst_h = displayFrame.bottom - displayFrame.top; in isDownscaleRequired()
869 if(((src_w > dst_w) || (src_h > dst_h))) in isDownscaleRequired()
875 int dst_w, dst_h, src_w, src_h; in needsScaling() local
880 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
887 if(((src_w != dst_w) || (src_h != dst_h))) in needsScaling()
1264 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects() local
1285 topCutRatio = (double)(sci_t - dst_t) / (double)dst_h; in calculate_crop_rects()
1290 bottomCutRatio = (double)(dst_b - sci_b) / (double)dst_h; in calculate_crop_rects()
1814 int dst_h = dst.bottom - dst.top; in configColorLayer() local
[all …]
Dhwc_copybit.cpp317 int dst_h, dst_w, src_h, src_w; in prepare() local
334 dst_h = layer->displayFrame.bottom - layer->displayFrame.top; in prepare()
337 if(src_w <=0 || src_h<=0 ||dst_w<=0 || dst_h<=0 ) { in prepare()
340 __FUNCTION__, dst_w,src_w,dst_h,src_h); in prepare()
344 dy = (float)dst_h/(float)src_h; in prepare()
/hardware/qcom/msm8x84/kernel-headers/media/
Dmsmb_pproc.h190 uint32_t dst_h; member
/hardware/qcom/msm8994/kernel-headers/media/
Dmsmb_pproc.h255 uint32_t dst_h; member
/hardware/qcom/msm8x84/original-kernel-headers/media/
Dmsmb_pproc.h176 uint32_t dst_h; member

12