Skip to content
GitLab
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
1ff4a5b3
Commit
1ff4a5b3
authored
Mar 13, 2014
by
Jingning Han
Committed by
Gerrit Code Review
Mar 13, 2014
Browse files
Merge "Tune rate-distortion modeling for non-RD mode decision"
parents
b25e4061
7686c950
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_pickmode.c
View file @
1ff4a5b3
...
...
@@ -207,14 +207,14 @@ static void model_rd_for_sb_y(VP9_COMP *cpi, BLOCK_SIZE bsize,
struct
macroblockd_plane
*
const
pd
=
&
xd
->
plane
[
0
];
const
BLOCK_SIZE
bs
=
get_plane_block_size
(
bsize
,
pd
);
(
void
)
cpi
->
fn_ptr
[
bs
].
vf
(
p
->
src
.
buf
,
p
->
src
.
stride
,
pd
->
dst
.
buf
,
pd
->
dst
.
stride
,
&
sse
);
int
var
=
cpi
->
fn_ptr
[
bs
].
vf
(
p
->
src
.
buf
,
p
->
src
.
stride
,
pd
->
dst
.
buf
,
pd
->
dst
.
stride
,
&
sse
);
vp9_model_rd_from_var_lapndz
(
sse
,
1
<<
num_pels_log2_lookup
[
bs
],
vp9_model_rd_from_var_lapndz
(
var
+
sse
,
1
<<
num_pels_log2_lookup
[
bs
],
pd
->
dequant
[
1
]
>>
3
,
&
rate
,
&
dist
);
*
out_rate_sum
=
rate
;
*
out_dist_sum
=
dist
<<
4
;
*
out_dist_sum
=
dist
<<
3
;
}
// TODO(jingning) placeholder for inter-frame non-RD mode decision.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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