Home
last modified time | relevance | path

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

/system/core/libpixelflinger/codeflinger/
Dload_store.cpp161 void GGLAssembler::expand(integer_t& d, const component_t& s, int dbits) in expand() argument
165 expand(d, d, dbits); in expand()
167 expand(d, integer_t(s.reg, s.size(), s.flags), dbits); in expand()
171 void GGLAssembler::expand(component_t& d, const component_t& s, int dbits) in expand() argument
174 expand(r, s, dbits); in expand()
178 void GGLAssembler::expand(integer_t& dst, const integer_t& src, int dbits) in expand() argument
187 dst.s = dbits; in expand()
190 if (dbits<=sbits) { in expand()
198 RSB(AL, 0, d, s, reg_imm(s, LSL, dbits)); in expand()
203 if (dbits % sbits) { in expand()
[all …]
DGGLAssembler.h386 void expand(integer_t& d, const integer_t& s, int dbits);
387 void expand(integer_t& d, const component_t& s, int dbits);
388 void expand(component_t& d, const component_t& s, int dbits);
/system/core/libpixelflinger/
Dbuffer.cpp37 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()
296 v = (v<<dbits) - v; in expand()
298 if (dbits % sbits) { in expand()
299 v <<= (dbits-sbits); in expand()
300 dbits -= sbits; in expand()
303 dbits -= sbits; in expand()
[all …]
Dbuffer.h33 uint32_t ggl_expand(uint32_t v, int sbits, int dbits);