Lines Matching refs:pixels
73 SkCodec::Result SkSampledCodec::onGetAndroidPixels(const SkImageInfo& info, void* pixels, in onGetAndroidPixels() argument
82 return this->codec()->getPixels(info, pixels, rowBytes, &codecOptions, in onGetAndroidPixels()
87 return this->sampledDecode(info, pixels, rowBytes, options); in onGetAndroidPixels()
95 return this->sampledDecode(info, pixels, rowBytes, options); in onGetAndroidPixels()
120 this->codec()->fillIncompleteImage(info, pixels, rowBytes, options.fZeroInitialized, in onGetAndroidPixels()
125 int decodedLines = this->codec()->getScanlines(pixels, scaledSubsetHeight, rowBytes); in onGetAndroidPixels()
138 SkCodec::Result SkSampledCodec::sampledDecode(const SkImageInfo& info, void* pixels, in sampledDecode() argument
208 this->codec()->fillIncompleteImage(info, pixels, rowBytes, options.fZeroInitialized, in sampledDecode()
212 void* pixelPtr = pixels; in sampledDecode()
215 this->codec()->fillIncompleteImage(info, pixels, rowBytes, in sampledDecode()
221 this->codec()->fillIncompleteImage(info, pixels, rowBytes, in sampledDecode()
238 void* pixelPtr = SkTAddOffset<void>(pixels, in sampledDecode()
264 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
275 this->codec()->fillIncompleteImage(info, pixels, rowBytes, options.fZeroInitialized, in sampledDecode()
282 memcpy(pixels, storagePtr, info.minRowBytes()); in sampledDecode()
284 pixels = SkTAddOffset<void>(pixels, rowBytes); in sampledDecode()