Home | History | Annotate | Download | only in gm

Lines Matching refs:fBmp

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