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
5e5bef6c
Commit
5e5bef6c
authored
Mar 05, 2016
by
Hui Su
Committed by
Gerrit Code Review
Mar 05, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Cleanup in get_uv_tx_size" into nextgenv2
parents
10cdeab4
c3c1c6f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
vp10/common/blockd.h
vp10/common/blockd.h
+2
-7
No files found.
vp10/common/blockd.h
View file @
5e5bef6c
...
...
@@ -580,17 +580,12 @@ static INLINE TX_SIZE get_uv_tx_size_impl(TX_SIZE y_tx_size, BLOCK_SIZE bsize,
static
INLINE
TX_SIZE
get_uv_tx_size
(
const
MB_MODE_INFO
*
mbmi
,
const
struct
macroblockd_plane
*
pd
)
{
#if CONFIG_SUPERTX
if
(
!
supertx_enabled
(
mbmi
))
{
return
get_uv_tx_size_impl
(
mbmi
->
tx_size
,
mbmi
->
sb_type
,
pd
->
subsampling_x
,
pd
->
subsampling_y
);
}
else
{
if
(
supertx_enabled
(
mbmi
))
return
uvsupertx_size_lookup
[
mbmi
->
tx_size
][
pd
->
subsampling_x
]
[
pd
->
subsampling_y
];
}
#else
#endif // CONFIG_SUPERTX
return
get_uv_tx_size_impl
(
mbmi
->
tx_size
,
mbmi
->
sb_type
,
pd
->
subsampling_x
,
pd
->
subsampling_y
);
#endif // CONFIG_SUPERTX
}
static
INLINE
BLOCK_SIZE
get_plane_block_size
(
BLOCK_SIZE
bsize
,
...
...
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