Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
a4279138
Commit
a4279138
authored
May 01, 2013
by
Jingning Han
Committed by
Gerrit Code Review
May 01, 2013
Browse files
Merge "Fix bugs in sb8x8 experiment/context prob update" into experimental
parents
abb66ef0
b8decb03
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_blockd.h
View file @
a4279138
...
...
@@ -453,7 +453,7 @@ typedef struct macroblockd {
static
INLINE
void
update_partition_context
(
MACROBLOCKD
*
xd
,
BLOCK_SIZE_TYPE
sb_type
,
BLOCK_SIZE_TYPE
sb_size
)
{
int
bsl
=
mi_width_log2
(
sb_size
),
bs
=
1
<<
bsl
;
int
bsl
=
mi_width_log2
(
sb_size
),
bs
;
int
bwl
=
mi_width_log2
(
sb_type
);
int
bhl
=
mi_height_log2
(
sb_type
);
int
boffset
=
mi_width_log2
(
BLOCK_SIZE_SB64X64
)
-
bsl
;
...
...
@@ -462,6 +462,12 @@ static INLINE void update_partition_context(MACROBLOCKD *xd,
if
(
bsl
==
0
)
return
;
#if CONFIG_SB8X8
bs
=
1
<<
(
bsl
-
1
);
#else
bs
=
1
<<
bsl
;
#endif
// update the partition context at the end notes. set partition bits
// of block sizes larger than the current one to be one, and partition
// bits of smaller block sizes to be zero.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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