summaryrefslogtreecommitdiff
path: root/samples/fx_lpng/src
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-02-23 15:59:57 -0800
committerTom Sepez <tsepez@chromium.org>2015-02-23 15:59:57 -0800
commitef1e85caf492e1b9bf9803647d3c5db1abea77c7 (patch)
tree862726a78c398a617968e4dfde2ef105b52acf77 /samples/fx_lpng/src
parent28ddd48bfd84c55cc51d0b16fa533c51affdeb5b (diff)
downloadpdfium-ef1e85caf492e1b9bf9803647d3c5db1abea77c7.tar.xz
Backport PNG output format to origin/master branch.
The pdfium library itself does not support the format, but the test utility can convert to this output format. GN build can't be tested standalone, so push this out to the next CL. R=jam@chromium.org Review URL: https://codereview.chromium.org/950113002
Diffstat (limited to 'samples/fx_lpng/src')
-rw-r--r--samples/fx_lpng/src/fx_png.c7
-rw-r--r--samples/fx_lpng/src/fx_pngerror.c7
-rw-r--r--samples/fx_lpng/src/fx_pngget.c7
-rw-r--r--samples/fx_lpng/src/fx_pngmem.c7
-rw-r--r--samples/fx_lpng/src/fx_pngpread.c7
-rw-r--r--samples/fx_lpng/src/fx_pngread.c7
-rw-r--r--samples/fx_lpng/src/fx_pngrio.c7
-rw-r--r--samples/fx_lpng/src/fx_pngrtran.c7
-rw-r--r--samples/fx_lpng/src/fx_pngrutil.c7
-rw-r--r--samples/fx_lpng/src/fx_pngset.c7
-rw-r--r--samples/fx_lpng/src/fx_pngtrans.c7
-rw-r--r--samples/fx_lpng/src/fx_pngwio.c7
-rw-r--r--samples/fx_lpng/src/fx_pngwrite.c10
-rw-r--r--samples/fx_lpng/src/fx_pngwtran.c7
-rw-r--r--samples/fx_lpng/src/fx_pngwutil.c7
15 files changed, 108 insertions, 0 deletions
diff --git a/samples/fx_lpng/src/fx_png.c b/samples/fx_lpng/src/fx_png.c
new file mode 100644
index 0000000000..7b6582666f
--- /dev/null
+++ b/samples/fx_lpng/src/fx_png.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_png.c"
diff --git a/samples/fx_lpng/src/fx_pngerror.c b/samples/fx_lpng/src/fx_pngerror.c
new file mode 100644
index 0000000000..7581b99130
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngerror.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngerror.c"
diff --git a/samples/fx_lpng/src/fx_pngget.c b/samples/fx_lpng/src/fx_pngget.c
new file mode 100644
index 0000000000..cc8dc4e6b7
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngget.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngget.c"
diff --git a/samples/fx_lpng/src/fx_pngmem.c b/samples/fx_lpng/src/fx_pngmem.c
new file mode 100644
index 0000000000..9892408d70
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngmem.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngmem.c"
diff --git a/samples/fx_lpng/src/fx_pngpread.c b/samples/fx_lpng/src/fx_pngpread.c
new file mode 100644
index 0000000000..8d53be20a6
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngpread.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngpread.c"
diff --git a/samples/fx_lpng/src/fx_pngread.c b/samples/fx_lpng/src/fx_pngread.c
new file mode 100644
index 0000000000..c612bd533e
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngread.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngread.c"
diff --git a/samples/fx_lpng/src/fx_pngrio.c b/samples/fx_lpng/src/fx_pngrio.c
new file mode 100644
index 0000000000..d324a8e6e5
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngrio.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngrio.c"
diff --git a/samples/fx_lpng/src/fx_pngrtran.c b/samples/fx_lpng/src/fx_pngrtran.c
new file mode 100644
index 0000000000..bec380dc3c
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngrtran.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngrtran.c"
diff --git a/samples/fx_lpng/src/fx_pngrutil.c b/samples/fx_lpng/src/fx_pngrutil.c
new file mode 100644
index 0000000000..a3da3555e3
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngrutil.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngrutil.c"
diff --git a/samples/fx_lpng/src/fx_pngset.c b/samples/fx_lpng/src/fx_pngset.c
new file mode 100644
index 0000000000..76a72223f2
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngset.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngset.c"
diff --git a/samples/fx_lpng/src/fx_pngtrans.c b/samples/fx_lpng/src/fx_pngtrans.c
new file mode 100644
index 0000000000..eac49bf227
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngtrans.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngtrans.c"
diff --git a/samples/fx_lpng/src/fx_pngwio.c b/samples/fx_lpng/src/fx_pngwio.c
new file mode 100644
index 0000000000..3fb21e5b0b
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngwio.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngwio.c"
diff --git a/samples/fx_lpng/src/fx_pngwrite.c b/samples/fx_lpng/src/fx_pngwrite.c
new file mode 100644
index 0000000000..4434fd0cb4
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngwrite.c
@@ -0,0 +1,10 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifdef _MSC_VER
+#define _CRT_SECURE_NO_WARNINGS
+#endif
+#include "../lpng_v163/fx_pngwrite.c"
diff --git a/samples/fx_lpng/src/fx_pngwtran.c b/samples/fx_lpng/src/fx_pngwtran.c
new file mode 100644
index 0000000000..8a095d3565
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngwtran.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngwtran.c"
diff --git a/samples/fx_lpng/src/fx_pngwutil.c b/samples/fx_lpng/src/fx_pngwutil.c
new file mode 100644
index 0000000000..b07fb40500
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngwutil.c
@@ -0,0 +1,7 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../lpng_v163/fx_pngwutil.c"