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
cf50989e
Commit
cf50989e
authored
Apr 15, 2017
by
Angie Chiang
Browse files
Fix rd bug in av1_search_txk_type
Change-Id: I585999b1709303dee8d1c7bf626b5cd0ef36341c
parent
05917873
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/encodetxb.c
View file @
cf50989e
...
...
@@ -751,7 +751,8 @@ int64_t av1_search_txk_type(const AV1_COMP *cpi, MACROBLOCK *x, int plane,
get_scan
(
cm
,
tx_size
,
tx_type
,
is_inter_block
(
mbmi
));
this_rd_stats
.
rate
=
av1_cost_coeffs
(
cpi
,
x
,
plane
,
block
,
tx_size
,
scan_order
,
a
,
l
,
use_fast_coef_costing
);
int
rd
=
RDCOST
(
x
->
rdmult
,
x
->
rddiv
,
0
,
this_rd_stats
.
dist
);
int
rd
=
RDCOST
(
x
->
rdmult
,
x
->
rddiv
,
this_rd_stats
.
rate
,
this_rd_stats
.
dist
);
if
(
rd
<
best_rd
)
{
best_rd
=
rd
;
*
rd_stats
=
this_rd_stats
;
...
...
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