Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:src_h

313             int dst_h, dst_w, src_h, src_w;
321 src_h = sourceCrop.right - sourceCrop.left;
324 src_h = sourceCrop.bottom - sourceCrop.top;
330 if(src_w <=0 || src_h<=0 ||dst_w<=0 || dst_h<=0 ) {
333 __FUNCTION__, dst_w,src_w,dst_h,src_h);
337 dy = (float)dst_h/(float)src_h;