Lines Matching refs:pngPtr
59 png_structp pngPtr() { return fPngPtr; } in pngPtr() function in SkPngEncoderMgr
70 SkPngEncoderMgr(png_structp pngPtr, png_infop infoPtr) in SkPngEncoderMgr() argument
71 : fPngPtr(pngPtr) in SkPngEncoderMgr()
82 png_structp pngPtr = in Make() local
84 if (!pngPtr) { in Make()
88 png_infop infoPtr = png_create_info_struct(pngPtr); in Make()
90 png_destroy_write_struct(&pngPtr, nullptr); in Make()
94 png_set_write_fn(pngPtr, (void*)stream, sk_write_fn, nullptr); in Make()
95 return std::unique_ptr<SkPngEncoderMgr>(new SkPngEncoderMgr(pngPtr, infoPtr)); in Make()
352 if (setjmp(png_jmpbuf(fEncoderMgr->pngPtr()))) { in onEncodeRows()
362 png_write_rows(fEncoderMgr->pngPtr(), &rowPtr, 1); in onEncodeRows()
368 png_write_end(fEncoderMgr->pngPtr(), fEncoderMgr->infoPtr()); in onEncodeRows()