Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
19c8cb7a
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
19c8cb7a
编写于
10月 15, 2010
作者:
B
bae
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6725821: Compiler warnings in medialib code
Reviewed-by: igor, prr
上级
23caf375
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
118 addition
and
85 deletion
+118
-85
make/sun/image/generic/Makefile
make/sun/image/generic/Makefile
+4
-1
src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c
src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c
+4
-2
src/solaris/native/sun/awt/medialib/mlib_v_ImageLookUpS32S16Func.c
...is/native/sun/awt/medialib/mlib_v_ImageLookUpS32S16Func.c
+14
-10
src/solaris/native/sun/awt/medialib/mlib_v_ImageLookUpS32U16Func.c
...is/native/sun/awt/medialib/mlib_v_ImageLookUpS32U16Func.c
+14
-10
src/solaris/native/sun/awt/medialib/mlib_v_ImageLookUpSIS32S16Func.c
.../native/sun/awt/medialib/mlib_v_ImageLookUpSIS32S16Func.c
+41
-31
src/solaris/native/sun/awt/medialib/mlib_v_ImageLookUpSIS32U16Func.c
.../native/sun/awt/medialib/mlib_v_ImageLookUpSIS32U16Func.c
+41
-31
未找到文件。
make/sun/image/generic/Makefile
浏览文件 @
19c8cb7a
...
...
@@ -69,5 +69,8 @@ CPPFLAGS += \
-I
$(PLATFORM_SRC)
/native/
$(PKGDIR)
/medialib
OTHER_CFLAGS
+=
-D__USE_J2D_NAMES
-D__MEDIALIB_OLD_NAMES
OTHER_LDLIBS
=
$(LIBM)
-ldl
ifneq
($(PLATFORM), windows)
OTHER_LDLIBS
=
$(LIBM)
-ldl
endif
src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c
浏览文件 @
19c8cb7a
...
...
@@ -558,10 +558,11 @@ void mlib_ImageLookUp_S32_D64(const mlib_s32 *src,
const
mlib_d64
**
table
)
{
const
mlib_d64
*
table_base
[
4
];
mlib_u32
shift
=
TABLE_SHIFT_S32
;
mlib_s32
c
;
for
(
c
=
0
;
c
<
csize
;
c
++
)
{
table_base
[
c
]
=
&
table
[
c
][
TABLE_SHIFT_S32
];
table_base
[
c
]
=
&
table
[
c
][
shift
];
}
MLIB_C_IMAGELOOKUP
(
mlib_d64
,
mlib_s32
,
table_base
);
...
...
@@ -1039,10 +1040,11 @@ void mlib_ImageLookUpSI_S32_D64(const mlib_s32 *src,
const
mlib_d64
**
table
)
{
const
mlib_d64
*
table_base
[
4
];
mlib_u32
shift
=
TABLE_SHIFT_S32
;
mlib_s32
c
;
for
(
c
=
0
;
c
<
csize
;
c
++
)
{
table_base
[
c
]
=
&
table
[
c
][
TABLE_SHIFT_S32
];
table_base
[
c
]
=
&
table
[
c
][
shift
];
}
MLIB_C_IMAGELOOKUPSI
(
mlib_d64
,
mlib_s32
,
table_base
);
...
...
src/solaris/native/sun/awt/medialib/mlib_v_ImageLookUpS32S16Func.c
浏览文件 @
19c8cb7a
...
...
@@ -169,7 +169,8 @@ void mlib_v_ImageLookUp_S32_S16_1(const mlib_s32 * src,
{
mlib_s32
*
sl
;
mlib_s16
*
dl
;
const
mlib_s16
*
tab
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab
=
&
table
[
0
][
shift
];
mlib_s32
j
,
i
;
sl
=
(
void
*
)
src
;
...
...
@@ -209,6 +210,7 @@ void mlib_v_ImageLookUp_S32_S16_2(const mlib_s32 * src,
{
mlib_s32
*
sl
;
mlib_s16
*
dl
;
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab
;
mlib_s32
j
,
i
;
...
...
@@ -220,8 +222,8 @@ void mlib_v_ImageLookUp_S32_S16_2(const mlib_s32 * src,
mlib_s32
*
sp
=
sl
;
mlib_s16
*
dp
=
dl
;
mlib_s32
off
,
size
=
xsize
*
2
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
off
=
(
mlib_s32
)
(((
8
-
((
mlib_addr
)
dp
&
7
))
&
7
)
>>
1
);
...
...
@@ -261,6 +263,7 @@ void mlib_v_ImageLookUp_S32_S16_4(const mlib_s32 * src,
{
mlib_s32
*
sl
;
mlib_s16
*
dl
;
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab
;
mlib_s32
j
;
...
...
@@ -271,10 +274,10 @@ void mlib_v_ImageLookUp_S32_S16_4(const mlib_s32 * src,
for
(
j
=
0
;
j
<
ysize
;
j
++
)
{
mlib_s32
*
sp
=
sl
;
mlib_s16
*
dp
=
dl
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab3
=
&
table
[
3
][
(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
shift
];
const
mlib_s16
*
tab3
=
&
table
[
3
][
shift
];
mlib_s32
off
,
size
=
xsize
*
4
;
off
=
(
mlib_s32
)
(((
8
-
((
mlib_addr
)
dp
&
7
))
&
7
)
>>
1
);
...
...
@@ -453,6 +456,7 @@ void mlib_v_ImageLookUp_S32_S16_3(const mlib_s32 * src,
{
mlib_s32
*
sl
;
mlib_s16
*
dl
;
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab
;
mlib_s32
j
,
i
;
...
...
@@ -463,9 +467,9 @@ void mlib_v_ImageLookUp_S32_S16_3(const mlib_s32 * src,
for
(
j
=
0
;
j
<
ysize
;
j
++
)
{
mlib_s32
*
sp
=
sl
;
mlib_s16
*
dp
=
dl
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
shift
];
mlib_s32
off
,
size
=
xsize
*
3
;
off
=
(
mlib_s32
)
(((
8
-
((
mlib_addr
)
dp
&
7
))
&
7
)
>>
1
);
...
...
src/solaris/native/sun/awt/medialib/mlib_v_ImageLookUpS32U16Func.c
浏览文件 @
19c8cb7a
...
...
@@ -170,7 +170,8 @@ void mlib_v_ImageLookUp_S32_U16_1(const mlib_s32 *src,
{
mlib_s32
*
sl
;
mlib_u16
*
dl
;
const
mlib_u16
*
tab
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab
=
&
table
[
0
][
shift
];
mlib_s32
j
,
i
;
sl
=
(
void
*
)
src
;
...
...
@@ -211,6 +212,7 @@ void mlib_v_ImageLookUp_S32_U16_2(const mlib_s32 *src,
{
mlib_s32
*
sl
;
mlib_u16
*
dl
;
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab
;
mlib_s32
j
,
i
;
...
...
@@ -222,8 +224,8 @@ void mlib_v_ImageLookUp_S32_U16_2(const mlib_s32 *src,
mlib_s32
*
sp
=
sl
;
mlib_u16
*
dp
=
dl
;
mlib_s32
off
,
size
=
xsize
*
2
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
off
=
(
mlib_s32
)
(((
8
-
((
mlib_addr
)
dp
&
7
))
&
7
)
>>
1
);
...
...
@@ -264,6 +266,7 @@ void mlib_v_ImageLookUp_S32_U16_4(const mlib_s32 *src,
{
mlib_s32
*
sl
;
mlib_u16
*
dl
;
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab
;
mlib_s32
j
;
...
...
@@ -274,10 +277,10 @@ void mlib_v_ImageLookUp_S32_U16_4(const mlib_s32 *src,
for
(
j
=
0
;
j
<
ysize
;
j
++
)
{
mlib_s32
*
sp
=
sl
;
mlib_u16
*
dp
=
dl
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab3
=
&
table
[
3
][
(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
shift
];
const
mlib_u16
*
tab3
=
&
table
[
3
][
shift
];
mlib_s32
off
,
size
=
xsize
*
4
;
off
=
(
mlib_s32
)
(((
8
-
((
mlib_addr
)
dp
&
7
))
&
7
)
>>
1
);
...
...
@@ -457,6 +460,7 @@ void mlib_v_ImageLookUp_S32_U16_3(const mlib_s32 *src,
{
mlib_s32
*
sl
;
mlib_u16
*
dl
;
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab
;
mlib_s32
j
,
i
;
...
...
@@ -467,9 +471,9 @@ void mlib_v_ImageLookUp_S32_U16_3(const mlib_s32 *src,
for
(
j
=
0
;
j
<
ysize
;
j
++
)
{
mlib_s32
*
sp
=
sl
;
mlib_u16
*
dp
=
dl
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
shift
];
mlib_s32
off
,
size
=
xsize
*
3
;
off
=
(
mlib_s32
)
(((
8
-
((
mlib_addr
)
dp
&
7
))
&
7
)
>>
1
);
...
...
src/solaris/native/sun/awt/medialib/mlib_v_ImageLookUpSIS32S16Func.c
浏览文件 @
19c8cb7a
...
...
@@ -81,8 +81,9 @@ void mlib_v_ImageLookUpSI_S32_S16_2_DstA8D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
;
/* destination data */
mlib_d64
t3
,
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_s16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -145,8 +146,9 @@ void mlib_v_ImageLookUpSI_S32_S16_2_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
;
/* destination data */
mlib_d64
t3
,
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_s16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -220,8 +222,9 @@ void mlib_v_ImageLookUpSI_S32_S16_2(const mlib_s32 *src,
mlib_s32
*
sl
;
mlib_s16
*
dl
;
mlib_s32
j
;
const
mlib_s16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
sl
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -268,9 +271,10 @@ void mlib_v_ImageLookUpSI_S32_S16_3_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
,
t3
;
/* destination data */
mlib_d64
acc0
,
acc1
,
acc2
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_s16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
shift
];
mlib_s32
s00
,
s01
,
s02
,
s03
;
sp
=
(
void
*
)
src
;
...
...
@@ -379,9 +383,10 @@ void mlib_v_ImageLookUpSI_S32_S16_3(const mlib_s32 *src,
mlib_s32
*
sl
;
mlib_s16
*
dl
;
mlib_s32
i
,
j
;
const
mlib_s16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
shift
];
sl
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -425,10 +430,11 @@ void mlib_v_ImageLookUpSI_S32_S16_4_DstOff0_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
,
t3
;
/* destination data */
mlib_d64
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_s16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab3
=
&
table
[
3
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
shift
];
const
mlib_s16
*
tab3
=
&
table
[
3
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -479,10 +485,11 @@ void mlib_v_ImageLookUpSI_S32_S16_4_DstOff1_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
,
t3
;
/* destination data */
mlib_d64
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_s16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab3
=
&
table
[
3
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
shift
];
const
mlib_s16
*
tab3
=
&
table
[
3
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -543,10 +550,11 @@ void mlib_v_ImageLookUpSI_S32_S16_4_DstOff2_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
,
t3
;
/* destination data */
mlib_d64
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_s16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab3
=
&
table
[
3
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
shift
];
const
mlib_s16
*
tab3
=
&
table
[
3
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -606,10 +614,11 @@ void mlib_v_ImageLookUpSI_S32_S16_4_DstOff3_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
,
t3
;
/* destination data */
mlib_d64
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_s16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab3
=
&
table
[
3
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
shift
];
const
mlib_s16
*
tab3
=
&
table
[
3
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -667,9 +676,10 @@ void mlib_v_ImageLookUpSI_S32_S16_4(const mlib_s32 *src,
mlib_s32
*
sl
;
mlib_s16
*
dl
;
mlib_s32
j
;
const
mlib_s16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_s16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_s16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_s16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_s16
*
tab2
=
&
table
[
2
][
shift
];
sl
=
(
void
*
)
src
;
dl
=
dst
;
...
...
src/solaris/native/sun/awt/medialib/mlib_v_ImageLookUpSIS32U16Func.c
浏览文件 @
19c8cb7a
...
...
@@ -81,8 +81,9 @@ void mlib_v_ImageLookUpSI_S32_U16_2_DstA8D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
;
/* destination data */
mlib_d64
t3
,
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_u16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -145,8 +146,9 @@ void mlib_v_ImageLookUpSI_S32_U16_2_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
;
/* destination data */
mlib_d64
t3
,
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_u16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -220,8 +222,9 @@ void mlib_v_ImageLookUpSI_S32_U16_2(const mlib_s32 *src,
mlib_s32
*
sl
;
mlib_u16
*
dl
;
mlib_s32
j
;
const
mlib_u16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
sl
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -268,9 +271,10 @@ void mlib_v_ImageLookUpSI_S32_U16_3_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
,
t3
;
/* destination data */
mlib_d64
acc0
,
acc1
,
acc2
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_u16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
shift
];
mlib_s32
s00
,
s01
,
s02
,
s03
;
sp
=
(
void
*
)
src
;
...
...
@@ -379,9 +383,10 @@ void mlib_v_ImageLookUpSI_S32_U16_3(const mlib_s32 *src,
mlib_s32
*
sl
;
mlib_u16
*
dl
;
mlib_s32
i
,
j
;
const
mlib_u16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
shift
];
sl
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -425,10 +430,11 @@ void mlib_v_ImageLookUpSI_S32_U16_4_DstOff0_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
,
t3
;
/* destination data */
mlib_d64
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_u16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab3
=
&
table
[
3
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
shift
];
const
mlib_u16
*
tab3
=
&
table
[
3
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -479,10 +485,11 @@ void mlib_v_ImageLookUpSI_S32_U16_4_DstOff1_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
,
t3
;
/* destination data */
mlib_d64
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_u16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab3
=
&
table
[
3
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
shift
];
const
mlib_u16
*
tab3
=
&
table
[
3
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -543,10 +550,11 @@ void mlib_v_ImageLookUpSI_S32_U16_4_DstOff2_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
,
t3
;
/* destination data */
mlib_d64
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_u16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab3
=
&
table
[
3
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
shift
];
const
mlib_u16
*
tab3
=
&
table
[
3
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -606,10 +614,11 @@ void mlib_v_ImageLookUpSI_S32_U16_4_DstOff3_D1(const mlib_s32 *src,
mlib_d64
t0
,
t1
,
t2
,
t3
;
/* destination data */
mlib_d64
acc
;
/* destination data */
mlib_s32
i
;
/* loop variable */
const
mlib_u16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab3
=
&
table
[
3
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
shift
];
const
mlib_u16
*
tab3
=
&
table
[
3
][
shift
];
sp
=
(
void
*
)
src
;
dl
=
dst
;
...
...
@@ -667,9 +676,10 @@ void mlib_v_ImageLookUpSI_S32_U16_4(const mlib_s32 *src,
mlib_s32
*
sl
;
mlib_u16
*
dl
;
mlib_s32
j
;
const
mlib_u16
*
tab0
=
&
table
[
0
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab1
=
&
table
[
1
][(
mlib_u32
)
2147483648u
];
const
mlib_u16
*
tab2
=
&
table
[
2
][(
mlib_u32
)
2147483648u
];
mlib_u32
shift
=
2147483648u
;
const
mlib_u16
*
tab0
=
&
table
[
0
][
shift
];
const
mlib_u16
*
tab1
=
&
table
[
1
][
shift
];
const
mlib_u16
*
tab2
=
&
table
[
2
][
shift
];
sl
=
(
void
*
)
src
;
dl
=
dst
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录