Lines Matching refs:Wide
65 2. `SkPx::Wide` represents those same pixels, but with 16-bits of space per component.
68 `SkPx`, `Wide` and `Alpha` create a somewhat complicated algebra of operations entirely motivated b…
84 SkPx.widenLo() -> Wide // argb -> 0a0r0g0b
85 SkPx.widenHi() -> Wide // argb -> a0r0g0b0
86 SkPx.widenLoHi() -> Wide // argb -> aarrggbb
88 Wide + Wide -> Wide
89 Wide - Wide -> Wide
90 Wide << bits -> Wide
91 Wide >> bits -> Wide
93 SkPx * Alpha -> Wide // 8 x 8 -> 16 bit
94 Wide.div255() -> SkPx // 16-bit -> 8 bit
99 We allow each `SkPx` backend to choose how it physically represents `SkPx`, `SkPx::Wide`, and `SkPx…
111 …ng at implementation details: its `SkPx` is just `uint8_t[4]`, its `SkPx::Wide` `uint16_t[4]`, and…
115 …Wide` as two `__m128i` and `Alpha` as an `__m128i` with each pixel's alpha component replicated fo…
117 …me, or leave it at 4? Does `SkPx` become `__m256i`, or maybe only `SkPx::Wide` does? What's the …