Searched refs:srcContext (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/tests/ |
D | TestUtils.cpp | 23 GrSurfaceContext* srcContext, uint32_t expectedPixelValues[], in test_read_pixels() argument 25 int pixelCnt = srcContext->width() * srcContext->height(); in test_read_pixels() 29 SkImageInfo ii = SkImageInfo::Make(srcContext->width(), srcContext->height(), in test_read_pixels() 31 bool read = srcContext->readPixels(ii, pixels.get(), 0, {0, 0}); in test_read_pixels()
|
D | TestUtils.h | 17 void test_read_pixels(skiatest::Reporter*, GrSurfaceContext* srcContext, 22 void test_write_pixels(skiatest::Reporter*, GrSurfaceContext* srcContext, bool expectedToWork,
|
/third_party/skia/tests/ |
D | TestUtils.cpp | 26 skgpu::SurfaceContext* srcContext, in TestReadPixels() argument 29 int pixelCnt = srcContext->width() * srcContext->height(); in TestReadPixels() 30 SkImageInfo ii = SkImageInfo::Make(srcContext->dimensions(), in TestReadPixels() 37 bool read = srcContext->readPixels(dContext, pm, {0, 0}); in TestReadPixels()
|
/third_party/ffmpeg/libswscale/tests/ |
D | swscale.c | 105 struct SwsContext *srcContext = NULL; in doTest() local 126 srcContext = sws_getContext(w, h, AV_PIX_FMT_YUVA420P, srcW, srcH, in doTest() 128 if (!srcContext) { in doTest() 135 sws_scale(srcContext, ref, refStride, 0, h, in doTest() 137 sws_freeContext(srcContext); in doTest()
|