• Home
  • Raw
  • Download

Lines Matching refs:srcInfo

29                         const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB,  in rect_memcpy()  argument
32 if (dstInfo.colorType() != srcInfo.colorType()) { in rect_memcpy()
46 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB, in swizzle_or_premul() argument
52 !is_8888(srcInfo.colorType()) || in swizzle_or_premul()
62 const bool swapRB = dstInfo.colorType() != srcInfo.colorType(); in swizzle_or_premul()
87 const SkImageInfo& srcInfo, const void* src, size_t srcRB, in convert_to_alpha8() argument
94 switch (srcInfo.colorType()) { in convert_to_alpha8()
105 for (int y = 0; y < srcInfo.height(); y++) { in convert_to_alpha8()
106 for (int x = 0; x < srcInfo.width(); x++) { in convert_to_alpha8()
126 for (int y = 0; y < srcInfo.height(); ++y) { in convert_to_alpha8()
127 memset(dst, 0xFF, srcInfo.width()); in convert_to_alpha8()
135 for (int y = 0; y < srcInfo.height(); y++) { in convert_to_alpha8()
136 for (int x = 0; x < srcInfo.width(); x++) { in convert_to_alpha8()
149 for (int y = 0; y < srcInfo.height(); y++) { in convert_to_alpha8()
150 for (int x = 0; x < srcInfo.width(); x++) { in convert_to_alpha8()
162 for (int y = 0; y < srcInfo.height(); y++) { in convert_to_alpha8()
163 for (int x = 0; x < srcInfo.width(); x++) { in convert_to_alpha8()
175 for (int y = 0; y < srcInfo.height(); y++) { in convert_to_alpha8()
176 for (int x = 0; x < srcInfo.width(); x++) { in convert_to_alpha8()
187 for (int y = 0; y < srcInfo.height(); y++) { in convert_to_alpha8()
188 for (int x = 0; x < srcInfo.width(); x++) { in convert_to_alpha8()
199 for (int y = 0; y < srcInfo.height(); y++) { in convert_to_alpha8()
200 for (int x = 0; x < srcInfo.width(); x++) { in convert_to_alpha8()
211 for (int y = 0; y < srcInfo.height(); y++) { in convert_to_alpha8()
212 for (int x = 0; x < srcInfo.width(); x++) { in convert_to_alpha8()
233 for (int y = 0; y < srcInfo.height(); y++) { in convert_to_alpha8()
234 for (int x = 0; x < srcInfo.width(); x++) { in convert_to_alpha8()
248 const SkImageInfo& srcInfo, const void* srcRow, int srcStride, in convert_with_pipeline() argument
254 pipeline.appendLoad(srcInfo.colorType(), &src); in convert_with_pipeline()
257 pipeline.run(0,0, srcInfo.width(), srcInfo.height()); in convert_with_pipeline()
261 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRB) { in SkConvertPixels() argument
262 SkASSERT(dstInfo.dimensions() == srcInfo.dimensions()); in SkConvertPixels()
263 SkASSERT(SkImageInfoValidConversion(dstInfo, srcInfo)); in SkConvertPixels()
265 int srcStride = (int)(srcRB / srcInfo.bytesPerPixel()); in SkConvertPixels()
267 if ((size_t)srcStride * srcInfo.bytesPerPixel() != srcRB || in SkConvertPixels()
272 SkColorSpaceXformSteps steps{srcInfo.colorSpace(), srcInfo.alphaType(), in SkConvertPixels()
276 if (fn(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, srcRB, steps)) { in SkConvertPixels()
280 convert_with_pipeline(dstInfo, dstPixels, dstStride, srcInfo, srcPixels, srcStride, steps); in SkConvertPixels()