Home
last modified time | relevance | path

Searched refs:src_crop_height (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_copybit.cpp351 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit() local
368 if(screen_w <=0 || screen_h<=0 ||src_crop_width<=0 || src_crop_height<=0 ) { in drawLayerUsingCopybit()
376 float dtdy = (float)screen_h/src_crop_height; in drawLayerUsingCopybit()
399 src_crop_width,src_crop_height); in drawLayerUsingCopybit()
406 src_crop_height = (src_crop_height/2)*2; in drawLayerUsingCopybit()
409 int tmp_h = src_crop_height; in drawLayerUsingCopybit()
413 tmp_h = src_crop_height*copybitsMaxScale; in drawLayerUsingCopybit()
416 tmp_h = src_crop_height/copybitsMinScale; in drawLayerUsingCopybit()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_copybit.cpp446 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit() local
462 if(screen_w <=0 || screen_h<=0 ||src_crop_width<=0 || src_crop_height<=0 ) { in drawLayerUsingCopybit()
465 src_crop_width,screen_h,src_crop_height); in drawLayerUsingCopybit()
470 float dtdy = (float)screen_h/(float)src_crop_height; in drawLayerUsingCopybit()
494 src_crop_width,src_crop_height); in drawLayerUsingCopybit()
498 int tmp_h = src_crop_height; in drawLayerUsingCopybit()
502 tmp_h = (int)((float)src_crop_height*copybitsMaxScale); in drawLayerUsingCopybit()
508 tmp_h = (int)ceil((float)src_crop_height/copybitsMinScale); in drawLayerUsingCopybit()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_copybit.cpp822 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit() local
838 if(screen_w <=0 || screen_h<=0 ||src_crop_width<=0 || src_crop_height<=0 ) { in drawLayerUsingCopybit()
841 src_crop_width,screen_h,src_crop_height); in drawLayerUsingCopybit()
846 float dtdy = (float)screen_h/(float)src_crop_height; in drawLayerUsingCopybit()
870 src_crop_width,src_crop_height); in drawLayerUsingCopybit()
874 int tmp_h = src_crop_height; in drawLayerUsingCopybit()
878 tmp_h = (int)((float)src_crop_height*copybitsMaxScale); in drawLayerUsingCopybit()
884 tmp_h = (int)ceil((float)src_crop_height/copybitsMinScale); in drawLayerUsingCopybit()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_copybit.cpp875 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit() local
891 if(screen_w <=0 || screen_h<=0 ||src_crop_width<=0 || src_crop_height<=0 ) { in drawLayerUsingCopybit()
894 src_crop_width,screen_h,src_crop_height); in drawLayerUsingCopybit()
899 float dtdy = (float)screen_h/(float)src_crop_height; in drawLayerUsingCopybit()
923 src_crop_width,src_crop_height); in drawLayerUsingCopybit()
927 int tmp_h = src_crop_height; in drawLayerUsingCopybit()
931 tmp_h = (int)((float)src_crop_height*copybitsMaxScale); in drawLayerUsingCopybit()
937 tmp_h = (int)ceil((float)src_crop_height/copybitsMinScale); in drawLayerUsingCopybit()