Home | History | Annotate | Download | only in utils

Lines Matching refs:isRGB

414 // Helper function that decodes two colors from eight values. If isRGB is true,
416 // 0xFF. If isRGB is false, then all eight values come from the pointer 'v'. This
420 static inline void decode_rgba_direct(const int *v, SkColor *endpoints, bool isRGB) {
424 if (!isRGB) {
441 // Helper function that decodes two colors from six values. If isRGB is true,
443 // 0xFF. If isRGB is false, then all six values come from the pointer 'v'. This
447 static inline void decode_rgba_basescale(const int *v, SkColor *endpoints, bool isRGB) {
451 if (!isRGB) {
463 // Helper function that decodes two colors from eight values. If isRGB is true,
465 // 0xFF. If isRGB is false, then all eight values come from the pointer 'v'. This
470 // If isRGB is true, then treat this as if v6 and v7 are meant to encode full alpha values.
471 static inline void decode_rgba_baseoffset(const int *v, SkColor *endpoints, bool isRGB) {
478 int v6 = isRGB ? 0xFF : v[6];
480 int v7 = isRGB ? 0 : v[7];
485 if (!isRGB) {