Home
last modified time | relevance | path

Searched refs:dst_w (Results 1 – 25 of 45) 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/intel/img/psb_video/src/
Dpsb_texture.h138 int src_h, int dst_x, int dst_y, int dst_w, int dst_h,
144 int src_h, int dst_x, int dst_y, int dst_w, int dst_h, unsigned int subtitle,
Dpsb_texture.c341 static void psb_calculate_subpic_size(int surf_width, int surf_height, int dst_w, int dst_h, PsbVAS… in psb_calculate_subpic_size() argument
347 src_h_ratio = (float)surf_width / dst_w; in psb_calculate_subpic_size()
353 subpic_h_dest_ratio = (float)dst_w / surface_subpic->subpic_dstw; in psb_calculate_subpic_size()
526 int src_h, int dst_x, int dst_y, int dst_w, int dst_h, unsigned int subtitle,
594 (dst_w * dst_h * 2),
603 sBltVP.sDst.Stride = dst_w * 2;//align_to(dst_w, 64);
608 sBltVP.sDst.SurfWidth = dst_w;
628 sBltVP.rcDest.right = dst_x + dst_w;
641 … psb_calculate_subpic_size(obj_surface->width, obj_surface->height, dst_w, dst_h, surface_subpic);
/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()
/hardware/qcom/display/msm8084/libqdutils/
Dcb_utils.cpp86 int dst_w = clearWormholeRect.right - clearWormholeRect.left; in getuiClearRegion() local
89 if (!(dst_w || dst_h)) in getuiClearRegion()
/hardware/qcom/display/msm8226/libqdutils/
Dcb_utils.cpp86 int dst_w = clearWormholeRect.right - clearWormholeRect.left; in getuiClearRegion() local
89 if (!(dst_w || dst_h)) in getuiClearRegion()
/hardware/qcom/display/msm8994/libqdutils/
Dcb_utils.cpp88 int dst_w = clearWormholeRect.right - clearWormholeRect.left; in getuiClearRegion() local
91 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/msm8909/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.cpp252 const int& dst_w, const int& dst_h, uint8_t& horzDeci, in getDecimationFactor() argument
256 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()
1570 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()
1576 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/kernel-headers/media/
Dmsmb_pproc.h137 uint32_t dst_w; member
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp930 int dst_w, dst_h, src_w, src_h; in isDownscaleRequired() local
931 dst_w = displayFrame.right - displayFrame.left; in isDownscaleRequired()
936 if(((src_w > dst_w) || (src_h > dst_h))) in isDownscaleRequired()
942 int dst_w, dst_h, src_w, src_h; in needsScaling() local
946 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
951 if(((src_w != dst_w) || (src_h != dst_h))) in needsScaling()
1330 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() local
1342 leftCutRatio = (double)(sci_l - dst_l) / (double)dst_w; in calculate_crop_rects()
1347 rightCutRatio = (double)(dst_r - sci_r) / (double)dst_w; in calculate_crop_rects()
1891 int dst_w = dst.right - dst.left; in configColorLayer() local
[all …]
Dhwc_copybit.cpp401 int dst_h, dst_w, src_h, src_w; in prepare() local
419 dst_w = layer->displayFrame.right - layer->displayFrame.left; in prepare()
421 if(src_w <=0 || src_h<=0 ||dst_w<=0 || dst_h<=0 ) { in prepare()
424 __FUNCTION__, dst_w,src_w,dst_h,src_h); in prepare()
427 dx = (float)dst_w/(float)src_w; in prepare()
/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()
1811 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/msm8960/original-kernel-headers/media/
Dmsm_isp.h332 uint32_t dst_w; member
/hardware/qcom/msm8x84/kernel-headers/media/
Dmsmb_pproc.h189 uint32_t dst_w; member

12