Lines Matching defs:SkGammas
15 struct SkGammas : SkRefCnt { struct
32 const float* table(const SkGammas* base) const { in table() argument
47 const SkColorSpaceTransferFn& params(const SkGammas* base) const { in params() argument
53 bool allChannelsSame() const { in allChannelsSame()
85 bool isNamed (int i) const { return Type::kNamed_Type == this->type(i); } in isNamed()
86 bool isValue (int i) const { return Type::kValue_Type == this->type(i); } in isValue()
87 bool isTable (int i) const { return Type::kTable_Type == this->type(i); } in isTable()
88 bool isParametric(int i) const { return Type::kParam_Type == this->type(i); } in isParametric()
90 const Data& data(int i) const { in data()
117 SkGammas(int channels) : fChannels(channels) { in SkGammas() argument
125 int fChannels;
126 Data fData[4];
127 Type fType[4];
134 void* operator new(size_t size) { return sk_malloc_throw(size); } in new()
135 void* operator new(size_t, void* p) { return p; } in new()
136 void operator delete(void* p) { sk_free(p); } in delete()