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
Guillaume Martres
aom-rav1e
Commits
be6ae205
Commit
be6ae205
authored
Oct 10, 2013
by
Jingning Han
Committed by
Gerrit Code Review
Oct 10, 2013
Browse files
Merge "Fix intra dist model of skip_encode feature"
parents
4793324c
013db649
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
be6ae205
...
...
@@ -573,9 +573,9 @@ static void dist_block(int plane, int block, TX_SIZE tx_size, void *arg) {
xd
->
this_mi
->
mbmi
.
ref_frame
[
0
]
==
INTRA_FRAME
)
{
// TODO(jingning): tune the model to better capture the distortion.
int64_t
p
=
(
pd
->
dequant
[
1
]
*
pd
->
dequant
[
1
]
*
(
1
<<
ss_txfrm_size
))
>>
shift
;
args
->
dist
[
block
]
=
p
;
args
->
sse
[
block
]
=
p
;
(
1
<<
ss_txfrm_size
))
>>
(
shift
+
2
)
;
args
->
dist
[
block
]
+
=
(
p
>>
4
)
;
args
->
sse
[
block
]
+
=
p
;
}
}
...
...
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