Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
bb317fb0
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
11 个月 前同步成功
通知
4
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Libpng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bb317fb0
编写于
4月 28, 2010
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[devel] Bump to libpng-1.5.0beta22
上级
deec549d
变更
24
隐藏空白更改
内联
并排
Showing
24 changed file
with
50 addition
and
50 deletion
+50
-50
example.c
example.c
+1
-1
libpng-1.5.0beta22.txt
libpng-1.5.0beta22.txt
+5
-5
libpng.3
libpng.3
+10
-10
libpngpf.3
libpngpf.3
+2
-2
png.c
png.c
+4
-4
png.h
png.h
+9
-9
pngconf.h
pngconf.h
+1
-1
pngdebug.h
pngdebug.h
+1
-1
pngerror.c
pngerror.c
+1
-1
pngget.c
pngget.c
+1
-1
pnginfo.h
pnginfo.h
+1
-1
pngmem.c
pngmem.c
+1
-1
pngpread.c
pngpread.c
+1
-1
pngpriv.h
pngpriv.h
+1
-1
pngread.c
pngread.c
+1
-1
pngrio.c
pngrio.c
+1
-1
pngrtran.c
pngrtran.c
+1
-1
pngset.c
pngset.c
+1
-1
pngstruct.h
pngstruct.h
+1
-1
pngtest.c
pngtest.c
+2
-2
pngtrans.c
pngtrans.c
+1
-1
pngwio.c
pngwio.c
+1
-1
pngwrite.c
pngwrite.c
+1
-1
pngwtran.c
pngwtran.c
+1
-1
未找到文件。
example.c
浏览文件 @
bb317fb0
...
...
@@ -2,7 +2,7 @@
#if 0 /* in case someone actually tries to compile this */
/* example.c - an example of using libpng
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* This file has been placed in the public domain by the authors.
* Maintained 1998-2010 Glenn Randers-Pehrson
* Maintained 1996, 1997 Andreas Dilger)
...
...
libpng-1.5.0beta2
1
.txt
→
libpng-1.5.0beta2
2
.txt
浏览文件 @
bb317fb0
libpng.txt - A description on how to use and modify libpng
libpng version 1.5.0beta2
1 - April 27
, 2010
libpng version 1.5.0beta2
2 - April 28
, 2010
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
...
@@ -11,7 +11,7 @@ libpng.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.5.0beta2
1 - April 27
, 2010
libpng versions 0.97, January 1998, through 1.5.0beta2
2 - April 28
, 2010
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
...
@@ -906,7 +906,7 @@ things.
As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was
added. It expands the sample depth without changing tRNS to alpha.
As of libpng version 1.5.0beta2
1
, not all possible expansions are supported.
As of libpng version 1.5.0beta2
2
, not all possible expansions are supported.
In the following table, the 01 means grayscale with depth<8, 31 means
indexed with depth<8, other numerals represent the color type, "T" means
...
...
@@ -3301,13 +3301,13 @@ Other rules can be inferred by inspecting the libpng source.
XIII. Y2K Compliance in libpng
April 2
7
, 2010
April 2
8
, 2010
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
This is your unofficial assurance that libpng from version 0.71 and
upward through 1.5.0beta2
1
are Y2K compliant. It is my belief that earlier
upward through 1.5.0beta2
2
are Y2K compliant. It is my belief that earlier
versions were also Y2K compliant.
Libpng only has three year fields. One is a 2-byte unsigned integer that
...
...
libpng.3
浏览文件 @
bb317fb0
.TH LIBPNG 3 "April 2
7
, 2010"
.TH LIBPNG 3 "April 2
8
, 2010"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.0beta2
1
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.0beta2
2
.SH SYNOPSIS
\fI\fB
...
...
@@ -789,7 +789,7 @@ Following is a copy of the libpng.txt file that accompanies libpng.
.SH LIBPNG.TXT
libpng.txt - A description on how to use and modify libpng
libpng version 1.5.0beta2
1 - April 27
, 2010
libpng version 1.5.0beta2
2 - April 28
, 2010
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
...
@@ -800,7 +800,7 @@ libpng.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.5.0beta2
1 - April 27
, 2010
libpng versions 0.97, January 1998, through 1.5.0beta2
2 - April 28
, 2010
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
...
@@ -1695,7 +1695,7 @@ things.
As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was
added. It expands the sample depth without changing tRNS to alpha.
As of libpng version 1.5.0beta2
1
, not all possible expansions are supported.
As of libpng version 1.5.0beta2
2
, not all possible expansions are supported.
In the following table, the 01 means grayscale with depth<8, 31 means
indexed with depth<8, other numerals represent the color type, "T" means
...
...
@@ -4090,13 +4090,13 @@ Other rules can be inferred by inspecting the libpng source.
.SH XIII. Y2K Compliance in libpng
April 2
7
, 2010
April 2
8
, 2010
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
This is your unofficial assurance that libpng from version 0.71 and
upward through 1.5.0beta2
1
are Y2K compliant. It is my belief that earlier
upward through 1.5.0beta2
2
are Y2K compliant. It is my belief that earlier
versions were also Y2K compliant.
Libpng only has three year fields. One is a 2-byte unsigned integer that
...
...
@@ -4330,7 +4330,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.5.0beta2
1 - April 27
, 2010:
Libpng version 1.5.0beta2
2 - April 28
, 2010:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
...
...
@@ -4353,7 +4353,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.5.0beta2
1, April 27
, 2010, are
libpng versions 1.2.6, August 15, 2004, through 1.5.0beta2
2, April 28
, 2010, are
Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors
...
...
@@ -4452,7 +4452,7 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
April 2
7
, 2010
April 2
8
, 2010
.\" end of man page
libpngpf.3
浏览文件 @
bb317fb0
.TH LIBPNGPF 3 "April 2
7
, 2010"
.TH LIBPNGPF 3 "April 2
8
, 2010"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.0beta2
1
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.0beta2
2
(private functions)
.SH SYNOPSIS
\fB#include \fI"pngpriv.h"
...
...
png.c
浏览文件 @
bb317fb0
/* png.c - location for general purpose libpng functions
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
@@ -14,7 +14,7 @@
#include "pngpriv.h"
/* Generate a compiler error if there is an old png.h in the search path. */
typedef
version_1_5_0beta2
1
Your_png_h_is_not_version_1_5_0beta21
;
typedef
version_1_5_0beta2
2
Your_png_h_is_not_version_1_5_0beta22
;
/* Version information for C files. This had better match the version
* string defined in png.h.
...
...
@@ -548,13 +548,13 @@ png_get_copyright(png_structp png_ptr)
#else
# ifdef __STDC__
return
((
png_charp
)
PNG_STRING_NEWLINE
\
"libpng version 1.5.0beta2
1 - April 27
, 2010"
PNG_STRING_NEWLINE
\
"libpng version 1.5.0beta2
2 - April 28
, 2010"
PNG_STRING_NEWLINE
\
"Copyright (c) 1998-2010 Glenn Randers-Pehrson"
PNG_STRING_NEWLINE
\
"Copyright (c) 1996-1997 Andreas Dilger"
PNG_STRING_NEWLINE
\
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
\
PNG_STRING_NEWLINE
);
# else
return
((
png_charp
)
"libpng version 1.5.0beta2
1 - April 27
, 2010\
return
((
png_charp
)
"libpng version 1.5.0beta2
2 - April 28
, 2010\
Copyright (c) 1998-2010 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
);
...
...
png.h
浏览文件 @
bb317fb0
/* png.h - header file for PNG reference library
*
* libpng version 1.5.0beta2
1 - April 27
, 2010
* libpng version 1.5.0beta2
2 - April 28
, 2010
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
@@ -11,7 +11,7 @@
* Authors and maintainers:
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
* libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger
* libpng versions 0.97, January 1998, through 1.5.0beta2
1 - April 27
, 2010: Glenn
* libpng versions 0.97, January 1998, through 1.5.0beta2
2 - April 28
, 2010: Glenn
* See also "Contributing Authors", below.
*
* Note about libpng version numbers:
...
...
@@ -170,7 +170,7 @@
*
* This code is released under the libpng license.
*
* libpng versions 1.2.6, August 15, 2004, through 1.5.0beta2
1, April 27
, 2010, are
* libpng versions 1.2.6, August 15, 2004, through 1.5.0beta2
2, April 28
, 2010, are
* Copyright (c) 2004, 2006-2010 Glenn Randers-Pehrson, and are
* distributed according to the same disclaimer and license as libpng-1.2.5
* with the following individual added to the list of Contributing Authors:
...
...
@@ -282,13 +282,13 @@
* Y2K compliance in libpng:
* =========================
*
* April 2
7
, 2010
* April 2
8
, 2010
*
* Since the PNG Development group is an ad-hoc body, we can't make
* an official declaration.
*
* This is your unofficial assurance that libpng from version 0.71 and
* upward through 1.5.0beta2
1
are Y2K compliant. It is my belief that earlier
* upward through 1.5.0beta2
2
are Y2K compliant. It is my belief that earlier
* versions were also Y2K compliant.
*
* Libpng only has three year fields. One is a 2-byte unsigned integer
...
...
@@ -344,9 +344,9 @@
*/
/* Version information for png.h - this should match the version in png.c */
#define PNG_LIBPNG_VER_STRING "1.5.0beta2
1
"
#define PNG_LIBPNG_VER_STRING "1.5.0beta2
2
"
#define PNG_HEADER_VERSION_STRING \
" libpng version 1.5.0beta2
1 - April 27
, 2010\n"
" libpng version 1.5.0beta2
2 - April 28
, 2010\n"
#define PNG_LIBPNG_VER_SONUM 15
#define PNG_LIBPNG_VER_DLLNUM 15
...
...
@@ -359,7 +359,7 @@
* PNG_LIBPNG_VER_STRING, omitting any leading zero:
*/
#define PNG_LIBPNG_VER_BUILD 2
1
#define PNG_LIBPNG_VER_BUILD 2
2
/* Release Status */
#define PNG_LIBPNG_BUILD_ALPHA 1
...
...
@@ -834,7 +834,7 @@ typedef PNG_CALLBACK(void, *png_free_ptr, (png_structp, png_voidp),);
/* This triggers a compiler error in png.c, if png.c and png.h
* do not agree upon the version number.
*/
typedef
png_structp
version_1_5_0beta2
1
;
typedef
png_structp
version_1_5_0beta2
2
;
typedef
png_struct
FAR
*
FAR
*
png_structpp
;
...
...
pngconf.h
浏览文件 @
bb317fb0
/* pngconf.h - machine configurable file for libpng
*
* libpng version 1.5.0beta2
1 - April 27
, 2010
* libpng version 1.5.0beta2
2 - April 28
, 2010
*
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
...
...
pngdebug.h
浏览文件 @
bb317fb0
...
...
@@ -5,7 +5,7 @@
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* Last changed in libpng version 1.5.0 - April 2
7
, 2010
* Last changed in libpng version 1.5.0 - April 2
8
, 2010
*
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
...
...
pngerror.c
浏览文件 @
bb317fb0
/* pngerror.c - stub functions for i/o and memory allocation
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngget.c
浏览文件 @
bb317fb0
/* pngget.c - retrieval of values from info struct
*
* Last changed in libpng 1.4.1 [April 2
7
, 2010]
* Last changed in libpng 1.4.1 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pnginfo.h
浏览文件 @
bb317fb0
...
...
@@ -5,7 +5,7 @@
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* Last changed in libpng version 1.5.0 - April 2
7
, 2010
* Last changed in libpng version 1.5.0 - April 2
8
, 2010
*
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
...
...
pngmem.c
浏览文件 @
bb317fb0
/* pngmem.c - stub functions for memory allocation
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngpread.c
浏览文件 @
bb317fb0
/* pngpread.c - read a png file in push mode
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngpriv.h
浏览文件 @
bb317fb0
/* pngpriv.h - private declarations for use inside libpng
*
* libpng version 1.5.0beta2
1 - April 27
, 2010
* libpng version 1.5.0beta2
2 - April 28
, 2010
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
...
...
pngread.c
浏览文件 @
bb317fb0
/* pngread.c - read a PNG file
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngrio.c
浏览文件 @
bb317fb0
/* pngrio.c - functions for data input
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngrtran.c
浏览文件 @
bb317fb0
/* pngrtran.c - transforms the data in a row for PNG readers
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngset.c
浏览文件 @
bb317fb0
/* pngset.c - storage of image information into info struct
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngstruct.h
浏览文件 @
bb317fb0
...
...
@@ -5,7 +5,7 @@
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
*
* Last changed in libpng version 1.5.0 - April 2
7
, 2010
* Last changed in libpng version 1.5.0 - April 2
8
, 2010
*
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
...
...
pngtest.c
浏览文件 @
bb317fb0
/* pngtest.c - a simple test program to test libpng
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
@@ -1632,4 +1632,4 @@ main(int argc, char *argv[])
}
/* Generate a compiler error if there is an old png.h in the search path. */
typedef
version_1_5_0beta2
1
your_png_h_is_not_version_1_5_0beta21
;
typedef
version_1_5_0beta2
2
your_png_h_is_not_version_1_5_0beta22
;
pngtrans.c
浏览文件 @
bb317fb0
/* pngtrans.c - transforms the data in a row (used by both readers and writers)
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngwio.c
浏览文件 @
bb317fb0
/* pngwio.c - functions for data output
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngwrite.c
浏览文件 @
bb317fb0
/* pngwrite.c - general routines to write a PNG file
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
pngwtran.c
浏览文件 @
bb317fb0
/* pngwtran.c - transforms the data in a row for PNG writers
*
* Last changed in libpng 1.5.0 [April 2
7
, 2010]
* Last changed in libpng 1.5.0 [April 2
8
, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录