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
30ba4b41
Commit
30ba4b41
authored
Feb 22, 2017
by
emilkeyder@google.com
Committed by
Emil Keyder
Feb 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some includes in global_motion.{c,h}.
Change-Id: I288890b964fda354ac58939f3a6b54a33f40666d
parent
043de633
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
av1/encoder/global_motion.c
av1/encoder/global_motion.c
+12
-0
av1/encoder/global_motion.h
av1/encoder/global_motion.h
+3
-9
No files found.
av1/encoder/global_motion.c
View file @
30ba4b41
...
...
@@ -15,6 +15,8 @@
#include <math.h>
#include <assert.h>
#include "av1/encoder/global_motion.h"
#include "av1/common/warped_motion.h"
#include "av1/encoder/segmentation.h"
...
...
@@ -30,6 +32,16 @@
// Border over which to compute the global motion
#define ERRORADV_BORDER 0
const
double
gm_advantage_thresh
[
TRANS_TYPES
]
=
{
1
.
00
,
// Identity (not used)
0
.
85
,
// Translation
0
.
75
,
// Rot zoom
0
.
65
,
// Affine
0
.
65
,
// Hor Trapezoid
0
.
65
,
// Ver Trapezoid
0
.
50
,
// Homography
};
void
convert_to_params
(
const
double
*
params
,
int32_t
*
model
)
{
int
i
;
int
alpha_present
=
0
;
...
...
av1/encoder/global_motion.h
View file @
30ba4b41
...
...
@@ -13,20 +13,14 @@
#define AV1_ENCODER_GLOBAL_MOTION_H_
#include "aom/aom_integer.h"
#include "aom_scale/yv12config.h"
#include "av1/common/mv.h"
#ifdef __cplusplus
extern
"C"
{
#endif
const
double
gm_advantage_thresh
[
TRANS_TYPES
]
=
{
1
.
00
,
// Identity (not used)
0
.
85
,
// Translation
0
.
75
,
// Rot zoom
0
.
65
,
// Affine
0
.
65
,
// Hor Trapezoid
0
.
65
,
// Ver Trapezoid
0
.
50
,
// Homography
};
extern
const
double
gm_advantage_thresh
[
TRANS_TYPES
];
void
convert_to_params
(
const
double
*
params
,
int32_t
*
model
);
...
...
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