Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
6bdefdd9
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,发现更多精彩内容 >>
提交
6bdefdd9
编写于
11月 29, 2011
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng] Fixed some trivial typos in the contrib/tools subdirectory.
上级
405a398b
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
8 addition
and
8 deletion
+8
-8
contrib/tools/README.txt
contrib/tools/README.txt
+1
-1
contrib/tools/intgamma.sh
contrib/tools/intgamma.sh
+7
-7
未找到文件。
contrib/tools/README.txt
浏览文件 @
6bdefdd9
...
@@ -2,7 +2,7 @@ This directory (contrib/tools) contains tools used by the authors of libpng.
...
@@ -2,7 +2,7 @@ This directory (contrib/tools) contains tools used by the authors of libpng.
Code and data placed in this directory is not required to build libpng,
Code and data placed in this directory is not required to build libpng,
however the code in this directory has been used to generate data or code in
however the code in this directory has been used to generate data or code in
the body of the libpng source. The source code iden
f
tifies where this has
the body of the libpng source. The source code identifies where this has
been done. Code in this directory may not compile on all operating systems
been done. Code in this directory may not compile on all operating systems
that libpng supports.
that libpng supports.
...
...
contrib/tools/intgamma.sh
浏览文件 @
6bdefdd9
...
@@ -9,15 +9,15 @@
...
@@ -9,15 +9,15 @@
# related or neighboring rights to this work. This work is published from:
# related or neighboring rights to this work. This work is published from:
# United States.
# United States.
#
#
# Shell script to generate png.c 8
and 16 bit log tables (see the code in png.c
# Shell script to generate png.c 8
-bit and 16-bit log tables (see the code in
# for details).
#
png.c
for details).
#
#
# This script uses the "bc" arbitrary precision calculator to calculate 32
bit
# This script uses the "bc" arbitrary precision calculator to calculate 32
-
bit
# fixed point values of logarithms appropriate to finding the log of an 8-bit
# fixed point values of logarithms appropriate to finding the log of an 8-bit
# (0..255) value and a similar table for the exponent calculation.
# (0..255) value and a similar table for the exponent calculation.
#
#
# "bc" must be on the path when the script is executed,
the math library (-l)
# "bc" must be on the path when the script is executed,
and the math library
# must be available
#
(-lm)
must be available
#
#
# function to print out a list of numbers as integers; the function truncates
# function to print out a list of numbers as integers; the function truncates
# the integers which must be one-per-line
# the integers which must be one-per-line
...
@@ -72,8 +72,8 @@ cat <<END
...
@@ -72,8 +72,8 @@ cat <<END
* each case only the low 16 bits are relevant - the fraction - since the
* each case only the low 16 bits are relevant - the fraction - since the
* integer bits (the top 4) simply determine a shift.
* integer bits (the top 4) simply determine a shift.
*
*
* The worst case is the 16-bit distinction between 65535 and 65534
,
this
* The worst case is the 16-bit distinction between 65535 and 65534
;
this
* requires perhaps spurious accurac
t
y in the decoding of the logarithm to
* requires perhaps spurious accuracy in the decoding of the logarithm to
* distinguish log2(65535/65534.5) - 10^-5 or 17 bits. There is little chance
* distinguish log2(65535/65534.5) - 10^-5 or 17 bits. There is little chance
* of getting this accuracy in practice.
* of getting this accuracy in practice.
*
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录