Home
last modified time | relevance | path

Searched refs:dbits (Results 1 – 4 of 4) sorted by relevance

/system/core/libpixelflinger/codeflinger/
Dload_store.cpp165 void GGLAssembler::expand(integer_t& d, const component_t& s, int dbits) in expand() argument
169 expand(d, d, dbits); in expand()
171 expand(d, integer_t(s.reg, s.size(), s.flags), dbits); in expand()
175 void GGLAssembler::expand(component_t& d, const component_t& s, int dbits) in expand() argument
178 expand(r, s, dbits); in expand()
182 void GGLAssembler::expand(integer_t& dst, const integer_t& src, int dbits) in expand() argument
191 dst.s = dbits; in expand()
194 if (dbits<=sbits) { in expand()
202 RSB(AL, 0, d, s, reg_imm(s, LSL, dbits)); in expand()
207 if (dbits % sbits) { in expand()
[all …]
DGGLAssembler.h394 void expand(integer_t& d, const integer_t& s, int dbits);
395 void expand(integer_t& d, const component_t& s, int dbits);
396 void expand(component_t& d, const component_t& s, int dbits);
/system/core/libpixelflinger/
Dbuffer.cpp39 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()
301 v = (v<<dbits) - v; in expand()
303 if (dbits % sbits) { in expand()
304 v <<= (dbits-sbits); in expand()
305 dbits -= sbits; in expand()
308 dbits -= sbits; in expand()
[all …]
Dbuffer.h33 uint32_t ggl_expand(uint32_t v, int sbits, int dbits);