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
406404af
Commit
406404af
authored
Sep 03, 2014
by
Dmitry Kovalev
Committed by
Gerrit Code Review
Sep 03, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Small cleanup: reusing existing code."
parents
c9448ade
a7ccc129
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vp9/encoder/vp9_pickmode.c
vp9/encoder/vp9_pickmode.c
+2
-2
No files found.
vp9/encoder/vp9_pickmode.c
View file @
406404af
...
...
@@ -394,7 +394,7 @@ static void estimate_block_intra(int plane, int block, BLOCK_SIZE plane_bsize,
args
->
dist
+=
dist
;
}
static
const
THR_MODES
mode_idx
[
MAX_REF_FRAMES
-
1
][
4
]
=
{
static
const
THR_MODES
mode_idx
[
MAX_REF_FRAMES
-
1
][
INTER_MODES
]
=
{
{
THR_NEARESTMV
,
THR_NEARMV
,
THR_ZEROMV
,
THR_NEWMV
},
{
THR_NEARESTG
,
THR_NEARG
,
THR_ZEROG
,
THR_NEWG
},
{
THR_NEARESTA
,
THR_NEARA
,
THR_ZEROA
,
THR_NEWA
},
...
...
@@ -547,7 +547,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
continue
;
mode_rd_thresh
=
rd_threshes
[
mode_idx
[
ref_frame
-
LAST_FRAME
]
[
this_mode
-
NEARESTMV
]];
[
INTER_OFFSET
(
this_mode
)
]];
if
(
rd_less_than_thresh
(
best_rd
,
mode_rd_thresh
,
rd_thresh_freq_fact
[
this_mode
]))
continue
;
...
...
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