Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
09fb253b
Commit
09fb253b
authored
Oct 22, 2012
by
Ronald S. Bultje
Committed by
Gerrit Code Review
Oct 22, 2012
Browse files
Merge "Invert SB probability." into experimental
parents
8fc5774f
ef50e483
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/bitstream.c
View file @
09fb253b
...
...
@@ -2561,7 +2561,7 @@ void vp8_pack_bitstream(VP8_COMP *cpi, unsigned char *dest, unsigned long *size)
/* sb mode probability */
const
int
sb_max
=
(((
pc
->
mb_rows
+
1
)
>>
1
)
*
((
pc
->
mb_cols
+
1
)
>>
1
));
pc
->
sb_coded
=
get_prob
(
cpi
->
sb_count
,
sb_max
);
pc
->
sb_coded
=
get_prob
(
sb_max
-
cpi
->
sb_count
,
sb_max
);
vp8_write_literal
(
&
header_bc
,
pc
->
sb_coded
,
8
);
}
#endif
...
...
Write
Preview
Supports
Markdown
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