Searched refs:pngPtr (Results 1 – 3 of 3) sorted by relevance
/external/deqp/framework/common/ |
D | tcuImageIO.cpp | 160 png_structp pngPtr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); in savePNG() local 162 if (!pngPtr) in savePNG() 165 TCU_CHECK(pngPtr); in savePNG() 168 png_infop infoPtr = png_create_info_struct(pngPtr); in savePNG() 171 png_destroy_write_struct(&pngPtr, NULL); in savePNG() 175 if (setjmp(png_jmpbuf(pngPtr))) in savePNG() 177 png_destroy_write_struct(&pngPtr, &infoPtr); in savePNG() 185 png_init_io(pngPtr, fp); in savePNG() 188 png_set_IHDR(pngPtr, infoPtr, src.getWidth(), src.getHeight(), 8, in savePNG() 191 png_write_info(pngPtr, infoPtr); in savePNG() [all …]
|
/external/skqp/src/images/ |
D | SkPngEncoder.cpp | 61 png_structp pngPtr() { return fPngPtr; } in pngPtr() function in SkPngEncoderMgr 72 SkPngEncoderMgr(png_structp pngPtr, png_infop infoPtr) in SkPngEncoderMgr() argument 73 : fPngPtr(pngPtr) in SkPngEncoderMgr() 84 png_structp pngPtr = in Make() local 86 if (!pngPtr) { in Make() 90 png_infop infoPtr = png_create_info_struct(pngPtr); in Make() 92 png_destroy_write_struct(&pngPtr, nullptr); in Make() 96 png_set_write_fn(pngPtr, (void*)stream, sk_write_fn, nullptr); in Make() 97 return std::unique_ptr<SkPngEncoderMgr>(new SkPngEncoderMgr(pngPtr, infoPtr)); in Make() 406 if (setjmp(png_jmpbuf(fEncoderMgr->pngPtr()))) { in onEncodeRows() [all …]
|
/external/skia/src/images/ |
D | SkPngEncoder.cpp | 61 png_structp pngPtr() { return fPngPtr; } in pngPtr() function in SkPngEncoderMgr 72 SkPngEncoderMgr(png_structp pngPtr, png_infop infoPtr) in SkPngEncoderMgr() argument 73 : fPngPtr(pngPtr) in SkPngEncoderMgr() 84 png_structp pngPtr = in Make() local 86 if (!pngPtr) { in Make() 90 png_infop infoPtr = png_create_info_struct(pngPtr); in Make() 92 png_destroy_write_struct(&pngPtr, nullptr); in Make() 96 png_set_write_fn(pngPtr, (void*)stream, sk_write_fn, nullptr); in Make() 97 return std::unique_ptr<SkPngEncoderMgr>(new SkPngEncoderMgr(pngPtr, infoPtr)); in Make() 411 if (setjmp(png_jmpbuf(fEncoderMgr->pngPtr()))) { in onEncodeRows() [all …]
|