Searched refs:srcContext (Results 1 – 2 of 2) sorted by relevance
/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()
|