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
b8f49105
Commit
b8f49105
authored
Jun 21, 2017
by
Frederic Barbier
Committed by
Urvang Joshi
Jun 21, 2017
Browse files
Cleanup dead code
Change-Id: I300b45f051e49d54860733d19f722645e6c3cad6
parent
8c9bcdfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
av1/common/warped_motion.c
View file @
b8f49105
...
...
@@ -281,29 +281,6 @@ void project_points_homography(const int32_t *mat, int *points, int *proj,
}
}
// 'points' are at original scale, output 'proj's are scaled up by
// 1 << WARPEDPIXEL_PREC_BITS
void
project_points
(
const
WarpedMotionParams
*
wm_params
,
int
*
points
,
int
*
proj
,
const
int
n
,
const
int
stride_points
,
const
int
stride_proj
,
const
int
subsampling_x
,
const
int
subsampling_y
)
{
switch
(
wm_params
->
wmtype
)
{
case
AFFINE
:
project_points_affine
(
wm_params
->
wmmat
,
points
,
proj
,
n
,
stride_points
,
stride_proj
,
subsampling_x
,
subsampling_y
);
break
;
case
ROTZOOM
:
project_points_rotzoom
(
wm_params
->
wmmat
,
points
,
proj
,
n
,
stride_points
,
stride_proj
,
subsampling_x
,
subsampling_y
);
break
;
case
HOMOGRAPHY
:
project_points_homography
(
wm_params
->
wmmat
,
points
,
proj
,
n
,
stride_points
,
stride_proj
,
subsampling_x
,
subsampling_y
);
break
;
default:
assert
(
0
&&
"Invalid warped motion type!"
);
return
;
}
}
static
const
int16_t
filter_ntap
[
WARPEDPIXEL_PREC_SHIFTS
][
WARPEDPIXEL_FILTER_TAPS
]
=
{
#if WARPEDPIXEL_PREC_BITS == 6
...
...
av1/common/warped_motion.h
View file @
b8f49105
...
...
@@ -69,10 +69,6 @@ void project_points_homography(const int32_t *mat, int *points, int *proj,
const
int
stride_proj
,
const
int
subsampling_x
,
const
int
subsampling_y
);
void
project_points
(
const
WarpedMotionParams
*
wm_params
,
int
*
points
,
int
*
proj
,
const
int
n
,
const
int
stride_points
,
const
int
stride_proj
,
const
int
subsampling_x
,
const
int
subsampling_y
);
// Returns the error between the result of applying motion 'wm' to the frame
// described by 'ref' and the frame described by 'dst'.
int64_t
av1_warp_error
(
WarpedMotionParams
*
wm
,
...
...
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