Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
96db0fff
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,发现更多精彩内容 >>
提交
96db0fff
编写于
8月 02, 2016
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng16] Conditionally compile ARM_NEON headers in pngpriv.h
Updated contrib/intel/intel_sse.patch
上级
99663e95
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
20 addition
and
12 deletion
+20
-12
ANNOUNCE
ANNOUNCE
+4
-2
CHANGES
CHANGES
+3
-1
contrib/intel/intel_sse.patch
contrib/intel/intel_sse.patch
+9
-9
pngpriv.h
pngpriv.h
+4
-0
未找到文件。
ANNOUNCE
浏览文件 @
96db0fff
Libpng 1.6.24rc03 - August
1
, 2016
Libpng 1.6.24rc03 - August
2
, 2016
This is not intended to be a public release. It will be replaced
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.
within a few weeks by a public version or by another test version.
...
@@ -97,7 +97,9 @@ Version 1.6.24rc02 [August 1, 2016]
...
@@ -97,7 +97,9 @@ Version 1.6.24rc02 [August 1, 2016]
Conditionally compile SSE2 headers in contrib/intel/intel_sse.patch
Conditionally compile SSE2 headers in contrib/intel/intel_sse.patch
Conditionally compile png_decompress_chunk().
Conditionally compile png_decompress_chunk().
Version 1.6.24rc03 [August 1, 2016]
Version 1.6.24rc03 [August 2, 2016]
Conditionally compile ARM_NEON headers in pngpriv.h
Updated contrib/intel/intel_sse.patch
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
(subscription required; visit
...
...
CHANGES
浏览文件 @
96db0fff
...
@@ -5668,7 +5668,9 @@ Version 1.6.24rc02 [August 1, 2016]
...
@@ -5668,7 +5668,9 @@ Version 1.6.24rc02 [August 1, 2016]
Conditionally compile SSE2 headers in contrib/intel/intel_sse.patch
Conditionally compile SSE2 headers in contrib/intel/intel_sse.patch
Conditionally compile png_decompress_chunk().
Conditionally compile png_decompress_chunk().
Version 1.6.24rc03 [August 1, 2016]
Version 1.6.24rc03 [August 2, 2016]
Conditionally compile ARM_NEON headers in pngpriv.h
Updated contrib/intel/intel_sse.patch
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
(subscription required; visit
...
...
contrib/intel/intel_sse.patch
浏览文件 @
96db0fff
...
@@ -77,8 +77,8 @@ diff --git a/Makefile.am b/Makefile.am
...
@@ -77,8 +77,8 @@ diff --git a/Makefile.am b/Makefile.am
# Versioned symbols and restricted exports
# Versioned symbols and restricted exports
if HAVE_SOLARIS_LD
if HAVE_SOLARIS_LD
diff --git a/pngpriv.h b/pngpriv.h
diff --git a/pngpriv.h b/pngpriv.h
--- a/pngpriv.h 2016-0
7-25 07:49:33.00000000
0 -0500
--- a/pngpriv.h 2016-0
8-01 18:13:38.77012881
0 -0500
+++ b/pngpriv.h 2016-0
7-31 21:07:24.040395258
-0500
+++ b/pngpriv.h 2016-0
8-01 18:50:19.130179017
-0500
@@ -177,16 +177,52 @@
@@ -177,16 +177,52 @@
# endif /* !PNG_ARM_NEON_IMPLEMENTATION */
# endif /* !PNG_ARM_NEON_IMPLEMENTATION */
...
@@ -132,7 +132,7 @@ diff --git a/pngpriv.h b/pngpriv.h
...
@@ -132,7 +132,7 @@ diff --git a/pngpriv.h b/pngpriv.h
* PNG_BUILD_DLL must not be set. To avoid the code below kicking in build a
* PNG_BUILD_DLL must not be set. To avoid the code below kicking in build a
* static library of libpng then link the DLL against that.
* static library of libpng then link the DLL against that.
*/
*/
@@ -118
4,16 +1220
,31 @@
PNG_INTERNAL_FUNCTION(void,png_read_filt
@@ -118
5,16 +1221
,31 @@
PNG_INTERNAL_FUNCTION(void,png_read_filt
row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
PNG_INTERNAL_FUNCTION(void,png_read_filter_row_avg4_neon,(png_row_infop
PNG_INTERNAL_FUNCTION(void,png_read_filter_row_avg4_neon,(png_row_infop
row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
...
@@ -140,7 +140,8 @@ diff --git a/pngpriv.h b/pngpriv.h
...
@@ -140,7 +140,8 @@ diff --git a/pngpriv.h b/pngpriv.h
row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
PNG_INTERNAL_FUNCTION(void,png_read_filter_row_paeth4_neon,(png_row_infop
PNG_INTERNAL_FUNCTION(void,png_read_filter_row_paeth4_neon,(png_row_infop
row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
#endif
+
+#if PNG_INTEL_SSE_IMPLEMENTATION > 0
+#if PNG_INTEL_SSE_IMPLEMENTATION > 0
+PNG_INTERNAL_FUNCTION(void,png_read_filter_row_sub3_sse2,(png_row_infop
+PNG_INTERNAL_FUNCTION(void,png_read_filter_row_sub3_sse2,(png_row_infop
+ row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
+ row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
...
@@ -155,7 +156,7 @@ diff --git a/pngpriv.h b/pngpriv.h
...
@@ -155,7 +156,7 @@ diff --git a/pngpriv.h b/pngpriv.h
+PNG_INTERNAL_FUNCTION(void,png_read_filter_row_paeth4_sse2,(png_row_infop
+PNG_INTERNAL_FUNCTION(void,png_read_filter_row_paeth4_sse2,(png_row_infop
+ row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
+ row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
+#endif
+#endif
+
/* Choose the best filter to use and filter the row data */
/* Choose the best filter to use and filter the row data */
PNG_INTERNAL_FUNCTION(void,png_write_find_filter,(png_structrp png_ptr,
PNG_INTERNAL_FUNCTION(void,png_write_find_filter,(png_structrp png_ptr,
png_row_infop row_info),PNG_EMPTY);
png_row_infop row_info),PNG_EMPTY);
...
@@ -163,16 +164,15 @@ diff --git a/pngpriv.h b/pngpriv.h
...
@@ -163,16 +164,15 @@ diff --git a/pngpriv.h b/pngpriv.h
#ifdef PNG_SEQUENTIAL_READ_SUPPORTED
#ifdef PNG_SEQUENTIAL_READ_SUPPORTED
PNG_INTERNAL_FUNCTION(void,png_read_IDAT_data,(png_structrp png_ptr,
PNG_INTERNAL_FUNCTION(void,png_read_IDAT_data,(png_structrp png_ptr,
png_bytep output, png_alloc_size_t avail_out),PNG_EMPTY);
png_bytep output, png_alloc_size_t avail_out),PNG_EMPTY);
/* Read 'avail_out' bytes of data from the IDAT stream. If the output buffer
@@ -1914,16 +1965,20 @@
PNG_INTERNAL_FUNCTION(void, PNG_FILTER_O
@@ -1910,16 +1961,20 @@
PNG_INTERNAL_FUNCTION(void, PNG_FILTER_O
/* Just declare the optimization that will be used */
#else
/* List *all* the possible optimizations here - this branch is required if
/* List *all* the possible optimizations here - this branch is required if
* the builder of libpng passes the definition of PNG_FILTER_OPTIMIZATIONS in
* the builder of libpng passes the definition of PNG_FILTER_OPTIMIZATIONS in
* CFLAGS in place of CPPFLAGS *and* uses symbol prefixing.
* CFLAGS in place of CPPFLAGS *and* uses symbol prefixing.
*/
*/
# if PNG_ARM_NEON_OPT > 0
PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_neon,
PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_neon,
(png_structp png_ptr, unsigned int bpp), PNG_EMPTY);
(png_structp png_ptr, unsigned int bpp), PNG_EMPTY);
# endif
+# if PNG_INTEL_SSE_IMPLEMENTATION > 0
+# if PNG_INTEL_SSE_IMPLEMENTATION > 0
+PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_sse2,
+PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_sse2,
+ (png_structp png_ptr, unsigned int bpp), PNG_EMPTY);
+ (png_structp png_ptr, unsigned int bpp), PNG_EMPTY);
...
...
pngpriv.h
浏览文件 @
96db0fff
...
@@ -1174,6 +1174,7 @@ PNG_INTERNAL_FUNCTION(void,png_do_write_interlace,(png_row_infop row_info,
...
@@ -1174,6 +1174,7 @@ PNG_INTERNAL_FUNCTION(void,png_do_write_interlace,(png_row_infop row_info,
PNG_INTERNAL_FUNCTION
(
void
,
png_read_filter_row
,(
png_structrp
pp
,
png_row_infop
PNG_INTERNAL_FUNCTION
(
void
,
png_read_filter_row
,(
png_structrp
pp
,
png_row_infop
row_info
,
png_bytep
row
,
png_const_bytep
prev_row
,
int
filter
),
PNG_EMPTY
);
row_info
,
png_bytep
row
,
png_const_bytep
prev_row
,
int
filter
),
PNG_EMPTY
);
#if PNG_ARM_NEON_OPT > 0
PNG_INTERNAL_FUNCTION
(
void
,
png_read_filter_row_up_neon
,(
png_row_infop
row_info
,
PNG_INTERNAL_FUNCTION
(
void
,
png_read_filter_row_up_neon
,(
png_row_infop
row_info
,
png_bytep
row
,
png_const_bytep
prev_row
),
PNG_EMPTY
);
png_bytep
row
,
png_const_bytep
prev_row
),
PNG_EMPTY
);
PNG_INTERNAL_FUNCTION
(
void
,
png_read_filter_row_sub3_neon
,(
png_row_infop
PNG_INTERNAL_FUNCTION
(
void
,
png_read_filter_row_sub3_neon
,(
png_row_infop
...
@@ -1188,6 +1189,7 @@ PNG_INTERNAL_FUNCTION(void,png_read_filter_row_paeth3_neon,(png_row_infop
...
@@ -1188,6 +1189,7 @@ PNG_INTERNAL_FUNCTION(void,png_read_filter_row_paeth3_neon,(png_row_infop
row_info
,
png_bytep
row
,
png_const_bytep
prev_row
),
PNG_EMPTY
);
row_info
,
png_bytep
row
,
png_const_bytep
prev_row
),
PNG_EMPTY
);
PNG_INTERNAL_FUNCTION
(
void
,
png_read_filter_row_paeth4_neon
,(
png_row_infop
PNG_INTERNAL_FUNCTION
(
void
,
png_read_filter_row_paeth4_neon
,(
png_row_infop
row_info
,
png_bytep
row
,
png_const_bytep
prev_row
),
PNG_EMPTY
);
row_info
,
png_bytep
row
,
png_const_bytep
prev_row
),
PNG_EMPTY
);
#endif
/* Choose the best filter to use and filter the row data */
/* Choose the best filter to use and filter the row data */
PNG_INTERNAL_FUNCTION
(
void
,
png_write_find_filter
,(
png_structrp
png_ptr
,
PNG_INTERNAL_FUNCTION
(
void
,
png_write_find_filter
,(
png_structrp
png_ptr
,
...
@@ -1913,8 +1915,10 @@ PNG_INTERNAL_FUNCTION(void, PNG_FILTER_OPTIMIZATIONS, (png_structp png_ptr,
...
@@ -1913,8 +1915,10 @@ PNG_INTERNAL_FUNCTION(void, PNG_FILTER_OPTIMIZATIONS, (png_structp png_ptr,
* the builder of libpng passes the definition of PNG_FILTER_OPTIMIZATIONS in
* the builder of libpng passes the definition of PNG_FILTER_OPTIMIZATIONS in
* CFLAGS in place of CPPFLAGS *and* uses symbol prefixing.
* CFLAGS in place of CPPFLAGS *and* uses symbol prefixing.
*/
*/
# if PNG_ARM_NEON_OPT > 0
PNG_INTERNAL_FUNCTION
(
void
,
png_init_filter_functions_neon
,
PNG_INTERNAL_FUNCTION
(
void
,
png_init_filter_functions_neon
,
(
png_structp
png_ptr
,
unsigned
int
bpp
),
PNG_EMPTY
);
(
png_structp
png_ptr
,
unsigned
int
bpp
),
PNG_EMPTY
);
# endif
#endif
#endif
PNG_INTERNAL_FUNCTION
(
png_uint_32
,
png_check_keyword
,
(
png_structrp
png_ptr
,
PNG_INTERNAL_FUNCTION
(
png_uint_32
,
png_check_keyword
,
(
png_structrp
png_ptr
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录