Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
44aac61c
Commit
44aac61c
authored
Jul 22, 2016
by
Yaowu Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add and remove explicit type conversions
Change-Id: I8b791fda7c64a0363549add99dc9fcae3b29beae
parent
3826383c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
vp10/common/vp10_inv_txfm.h
vp10/common/vp10_inv_txfm.h
+2
-2
vpx_dsp/inv_txfm.h
vpx_dsp/inv_txfm.h
+2
-2
No files found.
vp10/common/vp10_inv_txfm.h
View file @
44aac61c
...
...
@@ -120,13 +120,13 @@ void vp10_highbd_iadst16_c(const tran_low_t *input, tran_low_t *output, int bd);
static
INLINE
uint16_t
highbd_clip_pixel_add
(
uint16_t
dest
,
tran_high_t
trans
,
int
bd
)
{
trans
=
HIGHBD_WRAPLOW
(
trans
,
bd
);
return
clip_pixel_highbd
(
dest
+
trans
,
bd
);
return
clip_pixel_highbd
(
dest
+
(
int
)
trans
,
bd
);
}
#endif
static
INLINE
uint8_t
clip_pixel_add
(
uint8_t
dest
,
tran_high_t
trans
)
{
trans
=
WRAPLOW
(
trans
);
return
clip_pixel
(
dest
+
trans
);
return
clip_pixel
(
dest
+
(
int
)
trans
);
}
#ifdef __cplusplus
}
// extern "C"
...
...
vpx_dsp/inv_txfm.h
View file @
44aac61c
...
...
@@ -37,7 +37,7 @@ static INLINE tran_high_t check_range(tran_high_t input) {
static
INLINE
tran_high_t
dct_const_round_shift
(
tran_high_t
input
)
{
tran_high_t
rv
=
ROUND_POWER_OF_TWO
(
input
,
DCT_CONST_BITS
);
return
(
tran_high_t
)
rv
;
return
rv
;
}
#if CONFIG_VP9_HIGHBITDEPTH
...
...
@@ -61,7 +61,7 @@ static INLINE tran_high_t highbd_check_range(tran_high_t input,
static
INLINE
tran_high_t
highbd_dct_const_round_shift
(
tran_high_t
input
)
{
tran_high_t
rv
=
ROUND_POWER_OF_TWO
(
input
,
DCT_CONST_BITS
);
return
(
tran_high_t
)
rv
;
return
rv
;
}
#endif // CONFIG_VP9_HIGHBITDEPTH
...
...
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