Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
11f50441
Commit
11f50441
authored
Jul 26, 2009
by
Fiona Glaser
Browse files
Fix 10l in QPRD
Trellis used wrong lambda with trellis=1
parent
fa3b8139
Changes
1
Hide whitespace changes
Inline
Side-by-side
encoder/analyse.c
View file @
11f50441
...
...
@@ -268,7 +268,7 @@ static void x264_mb_analyse_init( x264_t *h, x264_mb_analysis_t *a, int i_qp )
a
->
i_lambda2
=
x264_lambda2_tab
[
i_qp
];
h
->
mb
.
b_trellis
=
h
->
param
.
analyse
.
i_trellis
>
1
&&
a
->
i_mbrd
;
if
(
h
->
mb
.
b
_trellis
)
if
(
h
->
param
.
analyse
.
i
_trellis
)
{
h
->
mb
.
i_trellis_lambda2
[
0
][
0
]
=
x264_trellis_lambda2_tab
[
0
][
h
->
mb
.
i_qp
];
h
->
mb
.
i_trellis_lambda2
[
0
][
1
]
=
x264_trellis_lambda2_tab
[
1
][
h
->
mb
.
i_qp
];
...
...
Write
Preview
Supports
Markdown
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