Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
ae51dd82
Commit
ae51dd82
authored
Oct 18, 2016
by
Sarah Parker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust gm costing so GLOBAL_ZERO is treated as regular zeromv
Change-Id: I1b41146ae844c985566f5f9fdaeb5d4a4a5927b6
parent
40f1d487
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
av1/encoder/rdopt.c
av1/encoder/rdopt.c
+1
-1
No files found.
av1/encoder/rdopt.c
View file @
ae51dd82
...
...
@@ -4137,7 +4137,7 @@ static int get_gmbitcost(const Global_Motion_Params *gm,
bits =
(gm->motion_params.wmmat[0].as_int ? ((GM_ABS_TRANS_BITS + 1) * 2) : 0);
}
return (bits << AV1_PROB_COST_SHIFT) + gmtype_cost[gm->gmtype];
return
bits ?
(bits << AV1_PROB_COST_SHIFT) + gmtype_cost[gm->gmtype]
: 0
;
}
#define GLOBAL_MOTION_RATE(ref) \
...
...
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