Lines Matching refs:pngPtr
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()
423 png_write_rows(fEncoderMgr->pngPtr(), &rowPtr, 1); in onEncodeRows()
429 png_write_end(fEncoderMgr->pngPtr(), fEncoderMgr->infoPtr()); in onEncodeRows()