Lines Matching defs:dstInfo
33 static inline bool valid_color_type(const SkImageInfo& dstInfo) {
34 switch (dstInfo.colorType()) {
42 return dstInfo.colorSpace() && dstInfo.colorSpace()->gammaIsLinear();
191 SkCodec::Result SkWbmpCodec::onStartScanlineDecode(const SkImageInfo& dstInfo,
198 if (!valid_color_type(dstInfo) ||
199 !valid_alpha(dstInfo.alphaType(), this->getInfo().alphaType()))
205 setup_color_table(dstInfo.colorType(), inputColorTable, inputColorCount);
208 if (kIndex_8_SkColorType == dstInfo.colorType()) {
213 fSwizzler.reset(this->initializeSwizzler(dstInfo, get_color_ptr(fColorTable.get()), options));