OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkData.h" | 8 #include "SkData.h" |
9 #include "SkGraphics.h" | 9 #include "SkGraphics.h" |
10 #include "SkImageGenerator.h" | 10 #include "SkImageGenerator.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 ig.getYUV8Planes(sizes, nullptr, rowBytes, nullptr); | 61 ig.getYUV8Planes(sizes, nullptr, rowBytes, nullptr); |
62 ig.getYUV8Planes(sizes, planes, rowBytes, nullptr); | 62 ig.getYUV8Planes(sizes, planes, rowBytes, nullptr); |
63 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace); | 63 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace); |
64 | 64 |
65 int dummy; | 65 int dummy; |
66 planes[0] = planes[1] = planes[2] = &dummy; | 66 planes[0] = planes[1] = planes[2] = &dummy; |
67 rowBytes[0] = rowBytes[1] = rowBytes[2] = 250; | 67 rowBytes[0] = rowBytes[1] = rowBytes[2] = 250; |
68 | 68 |
69 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace); | 69 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace); |
70 | 70 |
71 test_imagegenerator_factory(reporter); | 71 // Suppressed due to https://code.google.com/p/skia/issues/detail?id=4339 |
| 72 if (false) { |
| 73 test_imagegenerator_factory(reporter); |
| 74 } |
72 } | 75 } |
OLD | NEW |