Lines Matching refs:Mass
45 OS << getHexDigit(Mass >> (60 - Digits * 4) & 0xf);
64 /// \brief Dithering mass distributer.
66 /// This class splits up a single mass into portions by weight, dithering to
67 /// spread out error. No mass is lost. The dithering precision depends on the
73 /// mass to distribute in \a RemMass.
79 /// 2. Calculate the portion's mass as \a RemMass times P.
81 /// the current portion's weight and mass.
86 DitheringDistributer(Distribution &Dist, const BlockMass &Mass);
93 const BlockMass &Mass) {
96 RemMass = Mass;
102 BlockMass Mass = RemMass * BranchProbability(Weight, RemWeight);
106 RemMass -= Mass;
107 return Mass;
353 DEBUG(dbgs() << " - exit-mass = " << ExitMass << " (" << BlockMass::getFull()
379 BlockMass Mass = Working[Source.Index].getMass();
380 DEBUG(dbgs() << " => mass: " << Mass << "\n");
382 // Distribute mass to successors as laid out in Dist.
383 DitheringDistributer D(Dist, Mass);
456 << ": mass = " << Loop.Mass << ", scale = " << Loop.Scale
458 Loop.Scale *= Loop.Mass.toScaled();
479 Freqs[Index].Scaled = Working[Index].Mass.toScaled();