Skip to content
GitLab
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
7739752a
Commit
7739752a
authored
Jul 13, 2017
by
Debargha Mukherjee
Committed by
Urvang Joshi
Jul 13, 2017
Browse files
Frame scaling prediction for highbitdepth pt 2
Change-Id: If878c33bb46c13216bd958c906f69d977066a144
parent
fd5ab960
Changes
2
Hide whitespace changes
Inline
Side-by-side
av1/common/convolve.h
View file @
7739752a
...
...
@@ -127,6 +127,16 @@ void av1_highbd_convolve(const uint8_t *src, int src_stride, uint8_t *dst,
#endif
const
int
subpel_x
,
int
xstep
,
const
int
subpel_y
,
int
ystep
,
int
avg
,
int
bd
);
void
av1_highbd_convolve_scale
(
const
uint8_t
*
src
,
int
src_stride
,
uint8_t
*
dst
,
int
dst_stride
,
int
w
,
int
h
,
#if CONFIG_DUAL_FILTER
const
InterpFilter
*
interp_filter
,
#else
const
InterpFilter
interp_filter
,
#endif // CONFIG_DUAL_FILTER
const
int
subpel_x
,
int
xstep
,
const
int
subpel_y
,
int
ystep
,
int
avg
,
int
bd
);
#endif // CONFIG_HIGHBITDEPTH
#ifdef __cplusplus
...
...
av1/common/reconinter.h
View file @
7739752a
...
...
@@ -138,12 +138,10 @@ static INLINE void highbd_inter_predictor(const uint8_t *src, int src_stride,
#endif
if
(
has_scale
(
xs
,
ys
))
{
// TODO(afergs, debargha): Use a different scale convolve function
// that uses higher precision for subpel_x, subpel_y, xs, ys
av1_highbd_convolve
(
src
,
src_stride
,
dst
,
dst_stride
,
w
,
h
,
interp_filter
,
subpel_x
>>
SCALE_EXTRA_BITS
,
xs
>>
SCALE_EXTRA_BITS
,
subpel_y
>>
SCALE_EXTRA_BITS
,
ys
>>
SCALE_EXTRA_BITS
,
avg
,
bd
);
av1_highbd_convolve_scale
(
src
,
src_stride
,
dst
,
dst_stride
,
w
,
h
,
interp_filter
,
subpel_x
>>
SCALE_EXTRA_BITS
,
xs
>>
SCALE_EXTRA_BITS
,
subpel_y
>>
SCALE_EXTRA_BITS
,
ys
>>
SCALE_EXTRA_BITS
,
avg
,
bd
);
}
else
{
subpel_x
>>=
SCALE_EXTRA_BITS
;
subpel_y
>>=
SCALE_EXTRA_BITS
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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