96341 {
96342 constexpr bitcount_t xtypebits = bitcount_t(sizeof(xtype) * 8);
96343 constexpr bitcount_t bits = bitcount_t(sizeof(itype) * 8);
96344 constexpr bitcount_t opbits = xtypebits >= 128 ? 6
96345 : xtypebits >= 64 ? 5
96346 : xtypebits >= 32 ? 4
96347 : xtypebits >= 16 ? 3
96348 : 2;
96349 constexpr bitcount_t shift = bits - xtypebits;
96350 constexpr bitcount_t
mask = (1 << opbits) - 1;
96352 opbits ? bitcount_t(internal >> (bits - opbits)) &
mask : 0;
96353 internal ^= internal >> (opbits +
rshift);
96354 internal *= mcg_multiplier<itype>::multiplier();
96355 xtype result = internal >> shift;
96356 result ^= result >> ((2U*xtypebits+2U)/3U);
96357 return result;
96358 }
void rshift(InputArray src, Scalar_< int > val, OutputArray dst, Stream &stream=Stream::Null())
GMat mask(const GMat &src, const GMat &mask)