Lines Matching refs:fBmp
49 fBmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
51 fBmp[1].allocPixels(uinfo); in onOnceBeforeDraw()
53 fBmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
56 pixels[i] = (unsigned char*)fBmp[i].getPixels(); in onOnceBeforeDraw()
63 const size_t nbBytes = fBmp[i].rowBytes() * fBmp[i].height(); in onOnceBeforeDraw()
91 desc.fWidth = fBmp[i].width(); in onDraw()
92 desc.fHeight = fBmp[i].height(); in onDraw()
93 desc.fConfig = SkImageInfo2GrPixelConfig(fBmp[i].info(), *context->caps()); in onDraw()
97 fBmp[i].getPixels(), fBmp[i].rowBytes()); in onDraw()
110 SkRect renderRect = SkRect::MakeWH(SkIntToScalar(fBmp[0].width()), in onDraw()
111 SkIntToScalar(fBmp[0].height())); in onDraw()
146 SkBitmap fBmp[3]; member in skiagm::YUVtoRGBEffect
172 fBmp[0].allocPixels(yinfo); in onOnceBeforeDraw()
174 fBmp[1].allocPixels(uvinfo); in onOnceBeforeDraw()
181 unsigned char* pixels = (unsigned char*)fBmp[0].getPixels(); in onOnceBeforeDraw()
182 const size_t nbBytes = fBmp[0].rowBytes() * fBmp[0].height(); in onOnceBeforeDraw()
190 for (int y = 0; y < fBmp[1].height(); ++y) { in onOnceBeforeDraw()
191 uint32_t* pixels = fBmp[1].getAddr32(0, y); in onOnceBeforeDraw()
192 for (int j = 0; j < fBmp[1].width(); ++j) { in onOnceBeforeDraw()
223 desc.fWidth = fBmp[index].width(); in onDraw()
224 desc.fHeight = fBmp[index].height(); in onDraw()
225 desc.fConfig = SkImageInfo2GrPixelConfig(fBmp[index].info(), *context->caps()); in onDraw()
229 fBmp[index].getPixels(), in onDraw()
230 fBmp[index].rowBytes()); in onDraw()
244 SkRect::MakeWH(SkIntToScalar(fBmp[0].width()), SkIntToScalar(fBmp[0].height())); in onDraw()
269 SkBitmap fBmp[2]; member in skiagm::YUVNV12toRGBEffect