Home
last modified time | relevance | path

Searched refs:dst_w (Results 1 – 25 of 43) 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
286 float horDscale = ceilf((float)src_w / (float)dst_w); 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
290 horDscale = ceilf((float)src_w / (float)dst_w); 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.cpp87 int dst_w = clearWormholeRect.right - clearWormholeRect.left; in getuiClearRegion() local
90 if (!(dst_w || dst_h)) in getuiClearRegion()
/hardware/qcom/display/msm8226/libqdutils/
Dcb_utils.cpp87 int dst_w = clearWormholeRect.right - clearWormholeRect.left; in getuiClearRegion() local
90 if (!(dst_w || dst_h)) in getuiClearRegion()
/hardware/qcom/display/msm8994/libqdutils/
Dcb_utils.cpp89 int dst_w = clearWormholeRect.right - clearWormholeRect.left; 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
277 float horDscale = ceilf((float)src_w / (float)dst_w); 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
190 dst_w = layer->displayFrame.right - layer->displayFrame.left; 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()
198 dx = (float)dst_w/(float)src_w; in prepare()
Dhwc_utils.cpp701 int dst_w, dst_h, src_w, src_h; in isDownscaleRequired() local
702 dst_w = displayFrame.right - displayFrame.left; 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
717 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
722 if(((src_w != dst_w) || (src_h != dst_h))) in needsScaling()
1058 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() local
1070 leftCutRatio = (double)(sci_l - dst_l) / (double)dst_w; in calculate_crop_rects()
1075 rightCutRatio = (double)(dst_r - sci_r) / (double)dst_w; in calculate_crop_rects()
1572 int dst_w = dst.right - dst.left; in configColorLayer() local
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp688 int dst_w, dst_h, src_w, src_h; in isDownscaleRequired() local
689 dst_w = displayFrame.right - displayFrame.left; 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
704 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
709 if(((src_w != dst_w) || (src_h != dst_h))) in needsScaling()
1045 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() local
1057 leftCutRatio = (double)(sci_l - dst_l) / (double)dst_w; in calculate_crop_rects()
1062 rightCutRatio = (double)(dst_r - sci_r) / (double)dst_w; in calculate_crop_rects()
1578 int dst_w = dst.right - dst.left; in configColorLayer() local
[all …]
Dhwc_copybit.cpp313 int dst_h, dst_w, src_h, src_w; in prepare() local
328 dst_w = layer->displayFrame.right - layer->displayFrame.left; 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()
336 dx = (float)dst_w/(float)src_w; in prepare()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp361 int dst_w, dst_h, src_w, src_h; in needsScaling() local
366 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
372 if(((src_w != dst_w) || (src_h != dst_h))) in needsScaling()
568 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() local
580 leftCutRatio = (float)(sci_l - dst_l) / (float)dst_w; in calculate_crop_rects()
585 rightCutRatio = (float)(dst_r - sci_r) / (float)dst_w; in calculate_crop_rects()
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsmb_pproc.h121 uint32_t dst_w; member
/hardware/qcom/msm8998/original-kernel-headers/media/
Dmsmb_pproc.h122 uint32_t dst_w; member
/hardware/qcom/msm8998/kernel-headers/media/
Dmsmb_pproc.h135 uint32_t dst_w; member
/hardware/qcom/msm8996/kernel-headers/media/
Dmsmb_pproc.h134 uint32_t dst_w; member
/hardware/qcom/msm8960/original-kernel-headers/media/
Dmsm_isp.h332 uint32_t dst_w; member
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp863 int dst_w, dst_h, src_w, src_h; in isDownscaleRequired() local
864 dst_w = displayFrame.right - displayFrame.left; 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
879 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
887 if(((src_w != dst_w) || (src_h != dst_h))) in needsScaling()
1263 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() local
1275 leftCutRatio = (double)(sci_l - dst_l) / (double)dst_w; in calculate_crop_rects()
1280 rightCutRatio = (double)(dst_r - sci_r) / (double)dst_w; in calculate_crop_rects()
1813 int dst_w = dst.right - dst.left; in configColorLayer() local
[all …]
Dhwc_copybit.cpp317 int dst_h, dst_w, src_h, src_w; in prepare() local
335 dst_w = layer->displayFrame.right - layer->displayFrame.left; 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()
343 dx = (float)dst_w/(float)src_w; in prepare()
/hardware/qcom/msm8x84/kernel-headers/media/
Dmsmb_pproc.h189 uint32_t dst_w; member
/hardware/qcom/msm8994/kernel-headers/media/
Dmsmb_pproc.h254 uint32_t dst_w; member
/hardware/qcom/msm8x84/original-kernel-headers/media/
Dmsmb_pproc.h175 uint32_t dst_w; member

12