Skip to content
GitLab
Menu
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
93af45fc
Commit
93af45fc
authored
Oct 23, 2017
by
Angie Chiang
Browse files
Avoid using gen_txb_cache when eob_first is on
Change-Id: Ib5e79caa67ba6a061e8dc22491c86cde702be137
parent
0d04f573
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/encodetxb.c
View file @
93af45fc
...
...
@@ -2400,11 +2400,15 @@ int av1_optimize_txb(const AV1_COMMON *cm, MACROBLOCK *x, int plane,
rdmult
,
&
cm
->
coeff_ctx_table
};
#if CONFIG_EOB_FIRST
const
int
update
=
optimize_txb
(
&
txb_info
,
&
txb_costs
,
NULL
,
0
,
fast_mode
);
#else
TxbCache
txb_cache
;
gen_txb_cache
(
&
txb_cache
,
&
txb_info
);
const
int
update
=
optimize_txb
(
&
txb_info
,
&
txb_costs
,
&
txb_cache
,
0
,
fast_mode
);
#endif
if
(
update
)
p
->
eobs
[
block
]
=
txb_info
.
eob
;
return
txb_info
.
eob
;
}
...
...
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