Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
ed4d32ba
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
12 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
ed4d32ba
编写于
5月 11, 2011
作者:
J
John Bowler
提交者:
Glenn Randers-Pehrson
5月 11, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[devel] Improve "pngvalid --speed" to exclude more of pngvalid from the time.
上级
d83530f4
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
10 deletion
+12
-10
ANNOUNCE
ANNOUNCE
+3
-2
CHANGES
CHANGES
+2
-1
pngvalid.c
pngvalid.c
+7
-7
未找到文件。
ANNOUNCE
浏览文件 @
ed4d32ba
Libpng 1.5.3beta08 - May 1
1
, 2011
Libpng 1.5.3beta08 - May 1
2
, 2011
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
...
...
@@ -112,7 +112,8 @@ Version 1.5.3beta07 [May 11, 2011]
Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
before IDAT.
Version 1.5.3beta08 [May 11, 2011]
Version 1.5.3beta08 [May 12, 2011]
Improve "pngvalid --speed" to exclude more of pngvalid from the time.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit
...
...
CHANGES
浏览文件 @
ed4d32ba
...
...
@@ -3371,7 +3371,8 @@ Version 1.5.3beta07 [May 11, 2011]
Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
before IDAT.
Version 1.5.3beta08 [May 11, 2011]
Version 1.5.3beta08 [May 12, 2011]
Improve "pngvalid --speed" to exclude more of pngvalid from the time.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
pngvalid.c
浏览文件 @
ed4d32ba
...
...
@@ -6110,7 +6110,6 @@ gamma_image_validate(gamma_display *dp, png_structp pp, png_infop pi,
png_const_bytep
pRow
)
{
/* Get some constants derived from the input and output file formats: */
PNG_CONST
int
speed
=
dp
->
speed
;
PNG_CONST
png_byte
in_ct
=
dp
->
this
.
colour_type
;
PNG_CONST
png_byte
in_bd
=
dp
->
this
.
bit_depth
;
PNG_CONST
png_uint_32
w
=
dp
->
this
.
w
;
...
...
@@ -6165,9 +6164,8 @@ gamma_image_validate(gamma_display *dp, png_structp pp, png_infop pi,
init_validate_info
(
&
vi
,
dp
,
pp
,
out_bd
);
processing
=
(
vi
.
gamma_correction
>
0
&&
!
dp
->
threshold_test
&&
!
speed
&&
in_ct
!=
3
)
||
in_bd
!=
out_bd
||
in_ct
!=
out_ct
||
vi
.
do_background
;
processing
=
(
vi
.
gamma_correction
>
0
&&
!
dp
->
threshold_test
&&
in_ct
!=
3
)
||
in_bd
!=
out_bd
||
in_ct
!=
out_ct
||
vi
.
do_background
;
for
(
y
=
0
;
y
<
h
;
++
y
,
pRow
+=
cbRow
)
{
...
...
@@ -6229,7 +6227,7 @@ gamma_image_validate(gamma_display *dp, png_structp pp, png_infop pi,
}
}
else
if
(
!
speed
&&
memcmp
(
std
,
pRow
,
cbRow
)
!=
0
)
else
if
(
memcmp
(
std
,
pRow
,
cbRow
)
!=
0
)
{
char
msg
[
64
];
...
...
@@ -6248,7 +6246,8 @@ gamma_end(png_structp pp, png_infop pi)
{
gamma_display
*
dp
=
png_get_progressive_ptr
(
pp
);
gamma_image_validate
(
dp
,
pp
,
pi
,
dp
->
this
.
ps
->
image
);
if
(
!
dp
->
speed
)
gamma_image_validate
(
dp
,
pp
,
pi
,
dp
->
this
.
ps
->
image
);
}
/* A single test run checking a gamma transformation.
...
...
@@ -6319,7 +6318,8 @@ gamma_test(png_modifier *pmIn, PNG_CONST png_byte colour_typeIn,
sequential_row
(
&
d
.
this
,
pp
,
pi
,
NULL
,
d
.
this
.
ps
->
image
);
gamma_image_validate
(
&
d
,
pp
,
pi
,
d
.
this
.
ps
->
image
);
if
(
!
d
.
speed
)
gamma_image_validate
(
&
d
,
pp
,
pi
,
d
.
this
.
ps
->
image
);
}
modifier_reset
(
d
.
pm
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录