Lines Matching refs:dsth
1563 int width=640, height=480, dstw, dsth, size;
1677 dsth = ((((width<<10)/srcw)*srch)>>10);
1678 if( dsth > height )
1680 dsth = height;
1687 dsth = dsth * pixw / pixh;
1692 if( dstw <= 160 && dsth <= 160 )
1694 else if( dstw <= 640 && dsth <= 480 )
1696 else if( dstw <= 1024 && dsth <= 768 )
1701 if( srcw>>4 >= dstw && srch>>4 >= dsth)
1703 else if( srcw>>3 >= dstw && srch>>3 >= dsth )
1705 else if( srcw>>2 >= dstw && srch>>2 >= dsth )
1740 imdst = image_resize(imsrc, dstw, dsth);
1757 imdst = image_resize(imsrc, dstw, dsth);