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.cpp347 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit() local
364 if(screen_w <=0 || screen_h<=0 ||src_crop_width<=0 || src_crop_height<=0 ) { in drawLayerUsingCopybit()
372 float dtdy = (float)screen_h/src_crop_height; in drawLayerUsingCopybit()
395 src_crop_width,src_crop_height); in drawLayerUsingCopybit()
402 src_crop_height = (src_crop_height/2)*2; in drawLayerUsingCopybit()
405 int tmp_h = src_crop_height; in drawLayerUsingCopybit()
409 tmp_h = src_crop_height*copybitsMaxScale; in drawLayerUsingCopybit()
412 tmp_h = src_crop_height/copybitsMinScale; in drawLayerUsingCopybit()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_copybit.cpp370 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit() local
387 if(screen_w <=0 || screen_h<=0 ||src_crop_width<=0 || src_crop_height<=0 ) { in drawLayerUsingCopybit()
395 float dtdy = (float)screen_h/src_crop_height; in drawLayerUsingCopybit()
419 src_crop_width,src_crop_height); in drawLayerUsingCopybit()
426 src_crop_height = (src_crop_height/2)*2; in drawLayerUsingCopybit()
429 int tmp_h = src_crop_height; in drawLayerUsingCopybit()
433 tmp_h = src_crop_height*copybitsMaxScale; in drawLayerUsingCopybit()
436 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()