Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
83d72790
Commit
83d72790
authored
Sep 29, 2017
by
Angie Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix optimize_txb test
Change-Id: I179037007c3f0e35ef66b0dcad84540f7d8cf098
parent
0b2795c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
av1/encoder/encodetxb.c
av1/encoder/encodetxb.c
+2
-2
No files found.
av1/encoder/encodetxb.c
View file @
83d72790
...
...
@@ -1589,7 +1589,7 @@ static int try_level_down_ref(int coeff_idx, const LV_MAP_COEFF_COST *txb_costs,
int
nb_coeff_idx
=
nb_row
*
txb_info
->
stride
+
nb_col
;
int
nb_scan_idx
=
txb_info
->
scan_order
->
iscan
[
nb_coeff_idx
];
if
(
nb_scan_idx
<
txb_info
->
eob
&&
nb_row
>=
0
&&
nb_col
>=
0
&&
nb_row
<
txb_info
->
stride
&&
nb_col
<
txb_info
->
stride
)
{
nb_row
<
txb_info
->
height
&&
nb_col
<
txb_info
->
stride
)
{
tran_low_t
nb_coeff
=
txb_info
->
qcoeff
[
nb_coeff_idx
];
int
cost
=
get_coeff_cost
(
nb_coeff
,
nb_scan_idx
,
txb_info
,
txb_costs
);
if
(
cost_map
)
...
...
@@ -1606,7 +1606,7 @@ static int try_level_down_ref(int coeff_idx, const LV_MAP_COEFF_COST *txb_costs,
int
nb_coeff_idx
=
nb_row
*
txb_info
->
stride
+
nb_col
;
int
nb_scan_idx
=
txb_info
->
scan_order
->
iscan
[
nb_coeff_idx
];
if
(
nb_scan_idx
<
txb_info
->
eob
&&
nb_row
>=
0
&&
nb_col
>=
0
&&
nb_row
<
txb_info
->
stride
&&
nb_col
<
txb_info
->
stride
)
{
nb_row
<
txb_info
->
height
&&
nb_col
<
txb_info
->
stride
)
{
tran_low_t
nb_coeff
=
txb_info
->
qcoeff
[
nb_coeff_idx
];
int
cost
=
get_coeff_cost
(
nb_coeff
,
nb_scan_idx
,
txb_info
,
txb_costs
);
if
(
cost_map
)
...
...
Write
Preview
Markdown
is supported
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