Home
last modified time | relevance | path

Searched refs:decode_file (Results 1 – 13 of 13) sorted by relevance

/external/skia/samplecode/
DDecodeFile.h16 static inline bool decode_file(const char* filename, SkBitmap* bitmap,
37 static inline sk_sp<SkImage> decode_file(const char filename[]) { in decode_file() function
DSampleLighting.cpp41 decode_file(diffusePath.c_str(), &fDiffuseBitmap); in LightingView()
43 decode_file(normalPath.c_str(), &fNormalBitmap); in LightingView()
DSampleFilter2.cpp37 decode_file(gNames[i], &fBitmaps[i]); in Filter2View()
40 decode_file(gNames[i-fBitmapCount/2], &fBitmaps[i], kRGB_565_SkColorType); in Filter2View()
DSampleIdentityScale.cpp29 if (!decode_file(resourcePath.c_str(), &fBM)) { in IdentityScaleView()
DSampleCamera.cpp36 if (decode_file(str.c_str(), &bm)) { in CameraView()
DSampleLines.cpp63 decode_file("/kill.gif", &bm); in onDrawContent()
DSampleAll.cpp471 decode_file("/Users/caryclark/Desktop/bugcirc.gif", &fBug); in startTest()
472 decode_file("/Users/caryclark/Desktop/tbcirc.gif", &fTb); in startTest()
473 decode_file("/Users/caryclark/Desktop/05psp04.gif", &fTx); in startTest()
DSampleShaders.cpp45 decode_file("/skimages/logo.gif", &fBitmap); in ShaderView()
DSampleSubpixelTranslate.cpp30 if (!decode_file(resourcePath.c_str(), &fBM)) { in SubpixelTranslateView()
DSampleUnpremul.cpp166 fDecodeSucceeded = decode_file(fCurrFile.c_str(), &fBitmap, kN32_SkColorType, !fPremul); in decodeCurrFile()
DSamplePictFile.cpp150 if (sk_sp<SkImage> img = decode_file(path)) { in LoadPicture()
DSamplePatch.cpp35 decode_file("/skimages/logo.png", &bm); in make_shader0()
DSampleSlides.cpp316 decode_file("/skimages/logo.gif", &bm); in make_shader0()