26 void SkAlphaRuns::assertValid(
int y,
int maxStep)
const {
27 int max = (
y + 1) * maxStep - (
y == maxStep - 1);
29 const int16_t* runs =
fRuns;
30 const uint8_t* alpha =
fAlpha;
40 const int16_t* runs =
fRuns;
41 const uint8_t* alpha =
fAlpha;
57 void SkAlphaRuns::validate()
const {
61 const int16_t* runs =
fRuns;
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
constexpr int16_t SkToS16(S x)
static void dump(const float m[20], SkYUVColorSpace cs, bool rgb2yuv)
void reset(int width)
Reinitialize for a new scanline.
SkDEBUGCODE(void assertValid(int y, int maxStep) const ;) SkDEBUGCODE(void dump() const
static float max(float r, float g, float b)
void(* memset16)(uint16_t[], uint16_t, int)