Lines Matching refs:src_w

89   int src_w = 16, src_h = 16;
91 src.allocN32Pixels(src_w, src_h);
94 for (int x = 0; x < src_w; x++) {
95 int i = y * src_w + x;
106 for (int x = 0; x < src_w; x++) {
107 int i = y * src_w + x;
123 int src_w = 16, src_h = 16;
125 src_a.allocN32Pixels(src_w, src_h);
128 src_b.allocN32Pixels(src_w, src_h);
131 for (int x = 0; x < src_w; x++) {
147 for (int x = 0; x < src_w; x++) {
148 int i = y * src_w + x;
163 int src_w = 16, src_h = 16;
166 FillDataToBitmap(src_w, src_h, &src);
170 alpha.allocN32Pixels(src_w, src_h);
172 for (int x = 0; x < src_w; x++) {
187 for (int x = 0; x < src_w; x++) {
212 int src_w = 16, src_h = 16;
214 src.allocN32Pixels(src_w, src_h);
217 for (int x = 0; x < src_w; x++) {
231 for (int x = 0; x < src_w; x++) {
249 int src_w = 16, src_h = 16;
251 src.allocN32Pixels(src_w, src_h);
254 for (int x = 0; x < src_w; x++) {
269 for (int x = 0; x < src_w; x++) {
313 int src_w = 16, src_h = 16;
315 FillDataToBitmap(src_w, src_h, &src);
334 int src_w = 16, src_h = 16;
336 FillDataToBitmap(src_w, src_h, &src);
339 src, src_w / 2, src_h / 2, src_w, src_h);
340 ASSERT_EQ(src_w, cropped.width());
346 for (int x = 0; x < src_w; x++) {
348 *cropped.getAddr32((x + src_w / 2) % src_w,
507 const int src_w = 6, src_h = 4;
514 src.allocN32Pixels(src_w, src_h);
520 region.setRect(0, 0, src_w / 2, src_h / 2);
524 region.setRect(src_w / 2, 0, src_w, src_h / 2);
527 region.setRect(0, src_h / 2, src_w / 2, src_h);
530 region.setRect(src_w / 2, src_h / 2, src_w, src_h);
555 for (int x=0; x < src_w; ++x) {
558 ASSERT_EQ(*src.getAddr32(x,y), *rotate270.getAddr32(y, src_w - (x+1)));
560 *rotate180.getAddr32(src_w - (x+1), src_h - (y+1)));