Searched refs:sbits (Results 1 – 3 of 3) sorted by relevance
/system/core/libpixelflinger/ |
D | buffer.cpp | 39 static uint32_t expand(uint32_t v, int sbits, int dbits); 254 uint32_t ggl_expand(uint32_t v, int sbits, int dbits) in ggl_expand() argument 256 return expand(v, sbits, dbits); in ggl_expand() 296 uint32_t expand(uint32_t v, int sbits, int dbits) in expand() argument 298 if (dbits > sbits) { in expand() 299 assert(sbits); in expand() 300 if (sbits==1) { in expand() 303 if (dbits % sbits) { in expand() 304 v <<= (dbits-sbits); in expand() 305 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 | 186 int sbits = src.size(); in expand() local 194 if (dbits<=sbits) { in expand() 201 if (sbits == 1) { in expand() 207 if (dbits % sbits) { in expand() 208 MOV(AL, 0, d, reg_imm(s, LSL, dbits-sbits)); in expand() 210 dbits -= sbits; in expand() 212 ORR(AL, 0, d, d, reg_imm(d, LSR, sbits)); in expand() 214 dbits -= sbits; in expand() 215 sbits *= 2; in expand() 220 dbits -= sbits; in expand() [all …]
|