Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
0c27c863
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,发现更多精彩内容 >>
提交
0c27c863
编写于
2月 13, 2016
作者:
R
Robert C. Seacord
提交者:
Glenn Randers-Pehrson
2月 13, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng16] Changed PNG_INFO_cHNK and PNG_FREE_cHNK from 0xnnnn to 0xnnnnU
(Robert C. Seacord).
上级
baf301d1
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
32 addition
and
30 deletion
+32
-30
ANNOUNCE
ANNOUNCE
+1
-0
CHANGES
CHANGES
+1
-0
png.h
png.h
+30
-30
未找到文件。
ANNOUNCE
浏览文件 @
0c27c863
...
...
@@ -59,6 +59,7 @@ Version 1.6.22beta03 [February 13, 2016]
to the LICENSE file, png.h, and the man page.
Restored "& 0xff" in png_save_uint_16() and png_save_uint_32() that
were accidentally removed from libpng-1.6.17.
Changed PNG_INFO_cHNK from 0xnnnn to 0xnnnnU (Robert C. Seacord).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
CHANGES
浏览文件 @
0c27c863
...
...
@@ -5518,6 +5518,7 @@ Version 1.6.22beta03 [February 13, 2016]
to the LICENSE file, png.h, and the man page.
Restored "& 0xff" in png_save_uint_16() and png_save_uint_32() that
were accidentally removed from libpng-1.6.17.
Changed PNG_INFO_cHNK from 0xnnnn to 0xnnnnU (Robert C. Seacord).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
png.h
浏览文件 @
0c27c863
...
...
@@ -751,23 +751,23 @@ typedef png_unknown_chunk * * png_unknown_chunkpp;
* data in the info_struct to be written into the output file. The values
* of the PNG_INFO_<chunk> defines should NOT be changed.
*/
#define PNG_INFO_gAMA 0x0001
#define PNG_INFO_sBIT 0x0002
#define PNG_INFO_cHRM 0x0004
#define PNG_INFO_PLTE 0x0008
#define PNG_INFO_tRNS 0x0010
#define PNG_INFO_bKGD 0x0020
#define PNG_INFO_hIST 0x0040
#define PNG_INFO_pHYs 0x0080
#define PNG_INFO_oFFs 0x0100
#define PNG_INFO_tIME 0x0200
#define PNG_INFO_pCAL 0x0400
#define PNG_INFO_sRGB 0x0800
/* GR-P, 0.96a */
#define PNG_INFO_iCCP 0x1000
/* ESR, 1.0.6 */
#define PNG_INFO_sPLT 0x2000
/* ESR, 1.0.6 */
#define PNG_INFO_sCAL 0x4000
/* ESR, 1.0.6 */
#define PNG_INFO_gAMA 0x0001
U
#define PNG_INFO_sBIT 0x0002
U
#define PNG_INFO_cHRM 0x0004
U
#define PNG_INFO_PLTE 0x0008
U
#define PNG_INFO_tRNS 0x0010
U
#define PNG_INFO_bKGD 0x0020
U
#define PNG_INFO_hIST 0x0040
U
#define PNG_INFO_pHYs 0x0080
U
#define PNG_INFO_oFFs 0x0100
U
#define PNG_INFO_tIME 0x0200
U
#define PNG_INFO_pCAL 0x0400
U
#define PNG_INFO_sRGB 0x0800
U
/* GR-P, 0.96a */
#define PNG_INFO_iCCP 0x1000
U
/* ESR, 1.0.6 */
#define PNG_INFO_sPLT 0x2000
U
/* ESR, 1.0.6 */
#define PNG_INFO_sCAL 0x4000
U
/* ESR, 1.0.6 */
#if INT_MAX >= 0x8000
/* else this might break */
#define PNG_INFO_IDAT 0x8000
/* ESR, 1.0.6 */
#define PNG_INFO_IDAT 0x8000
U
/* ESR, 1.0.6 */
#endif
/* This is used for the transformation routines, as some of them
...
...
@@ -1768,21 +1768,21 @@ PNG_EXPORT(99, void, png_data_freer, (png_const_structrp png_ptr,
#define PNG_SET_WILL_FREE_DATA 1
#define PNG_USER_WILL_FREE_DATA 2
/* Flags for png_ptr->free_me and info_ptr->free_me */
#define PNG_FREE_HIST 0x0008
#define PNG_FREE_ICCP 0x0010
#define PNG_FREE_SPLT 0x0020
#define PNG_FREE_ROWS 0x0040
#define PNG_FREE_PCAL 0x0080
#define PNG_FREE_SCAL 0x0100
#define PNG_FREE_HIST 0x0008
U
#define PNG_FREE_ICCP 0x0010
U
#define PNG_FREE_SPLT 0x0020
U
#define PNG_FREE_ROWS 0x0040
U
#define PNG_FREE_PCAL 0x0080
U
#define PNG_FREE_SCAL 0x0100
U
#ifdef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
# define PNG_FREE_UNKN 0x0200
#endif
/* PNG_FREE_LIST 0x0400
removed in 1.6.0 because it is ignored */
#define PNG_FREE_PLTE 0x1000
#define PNG_FREE_TRNS 0x2000
#define PNG_FREE_TEXT 0x4000
#define PNG_FREE_ALL 0x7fff
#define PNG_FREE_MUL 0x4220
/* PNG_FREE_SPLT|PNG_FREE_TEXT|PNG_FREE_UNKN */
# define PNG_FREE_UNKN 0x0200
U
#endif
/* PNG_FREE_LIST 0x0400
U
removed in 1.6.0 because it is ignored */
#define PNG_FREE_PLTE 0x1000
U
#define PNG_FREE_TRNS 0x2000
U
#define PNG_FREE_TEXT 0x4000
U
#define PNG_FREE_ALL 0x7fff
U
#define PNG_FREE_MUL 0x4220
U
/* PNG_FREE_SPLT|PNG_FREE_TEXT|PNG_FREE_UNKN */
#ifdef PNG_USER_MEM_SUPPORTED
PNG_EXPORTA
(
100
,
png_voidp
,
png_malloc_default
,
(
png_const_structrp
png_ptr
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录