Searched refs:minbpb (Results 1 – 2 of 2) sorted by path
436 register unsigned minbpb=0; in minRGBBpc() local442 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() local645 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()
1326 unsigned minbpb, bpp; in gimpts_meta_update() local1334 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 …]