Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Options
Browse Files
Download
Email Patches
Plain Diff
Frame scaling prediction for highbitdepth pt 2
Change-Id: If878c33bb46c13216bd958c906f69d977066a144
parent
fd5ab960
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
av1/common/convolve.h
av1/common/convolve.h
+10
-0
av1/common/reconinter.h
av1/common/reconinter.h
+4
-6
No files found.
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
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