Home
last modified time | relevance | path

Searched refs:minbpb (Results 1 – 2 of 2) sorted by path

/dports/graphics/sam2p/sam2p-0.49.4/
H A Dimage.cpp436 register unsigned minbpb=0; in minRGBBpc() local
442 else if ((*p&3)*85!=*p) minbpb=3; /* 2 bits are not enough */ in minRGBBpc()
443 else if ((*p&1)*255!=*p) minbpb|=1; /* 1 bit is not enough */ in minRGBBpc()
447 return 1+minbpb; in minRGBBpc()
641 register unsigned minbpb=0; in minRGBBpc() local
645 else if ((*p&3)*85!=*p) minbpb=3; /* 2 bits are not enough */ in minRGBBpc()
646 else if ((*p&1)*255!=*p) minbpb|=1; /* 1 bit is not enough */ in minRGBBpc()
649 return 1+minbpb; in minRGBBpc()
/dports/graphics/tif22pnm/tif22pnm-0.14/
H A Dminigimp.c1326 unsigned minbpb, bpp; in gimpts_meta_update() local
1334 minbpb=(meta->minAlphaBpc==0) ? 0: meta->minAlphaBpc*2-1; in gimpts_meta_update()
1338 else if ((*p&3)*85!=*p) minbpb|=7; /* 2 bits are not enough */ in gimpts_meta_update()
1339 else if ((*p&1)*255!=*p) minbpb|=3; /* 1 bit is not enough */ in gimpts_meta_update()
1340 else if (*p!=255) minbpb|=1; /* 0 bits are not enough */ in gimpts_meta_update()
1342 meta->minAlphaBpc=(minbpb+1)>>1; in gimpts_meta_update()
1347 minbpb=(meta->minRGBBpc==0) ? 0: meta->minRGBBpc-1; in gimpts_meta_update()
1351 else if ((*p&3)*85!=*p) minbpb|=3; /* 2 bits are not enough */ in gimpts_meta_update()
1352 else if ((*p&1)*255!=*p) minbpb|=1; /* 1 bit is not enough */ in gimpts_meta_update()
1360 else if ((*p&1)*255!=*p) minbpb|=1; /* 1 bit is not enough */ in gimpts_meta_update()
[all …]