Lines Matching refs:DIV2
863 #define DIV2(x) ((x) > 1 ? ((x) >> 1) : 1) macro
1224 w=DIV2(dds_info->width); in ReadMipmaps()
1225 h=DIV2(dds_info->height); in ReadMipmaps()
1246 w=DIV2(w); in ReadMipmaps()
1247 h=DIV2(h); in ReadMipmaps()
1378 w=DIV2(dds_info->width); in SkipDXTMipmaps()
1379 h=DIV2(dds_info->height); in SkipDXTMipmaps()
1389 w=DIV2(w); in SkipDXTMipmaps()
1390 h=DIV2(h); in SkipDXTMipmaps()
1713 w=DIV2(dds_info->width); in SkipRGBMipmaps()
1714 h=DIV2(dds_info->height); in SkipRGBMipmaps()
1724 w=DIV2(w); in SkipRGBMipmaps()
1725 h=DIV2(h); in SkipRGBMipmaps()
3279 columns=DIV2(image->columns); in WriteMipmaps()
3280 rows=DIV2(image->rows); in WriteMipmaps()
3326 columns=DIV2(columns); in WriteMipmaps()
3327 rows=DIV2(rows); in WriteMipmaps()
3532 columns=DIV2(columns); in WriteDDSImage()
3533 rows=DIV2(rows); in WriteDDSImage()