Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
3b411360
Commit
3b411360
authored
Sep 13, 2017
by
Tom Finegan
Browse files
Fix mips32 dspr2 build warnings.
Change-Id: Iadbb91ca1905318f094fdfae95f2c4db87943842
parent
7166f22a
Changes
6
Hide whitespace changes
Inline
Side-by-side
aom_dsp/mips/convolve8_avg_dspr2.c
View file @
3b411360
...
...
@@ -407,6 +407,11 @@ void aom_convolve_avg_dspr2(const uint8_t *src, ptrdiff_t src_stride,
uint32_t
tp1
,
tp2
,
tn1
;
uint32_t
tp3
,
tp4
,
tn2
;
(
void
)
filter_x
;
(
void
)
filter_x_stride
;
(
void
)
filter_y
;
(
void
)
filter_y_stride
;
/* prefetch data to cache memory */
prefetch_load
(
src
);
prefetch_load
(
src
+
32
);
...
...
aom_dsp/mips/convolve8_dspr2.c
View file @
3b411360
...
...
@@ -1304,6 +1304,8 @@ void aom_convolve8_dspr2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
int32_t
intermediate_height
=
((
h
*
y_step_q4
)
>>
4
)
+
7
;
uint32_t
pos
=
38
;
(
void
)
x_step_q4
;
assert
(
x_step_q4
==
16
);
assert
(
y_step_q4
==
16
);
assert
(((
const
int32_t
*
)
filter_x
)[
1
]
!=
0x800000
);
...
...
@@ -1400,6 +1402,11 @@ void aom_convolve_copy_dspr2(const uint8_t *src, ptrdiff_t src_stride,
int
w
,
int
h
)
{
int
x
,
y
;
(
void
)
filter_x
;
(
void
)
filter_x_stride
;
(
void
)
filter_y
;
(
void
)
filter_y_stride
;
/* prefetch data to cache memory */
prefetch_load
(
src
);
prefetch_load
(
src
+
32
);
...
...
aom_dsp/mips/intrapred16_dspr2.c
View file @
3b411360
...
...
@@ -17,6 +17,8 @@ void aom_h_predictor_16x16_dspr2(uint8_t *dst, ptrdiff_t stride,
int32_t
tmp1
,
tmp2
,
tmp3
,
tmp4
,
tmp5
,
tmp6
,
tmp7
,
tmp8
;
int32_t
tmp9
,
tmp10
,
tmp11
,
tmp12
,
tmp13
,
tmp14
,
tmp15
,
tmp16
;
(
void
)
above
;
__asm__
__volatile__
(
"lb %[tmp1], (%[left])
\n\t
"
"lb %[tmp2], 1(%[left])
\n\t
"
...
...
aom_dsp/mips/intrapred4_dspr2.c
View file @
3b411360
...
...
@@ -15,6 +15,7 @@
void
aom_h_predictor_4x4_dspr2
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
above
,
const
uint8_t
*
left
)
{
int32_t
tmp1
,
tmp2
,
tmp3
,
tmp4
;
(
void
)
above
;
__asm__
__volatile__
(
"lb %[tmp1], (%[left])
\n\t
"
...
...
aom_dsp/mips/intrapred8_dspr2.c
View file @
3b411360
...
...
@@ -15,6 +15,7 @@
void
aom_h_predictor_8x8_dspr2
(
uint8_t
*
dst
,
ptrdiff_t
stride
,
const
uint8_t
*
above
,
const
uint8_t
*
left
)
{
int32_t
tmp1
,
tmp2
,
tmp3
,
tmp4
,
tmp5
,
tmp6
,
tmp7
,
tmp8
;
(
void
)
above
;
__asm__
__volatile__
(
"lb %[tmp1], (%[left])
\n\t
"
...
...
aom_dsp/mips/inv_txfm_dspr2.h
View file @
3b411360
...
...
@@ -24,10 +24,12 @@ extern "C" {
#endif
#if HAVE_DSPR2
/* Note: this macro expects a local int32_t named out to exist, and will write
* to that variable. */
#define DCT_CONST_ROUND_SHIFT_TWICE_COSPI_16_64(input) \
({ \
\
int32_t tmp
, out;
\
int32_t tmp
;
\
int dct_cost_rounding = DCT_CONST_ROUNDING; \
int in = input; \
\
...
...
Write
Preview
Supports
Markdown
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