Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
ae9ec67d
Commit
ae9ec67d
authored
Jan 11, 2018
by
Hui Su
Committed by
Fred BARBIER
Jan 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code simplification
Change-Id: I2a9e16bf337a91219fc2aa10937d3cd1dfa67a71
parent
fbb75a99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
av1/encoder/rdopt.c
av1/encoder/rdopt.c
+4
-4
No files found.
av1/encoder/rdopt.c
View file @
ae9ec67d
...
...
@@ -3953,8 +3953,8 @@ static void select_inter_block_yrd(const AV1_COMP *cpi, MACROBLOCK *x,
if (is_cost_valid) {
const struct macroblockd_plane *const pd = &xd->plane[0];
const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd);
const int mi_width =
block
_size_wide[plane_bsize]
>> tx_size_wide_log2[0]
;
const int mi_height =
block
_size_high[plane_bsize]
>> tx_size_high_log2[0]
;
const int mi_width =
mi
_size_wide[plane_bsize];
const int mi_height =
mi
_size_high[plane_bsize];
const TX_SIZE max_tx_size = get_max_rect_tx_size(plane_bsize, 1);
const int bh = tx_size_high_unit[max_tx_size];
const int bw = tx_size_wide_unit[max_tx_size];
...
...
@@ -4201,8 +4201,8 @@ int inter_block_yrd(const AV1_COMP *cpi, MACROBLOCK *x, RD_STATS *rd_stats,
if (is_cost_valid) {
const struct macroblockd_plane *const pd = &xd->plane[0];
const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd);
const int mi_width =
block
_size_wide[plane_bsize]
>> tx_size_wide_log2[0]
;
const int mi_height =
block
_size_high[plane_bsize]
>> tx_size_high_log2[0]
;
const int mi_width =
mi
_size_wide[plane_bsize];
const int mi_height =
mi
_size_high[plane_bsize];
const TX_SIZE max_tx_size = get_vartx_max_txsize(
xd, plane_bsize, pd->subsampling_x || pd->subsampling_y);
const int bh = tx_size_high_unit[max_tx_size];
...
...
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