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
52301a2d
Commit
52301a2d
authored
Nov 29, 2017
by
Luc Trudeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add macroblockd_plane variable to super_block_uvrd
Change-Id: I43da630aa38c1b77fd76e5ef1a8e07a3b2b4ba6b
parent
fc851cbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
av1/encoder/rdopt.c
av1/encoder/rdopt.c
+3
-3
No files found.
av1/encoder/rdopt.c
View file @
52301a2d
...
...
@@ -3538,7 +3538,8 @@ static int super_block_uvrd(const AV1_COMP *const cpi, MACROBLOCK *x,
int64_t ref_best_rd) {
MACROBLOCKD *const xd = &x->e_mbd;
MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi;
const TX_SIZE uv_tx_size = av1_get_uv_tx_size(mbmi, &xd->plane[1]);
struct macroblockd_plane *const pd = &xd->plane[AOM_PLANE_U];
const TX_SIZE uv_tx_size = av1_get_uv_tx_size(mbmi, pd);
int plane;
int is_cost_valid = 1;
av1_init_rd_stats(rd_stats);
...
...
@@ -3547,8 +3548,7 @@ static int super_block_uvrd(const AV1_COMP *const cpi, MACROBLOCK *x,
if (x->skip_chroma_rd) return is_cost_valid;
bsize = scale_chroma_bsize(bsize, xd->plane[1].subsampling_x,
xd->plane[1].subsampling_y);
bsize = scale_chroma_bsize(bsize, pd->subsampling_x, pd->subsampling_y);
if (is_inter_block(mbmi) && is_cost_valid) {
for (plane = 1; plane < MAX_MB_PLANE; ++plane)
...
...
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