Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
2e31b96a
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
大约 1 年 前同步成功
通知
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,发现更多精彩内容 >>
提交
2e31b96a
编写于
11月 28, 2011
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng15] Revised #if PNG_DO_BC block in png.c (use #ifdef and add #else)
上级
02221248
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
4 deletion
+8
-4
ANNOUNCE
ANNOUNCE
+1
-0
CHANGES
CHANGES
+1
-0
png.c
png.c
+6
-4
未找到文件。
ANNOUNCE
浏览文件 @
2e31b96a
...
...
@@ -115,6 +115,7 @@ Version 1.5.7beta05 [November 25, 2011]
Version 1.5.7beta06 [November 28, 2011]
Replaced an "#if" with "ifdef" in pngrtran.c
Revised #if PNG_DO_BC block in png.c (use #ifdef and add #else)
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit
...
...
CHANGES
浏览文件 @
2e31b96a
...
...
@@ -3760,6 +3760,7 @@ Version 1.5.7beta05 [November 25, 2011]
Version 1.5.7beta06 [November 28, 2011]
Replaced an "#if" with "ifdef" in pngrtran.c
Revised #if PNG_DO_BC block in png.c (use #ifdef and add #else)
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
png.c
浏览文件 @
2e31b96a
...
...
@@ -655,13 +655,13 @@ png_get_copyright(png_const_structp png_ptr)
#else
# ifdef __STDC__
return
PNG_STRING_NEWLINE
\
"libpng version 1.5.7beta06 - November 2
5
, 2011"
PNG_STRING_NEWLINE
\
"libpng version 1.5.7beta06 - November 2
8
, 2011"
PNG_STRING_NEWLINE
\
"Copyright (c) 1998-2011 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
"libpng version 1.5.7beta06 - November 2
5
, 2011\
return
"libpng version 1.5.7beta06 - November 2
8
, 2011\
Copyright (c) 1998-2011 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
;
...
...
@@ -2174,9 +2174,9 @@ png_64bit_product (long v1, long v2, unsigned long *hi_product,
static
png_uint_32
png_8bit_l2
[
128
]
=
{
# if PNG_DO_BC
# if
def
PNG_DO_BC
for
(
i
=
128
;
i
<
256
;
++
i
)
{
.
5
-
l
(
i
/
255
)
/
l
(
2
)
*
65536
*
65536
;
}
# e
ndif
# e
lse
4270715492U
,
4222494797U
,
4174646467U
,
4127164793U
,
4080044201U
,
4033279239U
,
3986864580U
,
3940795015U
,
3895065449U
,
3849670902U
,
3804606499U
,
3759867474U
,
3715449162U
,
3671346997U
,
3627556511U
,
3584073329U
,
3540893168U
,
3498011834U
,
...
...
@@ -2199,6 +2199,8 @@ png_8bit_l2[128] =
324227938U
,
298676034U
,
273229066U
,
247886176U
,
222646516U
,
197509248U
,
172473545U
,
147538590U
,
122703574U
,
97967701U
,
73330182U
,
48790236U
,
24347096U
,
0U
# endif
#if 0
/* The following are the values for 16-bit tables - these work fine for the
* 8-bit conversions but produce very slightly larger errors in the 16-bit
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录