Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
9dd1d963
Commit
9dd1d963
authored
Oct 30, 2014
by
Ghislain MARY
Browse files
Activate -Wuninitialized option when compiling for Android.
parent
7255bc7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
build/android/Android.mk
build/android/Android.mk
+1
-1
src/voip/scaler.c
src/voip/scaler.c
+7
-7
No files found.
build/android/Android.mk
View file @
9dd1d963
...
...
@@ -228,7 +228,7 @@ LOCAL_CFLAGS += \
-include
$(LOCAL_PATH)
/../build/android/libmediastreamer2_AndroidConfig.h
\
-DMS2_INTERNAL
\
-DMS2_FILTERS
\
-D_POSIX_SOURCE
-Wall
-Werror
-Wno-error
=
strict-aliasing
-W
no-error
=
uninitialized
-D_POSIX_SOURCE
-Wall
-Werror
-Wno-error
=
strict-aliasing
-Wuninitialized
ifeq
($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_CFLAGS
+=
-DUSE_HARDWARE_RATE
=
1
...
...
src/voip/scaler.c
View file @
9dd1d963
...
...
@@ -123,13 +123,13 @@ static inline void yuv2rgb_4x2(const uint8_t *y1, const uint8_t *y2, const uint8
static
int32_t
yuvmax
[
4
]
=
{
255
<<
13
,
255
<<
13
,
255
<<
13
,
255
<<
13
};
static
inline
void
yuv2rgb_4x2
(
const
uint8_t
*
y1
,
const
uint8_t
*
y2
,
const
uint8_t
*
u
,
const
uint8_t
*
v
,
int16_t
*
r1
,
int16_t
*
g1
,
int16_t
*
b1
,
int16_t
*
r2
,
int16_t
*
g2
,
int16_t
*
b2
){
int32x4_t
ry1
;
int32x4_t
ry2
;
int32x4_t
rvug
;
int32x4_t
rvr
;
int32x4_t
rub
;
int32x4_t
rr1
,
rg1
,
rb1
,
rr2
,
rg2
,
rb2
;
int32x4_t
max
;
int32x4_t
ry1
=
{
0
}
;
int32x4_t
ry2
=
{
0
}
;
int32x4_t
rvug
=
{
0
}
;
int32x4_t
rvr
=
{
0
}
;
int32x4_t
rub
=
{
0
}
;
int32x4_t
rr1
=
{
0
},
rg1
=
{
0
},
rb1
=
{
0
},
rr2
=
{
0
},
rg2
=
{
0
},
rb2
=
{
0
}
;
int32x4_t
max
=
{
0
}
;
LOAD_Y_PREMULTS
(
0
)
LOAD_Y_PREMULTS
(
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment