Searched refs:sbits (Results 1 – 3 of 3) sorted by relevance
/system/core/libpixelflinger/ |
D | buffer.cpp | 37 static uint32_t expand(uint32_t v, int sbits, int dbits); 252 uint32_t ggl_expand(uint32_t v, int sbits, int dbits) in ggl_expand() argument 254 return expand(v, sbits, dbits); in ggl_expand() 291 uint32_t expand(uint32_t v, int sbits, int dbits) in expand() argument 293 if (dbits > sbits) { in expand() 294 assert(sbits); in expand() 295 if (sbits==1) { in expand() 298 if (dbits % sbits) { in expand() 299 v <<= (dbits-sbits); in expand() 300 dbits -= sbits; in expand() [all …]
|
D | buffer.h | 33 uint32_t ggl_expand(uint32_t v, int sbits, int dbits);
|
/system/core/libpixelflinger/codeflinger/ |
D | load_store.cpp | 182 int sbits = src.size(); in expand() local 190 if (dbits<=sbits) { in expand() 197 if (sbits == 1) { in expand() 203 if (dbits % sbits) { in expand() 204 MOV(AL, 0, d, reg_imm(s, LSL, dbits-sbits)); in expand() 206 dbits -= sbits; in expand() 208 ORR(AL, 0, d, d, reg_imm(d, LSR, sbits)); in expand() 210 dbits -= sbits; in expand() 211 sbits *= 2; in expand() 216 dbits -= sbits; in expand() [all …]
|