Lines Matching defs:scale
893 // shift to 0...Pi, scale 1/Pi to get into 0...1, then fract, scale-up, shift-back
1532 // Map min channel to 0, max channel to s, and scale the middle proportionally.
1533 auto scale = [&](skvm::F32 c) {
1537 *r = scale(*r);
1538 *g = scale(*g);
1539 *b = scale(*b);
1832 // SIB byte encodes a memory address, base + (index * scale).
1833 static uint8_t sib(Assembler::Scale scale, int index, int base) {
1834 return _233((int)scale, index, base);
1957 this->byte(sib(m.scale, m.index&7, m.base&7));
2191 this->byte(sib(m.scale, m.index&7, m.base&7));
2278 void Assembler::vgatherdps(Ymm dst, Scale scale, Ymm ix, GP64 base, Ymm mask) {
2292 this->byte(sib(scale, ix&7, base&7));