pngwriter.cc (12230:48021d6b51eb) pngwriter.cc (12334:e0ab29a34764)
1/*
2 * Copyright (c) 2017 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 37 unchanged lines hidden (view full) ---

46extern "C"
47{
48#include <png.h>
49}
50
51#include <cstdio>
52#include <cstdlib>
53
1/*
2 * Copyright (c) 2017 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 37 unchanged lines hidden (view full) ---

46extern "C"
47{
48#include <png.h>
49}
50
51#include <cstdio>
52#include <cstdlib>
53
54#include "base/misc.hh"
54#include "base/logging.hh"
55
56const char* PngWriter::_imgExtension = "png";
57
58/**
59 * Write callback to use with libpng APIs
60 *
61 * @param pngPtr pointer to the png_struct structure
62 * @param data pointer to the data being written

--- 113 unchanged lines hidden ---
55
56const char* PngWriter::_imgExtension = "png";
57
58/**
59 * Write callback to use with libpng APIs
60 *
61 * @param pngPtr pointer to the png_struct structure
62 * @param data pointer to the data being written

--- 113 unchanged lines hidden ---