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
ab20c98e
Commit
ab20c98e
authored
Jul 30, 2015
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compute skippable inside the block_rd_txfm loop.
Change-Id: Iaa43aeeb7a2074495e00cdb83bb551c3f13d3ed2
parent
c62228f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_rdopt.c
+5
-1
No files found.
vp9/encoder/vp9_rdopt.c
View file @
ab20c98e
...
...
@@ -74,6 +74,7 @@ struct rdcost_block_args {
int
exit_early
;
int
use_fast_coef_costing
;
const
scan_order
*
so
;
uint8_t
skippable
;
};
#define LAST_NEW_MV_INDEX 6
...
...
@@ -544,6 +545,8 @@ static void block_rd_txfm(int plane, int block, BLOCK_SIZE plane_bsize,
args
->
exit_early
=
1
;
return
;
}
args
->
skippable
&=
!
x
->
plane
[
plane
].
eobs
[
block
];
}
static
void
txfm_rd_in_plane
(
MACROBLOCK
*
x
,
...
...
@@ -559,6 +562,7 @@ static void txfm_rd_in_plane(MACROBLOCK *x,
args
.
x
=
x
;
args
.
best_rd
=
ref_best_rd
;
args
.
use_fast_coef_costing
=
use_fast_coef_casting
;
args
.
skippable
=
1
;
if
(
plane
==
0
)
xd
->
mi
[
0
]
->
mbmi
.
tx_size
=
tx_size
;
...
...
@@ -578,7 +582,7 @@ static void txfm_rd_in_plane(MACROBLOCK *x,
*
distortion
=
args
.
this_dist
;
*
rate
=
args
.
this_rate
;
*
sse
=
args
.
this_sse
;
*
skippable
=
vp9_is_
skippable
_in_plane
(
x
,
bsize
,
plane
)
;
*
skippable
=
args
.
skippable
;
}
}
...
...
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