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
28041804
Commit
28041804
authored
May 06, 2013
by
John Koleszar
Committed by
Gerrit Code Review
May 06, 2013
Browse files
Merge "Removing 3 unused bits from bitstream." into experimental
parents
2b1a0b68
f7c81ccf
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_decodframe.c
View file @
28041804
...
...
@@ -1246,8 +1246,6 @@ int vp9_decode_frame(VP9D_COMP *pbi, const uint8_t **p_data_end) {
setup_loopfilter
(
pc
,
xd
,
&
header_bc
);
vp9_read_literal
(
&
header_bc
,
2
);
// unused
setup_quantization
(
pbi
,
&
header_bc
);
// Determine if the golden frame or ARF buffer should be updated and how.
...
...
@@ -1343,11 +1341,8 @@ int vp9_decode_frame(VP9D_COMP *pbi, const uint8_t **p_data_end) {
vp9_setup_block_dptrs
(
xd
);
// clear out the coeff buffer
vpx_memset
(
xd
->
plane
[
0
].
qcoeff
,
0
,
sizeof
(
xd
->
plane
[
0
].
qcoeff
));
vpx_memset
(
xd
->
plane
[
1
].
qcoeff
,
0
,
sizeof
(
xd
->
plane
[
1
].
qcoeff
));
vpx_memset
(
xd
->
plane
[
2
].
qcoeff
,
0
,
sizeof
(
xd
->
plane
[
2
].
qcoeff
));
vp9_read_bit
(
&
header_bc
);
// unused
for
(
i
=
0
;
i
<
MAX_MB_PLANE
;
++
i
)
vp9_zero
(
xd
->
plane
[
i
].
qcoeff
);
vp9_decode_mode_mvs_init
(
pbi
,
&
header_bc
);
...
...
vp9/encoder/vp9_bitstream.c
View file @
28041804
...
...
@@ -1930,9 +1930,6 @@ void vp9_pack_bitstream(VP9_COMP *cpi, uint8_t *dest, unsigned long *size) {
}
}
// TODO(jkoleszar): remove these unused bits
vp9_write_literal
(
&
header_bc
,
0
,
2
);
// Frame Q baseline quantizer index
vp9_write_literal
(
&
header_bc
,
pc
->
base_qindex
,
QINDEX_BITS
);
...
...
@@ -2178,9 +2175,6 @@ void vp9_pack_bitstream(VP9_COMP *cpi, uint8_t *dest, unsigned long *size) {
active_section
=
2
;
#endif
// TODO(jkoleszar): remove this unused bit
vp9_write_bit
(
&
header_bc
,
1
);
vp9_update_skip_probs
(
cpi
);
for
(
i
=
0
;
i
<
MBSKIP_CONTEXTS
;
++
i
)
{
vp9_write_prob
(
&
header_bc
,
pc
->
mbskip_pred_probs
[
i
]);
...
...
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