Lines Matching defs:png
12 #include "third_party/libpng/png.h"
38 // Represents a comment in the tEXt ancillary chunk of the png.
73 // in turn based on the Mozilla png decoder.
78 const double kMaxGamma = 21474.83; // Maximum gamma accepted by png library.
143 // Called when the png header has been read. This code is based on the WebKit
298 return false; // Input data too small to be a png
364 // Passed around as the io_ptr in the png structs so our callbacks know where
372 void EncoderWriteCallback(png_structp png, png_bytep data, png_size_t size) {
373 PngEncoderState* state = static_cast<PngEncoderState*>(png_get_io_ptr(png));
381 void FakeFlushCallback(png_structp png) {