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
915512c5
Commit
915512c5
authored
Nov 20, 2017
by
Yaowu Xu
Browse files
Disable optimize when optimize is set to 0
BUG=aomedia:1036 Change-Id: I8444658957c6e19f0525e21c3918000a4097a729
parent
f559a47c
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/encodemb.c
View file @
915512c5
...
...
@@ -436,8 +436,8 @@ int av1_optimize_b(const AV1_COMMON *cm, MACROBLOCK *mb, int plane, int blk_row,
struct
macroblock_plane
*
const
p
=
&
mb
->
plane
[
plane
];
const
int
eob
=
p
->
eobs
[
block
];
assert
((
mb
->
qindex
==
0
)
^
(
xd
->
lossless
[
xd
->
mi
[
0
]
->
mbmi
.
segment_id
]
==
0
));
if
(
eob
==
0
)
return
eob
;
if
(
xd
->
lossless
[
xd
->
mi
[
0
]
->
mbmi
.
segment_id
])
return
eob
;
if
(
eob
==
0
||
!
mb
->
optimize
||
xd
->
lossless
[
xd
->
mi
[
0
]
->
mbmi
.
segment_id
])
return
eob
;
#if !CONFIG_LV_MAP
(
void
)
plane_bsize
;
...
...
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